joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4193f4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push esi
push edi
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004193be
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x419537
push dword [ebp + 0x10]
push dword [ebp - 4]
call fcn.0041953e
mov dword [ebp - 8], eax
or eax, eax
je 0x419537
push 0x40
push 0x1000
push 0x30
push 0
call sub.KERNEL32.dll_VirtualAlloc
or eax, eax
jne 0x419447
jmp 0x419537
mov esi, dword [ebp - 8]
mov ebx, eax
mov edi, dword [ebp + 8]
push dword [esi + 8]
pop dword [edi + 0x18]
push dword [esi + 8]
pop dword [ebx + 8]
push dword [esi + 0xc]
pop dword [ebx + 0xc]
cmp dword [edi + 0x14], 0
jne 0x41946d
push dword [esi + 8]
pop dword [edi + 0x14]
cmp dword [edi + 8], 0
jne 0x419478
mov dword [edi + 8], ebx
jmp 0x419480
mov esi, dword [edi + 0xc]
mov dword [esi], ebx
mov dword [ebx + 4], esi
mov dword [edi + 0xc], ebx
inc dword [edi + 0x10]
push dword [edi + 0x10]
pop dword [ebx + 0x28]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
add eax, dword [edi + 0x20]
add eax, 0x50
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
sub eax, 0x50
mov dword [ebp - 0xc], eax
push dword [esi + 0x14]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0x18]
call fcn.0041a91d
mov eax, dword [ebp - 0xc]
sub dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x419537
inc dword [ebp - 0x10]
push str._...
call sub.KERNEL32.dll_lstrlenA
mov dword [ebp - 0x18], eax
add eax, dword [ebp - 0x10]
push 0x40
push 0x1000
push eax
push 0
call sub.KERNEL32.dll_VirtualAlloc
or eax, eax
jne 0x4194eb
jmp 0x419537
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
dec eax
push eax
push dword [ebx + 0x1c]
push dword [ebp - 0x14]
call fcn.0042b270
push str._...
push dword [ebx + 0x1c]
call sub.KERNEL32.dll_lstrcatA
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0xc]
mov dword [ebx + 0x20], eax
add eax, dword [edi + 0x20]
push dword [edi + 0x20]
pop dword [ebx + 0x24]
cmp eax, dword [ebp - 0x10]
jbe 0x419531
sub eax, dword [ebp - 0x10]
sub dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x18]
add dword [ebx + 0x24], eax
pop ebx
pop edi
pop esi
leave
ret 0xc
Function at 0x4196bc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push edi
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x4196d5
jmp 0x419760
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x14], 1
jne 0x4196f9
add eax, dword [ebp + 0xc]
dec eax
cmp byte [eax], 0x20
je 0x4196f6
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], eax
inc dword [ebp - 8]
push 0x40
push 0x1000
push dword [ebp - 8]
push 0
call sub.KERNEL32.dll_VirtualAlloc
or eax, eax
je 0x419760
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x24], 0
je 0x419735
push dword [edi + 0x24]
push eax
call sub.KERNEL32.dll_lstrcpyA
push 0x8000
push 0
push dword [edi + 0x24]
call sub.KERNEL32.dll_VirtualFree
push dword [ebp - 0x10]
pop dword [edi + 0x24]
push dword [ebp + 0xc]
push dword [edi + 0x24]
call sub.KERNEL32.dll_lstrcatA
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0xc]
jae 0x419757
add eax, dword [edi + 0x24]
add eax, dword [edi + 0x28]
mov byte [eax], 0x20
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
add dword [edi + 0x28], eax
mov eax, dword [ebp - 4]
pop edi
leave
ret 0x10

Function at 0x419935
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push esi
push edi
mov dword [ebp - 0xc], 0
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x14]
cmp dword [edi + 0x18], 0
jne 0x419955
jmp 0x4199d7
push dword [edi + 0x14]
call fcn.0040f832
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x18]
cmp dword [esi + 0x24], 1
jne 0x41996b
shl eax, 1
add eax, 2
mov dword [ebp - 8], eax
push 0x40
push 0x1000
push dword [ebp - 8]
push 0
call sub.KERNEL32.dll_VirtualAlloc
or eax, eax
jne 0x419988
jmp 0x4199d7
mov dword [ebp - 0xc], eax
cmp dword [esi + 0x24], 1
jne 0x4199c9
push 0
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [edi + 0x18]
push dword [ebp - 4]
push 0
push dword [esi + 0x28]
call sub.KERNEL32.dll_WideCharToMultiByte
or eax, eax
jne 0x4199d7
push 0x8000
push 0
push dword [ebp - 0xc]
call sub.KERNEL32.dll_VirtualFree
mov dword [ebp - 0xc], 0
jmp 0x4199d7
push dword [edi + 0x18]
push dword [ebp - 0xc]
push dword [ebp - 4]
call fcn.0042b270
mov eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret 4

Function at 0x419f33
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push esi
push edi
mov esi, dword [ebp + 8]
push 0x40
push 0x1000
push dword [ebp + 0xc]
push 0
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 4], eax
or eax, eax
je 0x419f73
mov edi, eax
cmp dword [esi + 4], 0
jne 0x419f62
mov dword [esi], eax
jmp 0x419f6d
push dword [esi + 4]
pop dword [edi + 4]
mov edi, dword [esi + 4]
mov dword [edi], eax
mov dword [esi + 4], eax
inc dword [esi + 8]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8
Function at 0x41a9a5
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push ecx
mov eax, dword [ebp + 0x10]
cmp eax, 0
je 0x41abfc
js 0x41abfc
shl eax, 2
push 0x40
push 0x1000
push eax
push 0
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 0xc], eax
or eax, eax
jne 0x41a9de
jmp 0x41abfc
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
push dword [esi + 0x1c]
pop dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], 0
jmp 0x41abdf
mov ebx, 0
mov bl, byte [eax]
cmp bl, 0x20
jne 0x41aa28
push dword [ebp - 4]
pop dword [ebp - 0x14]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x18]
je 0x41aa28
mov dword [esi + 0x24], 1
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
shl eax, 2
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
push eax
push dword [ebp - 8]
push dword [ebp - 8]
push dword [esi + 0x10]
call sub.GDI32.dll_GetCharWidth32A
or eax, eax
jne 0x41aa4f
jmp 0x41abfc
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
pop dword [ebp - 0x30]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
lea eax, [eax + eax*2]
shr eax, 1
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 8]
sub eax, dword [ebp - 0x30]
cmp dword [ebp - 0x2c], eax
jbe 0x41abd6
push dword [ebp - 0x18]
pop dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
add eax, dword [ebp + 0xc]
cmp byte [eax], 0x20
je 0x41aa94
cmp byte [eax + 1], 0x20
jne 0x41aaa9
push dword [ebp - 4]
pop dword [ebp - 0x18]
call fcn.0041aabb
call fcn.0041ab31
jmp 0x41abb9
cmp dword [ebp - 0x14], 0
jbe 0x41ab90
push dword [ebp - 0x14]
pop dword [ebp - 0x18]
jmp 0x41ab1b
call fcn.0041aabb
inc dword [ebp - 0x18]
push dword [ebp - 0x18]
pop dword [ebp - 0x1c]
push dword [ebp - 4]
pop dword [ebp - 0x18]
jmp 0x41ab58
call fcn.0041ab31
call fcn.0041aabb
jmp 0x41ab8e
jmp 0x41abb9
push dword [ebp - 4]
pop dword [ebp - 0x18]
cmp dword [esi + 0x24], 1
jne 0x41abaf
call fcn.0041ab31
call fcn.0041aabb
mov dword [esi + 0x24], 0
jmp 0x41abb9
call fcn.0041aabb
call fcn.0041ab31
inc dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
push dword [esi + 0x1c]
pop dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0
jne 0x41abd6
mov dword [esi + 0x24], 0
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add eax, dword [ebp + 0xc]
cmp byte [eax], 0
jne 0x41aa07
push dword [ebp - 0x18]
pop dword [ebp - 0x1c]
push dword [ebp - 4]
pop dword [ebp - 0x18]
dec dword [ebp - 0x18]
call fcn.0041aabb
Function at 0x41b126
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push edi
push ebx
push esi
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x41afe5
push dword [ebp + 0xc]
lea eax, [edi + 0x28]
push eax
call fcn.0041b3f7
or eax, eax
jne 0x41b14f
jmp 0x41b2ec
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041b37a
or eax, eax
jne 0x41b16c
jmp 0x41b2ec
mov ebx, eax
mov dword [ebx + 0x14], 0x23
push 0x40
push 0x1000
push 0x30
push 0
call sub.KERNEL32.dll_VirtualAlloc
or eax, eax
jne 0x41b18e
jmp 0x41b2ec
mov dword [ebx + 0x3c], eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push dword [esi + 0x28]
call fcn.0042abe0
mov dword [ebp - 0xc], ebx
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041b37a
or eax, eax
jne 0x41b1bc
jmp 0x41b2ec
mov ebx, eax
mov dword [ebx + 0x14], 0x64
mov eax, dword [ebx + 0xc]
add eax, dword [edi + 0x5c]
sub eax, dword [ebx + 0x14]
mov dword [ebx + 0xc], eax
push 0x40
push 0x1000
push 0x30
push 0
call sub.KERNEL32.dll_VirtualAlloc
or eax, eax
jne 0x41b1ea
jmp 0x41b2ec
mov dword [ebx + 0x3c], eax
mov dword [ebp - 8], eax
push str.Page
push dword [ebx + 0x3c]
call sub.KERNEL32.dll_lstrcpyA
push str.Page
call sub.KERNEL32.dll_lstrlenA
add dword [ebp - 8], eax
push dword [ebp - 8]
push dword [esi + 0xc]
call fcn.0042abe0
mov dword [ebx + 0x38], 1
mov dword [ebp - 0x10], ebx
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041b37a
or eax, eax
jne 0x41b239
jmp 0x41b2ec
mov ebx, eax
push ebx
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 0xc]
add eax, dword [ebx + 0x14]
pop ebx
mov dword [ebx + 0xc], eax
push ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0xc]
pop ebx
sub eax, dword [ebx + 0xc]
mov dword [ebx + 0x14], eax
push dword [edi + 0x1c]
pop dword [ebx + 0x44]
push dword [edi + 0x20]
pop dword [ebx + 0x48]
push esi
call fcn.0041b2f3
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], 1
cmp dword [esi + 0x2c], 1
jne 0x41b282
mov dword [ebx + 0x68], 0x8000ff
jmp 0x41b289
mov dword [ebx + 0x68], 0xff0000
mov dword [ebx + 0x6c], 1
mov dword [ebx + 0x5c], 0x3b8
mov dword [ebx + 0x60], 3
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041b37a
or eax, eax
jne 0x41b2b5
jmp 0x41b2ec
mov ebx, eax
push ebx
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x18]
pop ebx
mov dword [ebx + 0x10], eax
push dword [edi + 0x5c]
pop dword [ebx + 0x14]
push dword [edi + 0x64]
pop dword [ebx + 0x18]
mov eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x18]
mov dword [edi + 0x54], eax
push dword [edi + 0x1c]
pop dword [ebx + 0x44]
push dword [edi + 0x20]
pop dword [ebx + 0x48]
push dword [esi + 0x1c]
pop dword [ebx + 0x3c]
pop esi
pop ebx
pop edi
leave
ret 0xc
Function at 0x41b2f3
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], 0
mov eax, dword [edi + 0x20]
sub eax, 0x14
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x20]
add eax, dword [edi + 0x24]
add eax, 0x14
mov dword [ebp - 8], eax
push dword [edi + 0x1c]
call sub.KERNEL32.dll_lstrlenA
mov dword [ebp - 0xc], eax
push dword [edi + 0x1c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
call fcn.0041a91d
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jae 0x41b341
jmp 0x41b372
sub eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
inc eax
push 0x40
push 0x1000
push eax
push 0
call sub.KERNEL32.dll_VirtualAlloc
or eax, eax
jne 0x41b35d
jmp 0x41b372
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x1c]
add eax, dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push eax
call fcn.0042b270
mov eax, dword [ebp - 0x10]
pop edi
leave
ret 4

Function at 0x41b42e
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push edi
push ebx
push esi
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x41afe5
push dword [ebp + 0xc]
push dword [ebp + 0x14]
call fcn.0041b3f7
or eax, eax
jne 0x41b456
jmp 0x41b57e
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041b37a
or eax, eax
jne 0x41b473
jmp 0x41b57e
mov ebx, eax
mov dword [ebx + 0x14], 0x41
lea eax, str.Previous
mov dword [ebx + 0x3c], eax
mov dword [ebp - 0xc], ebx
mov dword [ebx + 0x68], 0xff0000
mov dword [ebx + 0x6c], 1
push dword [ebp + 0x18]
pop dword [ebx + 0x5c]
mov dword [ebx + 0x60], 1
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041b37a
or eax, eax
jne 0x41b4bd
jmp 0x41b57e
mov ebx, eax
mov dword [ebx + 0x14], 0x3c
mov eax, dword [ebx + 0xc]
add eax, dword [edi + 0x5c]
sub eax, dword [ebx + 0x14]
mov dword [ebx + 0xc], eax
lea eax, str.Next
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x68], 0xff0000
mov dword [ebx + 0x6c], 1
mov dword [ebx + 0x38], 1
mov dword [ebp - 0x10], ebx
push dword [ebp + 0x1c]
pop dword [ebx + 0x5c]
mov dword [ebx + 0x60], 2
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041b37a
or eax, eax
jne 0x41b517
jmp 0x41b57e
mov ebx, eax
push ebx
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 0xc]
add eax, dword [ebx + 0x14]
pop ebx
mov dword [ebx + 0xc], eax
push ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0xc]
pop ebx
sub eax, dword [ebx + 0xc]
mov dword [ebx + 0x14], eax
push 0x40
push 0x1000
push 0x80
push 0
call sub.KERNEL32.dll_VirtualAlloc
or eax, eax
jne 0x41b54e
jmp 0x41b57e
mov dword [ebx + 0x3c], eax
push dword [ebp + 0x20]
push dword [ebx + 0x3c]
call sub.KERNEL32.dll_lstrcpyA
push dword [ebx + 0x3c]
call sub.KERNEL32.dll_lstrlenA
add eax, dword [ebx + 0x3c]
push eax
push dword [ebp + 0x24]
call fcn.0042abe0
mov dword [ebx + 0x40], 1
mov dword [ebx + 0x38], 2
pop esi
pop ebx
pop edi
leave
ret 0x20
Function at 0x41b7a5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push edi
mov edi, dword [ebp + 8]
push dword [edi + 0x28]
call fcn.0041902f
push 0xc
lea eax, [edi + 0x28]
push eax
call sub.KERNEL32.dll_RtlZeroMemory
mov dword [edi + 0x44], 0
cmp dword [edi + 0x34], 0
jne 0x41b7d5
push dword [edi + 8]
pop dword [edi + 0x34]
cmp dword [0x43d0c3], 0
jne 0x41b81a
lea eax, [ebp - 0x18]
push eax
push dword [edi + 0x48]
call sub.USER32.dll_GetWindowRect
mov eax, dword [ebp - 0x18]
sub dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
sub dword [ebp - 0xc], eax
push dword [ebp - 0x10]
pop dword [0x43d0c3]
push dword [ebp - 0x10]
pop dword [0x43d0bb]
push dword [ebp - 0xc]
pop dword [0x43d0c7]
push dword [ebp - 0xc]
pop dword [0x43d0bf]
cmp dword [0x43d0cb], 0
jne 0x41b82d
mov dword [0x43d0cb], 5
push dword [ebp + 8]
call fcn.0041b585
push dword [edi + 0x40]
push dword [ebp + 8]
call fcn.0041bd1c
cmp eax, dword [0x43d0bf]
jb 0x41b84f
mov dword [0x43d0bf], eax
jmp 0x41b883
mov dword [ebp - 4], 0
jmp 0x41b86d
mov dword [ebp - 4], 1
inc dword [edi + 0x40]
push dword [edi + 0x40]
push dword [ebp + 8]
call fcn.0041bd1c
cmp eax, 0
jbe 0x41b87a
cmp eax, dword [0x43d0bf]
jbe 0x41b858
cmp dword [ebp - 4], 1
jne 0x41b883
dec dword [edi + 0x40]
push dword [ebp + 8]
call fcn.0041b067
cmp dword [edi + 0x30], 1
ja 0x41b8a3
cmp dword [edi + 0xec], 0
jbe 0x41b8b9
cmp dword [0x43d0cb], 5
jbe 0x41b8b9
push 4
push dword [ebp + 8]
call fcn.0041bd1c
cmp eax, 0
jbe 0x41b8f6
mov dword [0x43d0c7], eax
jmp 0x41b8f6
cmp dword [0x43d0cb], 5
ja 0x41b8c8
cmp dword [edi + 0x20], 0
jbe 0x41b8ea
push 1
push dword [ebp + 8]
call fcn.0041bd1c
cmp eax, 0
jbe 0x41b8dc
mov dword [0x43d0c7], eax
push dword [0x43d0c7]
pop dword [0x43d0bf]
jmp 0x41b8f6
push dword [0x43d0c7]
pop dword [0x43d0bf]
push dword [edi + 0x28]
push dword [ebp + 8]
call fcn.0041b9b1
push 1
push dword [edi + 0x48]
call fcn.0041bf2d
lea eax, [ebp - 0x18]
push eax
push dword [edi + 0x48]
call sub.USER32.dll_GetClientRect
push dword [0x43d0cb]
pop dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
sub eax, 5
mov dword [ebp - 0x10], eax
push dword [0x43d0ab]
pop dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
sub eax, 5
mov dword [ebp - 0xc], eax
push 0x4ed
push dword [edi + 0x48]
call sub.USER32.dll_GetDlgItem
mov dword [ebp - 8], eax
push 1
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 8]
call sub.USER32.dll_MoveWindow
push 5
push dword [ebp - 8]
call sub.USER32.dll_ShowWindow
mov eax, 5
shr eax, 1
sub eax, dword [ebp - 0xc]
neg eax
add eax, dword [ebp - 0x14]
sub eax, dword [edi + 0x60]
mov dword [edi + 0xfc], eax
cmp dword [edi + 0x30], 0
jbe 0x41b995
cmp dword [edi + 0x20], 0
ja 0x41b99e
cmp dword [0x43d0cb], 5
jbe 0x41b9ac
push dword [edi + 0xfc]
push dword [edi + 0x2c]
call fcn.0041c2a0
pop edi
leave
ret 4
Function at 0x41b9ec
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push dword [ebp + 0xc]
pop dword [ebp - 4]
push dword [ebp + 0x10]
pop dword [ebp - 0xc]
push dword [ebp - 4]
call sub.KERNEL32.dll_lstrlenA
inc eax
push 0x40
push 0x1000
push eax
push 0
call sub.KERNEL32.dll_VirtualAlloc
or eax, eax
jne 0x41ba31
jmp 0x41ba90
mov dword [ebp - 8], eax
push eax
push dword [ebp - 4]
push eax
call sub.KERNEL32.dll_lstrcatA
pop dword [ebp - 4]
push dword [ebp - 4]
call sub.USER32.dll_CharLowerA
push dword [ebp - 0xc]
call sub.KERNEL32.dll_lstrlenA
inc eax
push 0x40
push 0x1000
push eax
push 0
call sub.KERNEL32.dll_VirtualAlloc
or eax, eax
jne 0x41ba67
jmp 0x41ba90
mov dword [ebp - 0x10], eax
push eax
push dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_lstrcatA
pop dword [ebp - 0xc]
push dword [ebp - 0xc]
call sub.USER32.dll_CharLowerA
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.0040b661
mov dword [ebp - 0x14], eax
cmp dword [ebp - 8], 0
je 0x41baa5
push 0x8000
push 0
push dword [ebp - 8]
call sub.KERNEL32.dll_VirtualFree
cmp dword [ebp - 0x10], 0
je 0x41baba
push 0x8000
push 0
push dword [ebp - 0x10]
call sub.KERNEL32.dll_VirtualFree
mov eax, dword [ebp - 0x14]
leave
ret 0xc
Function at 0x41bd86
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push 0xfffffffffffffff4
push dword [ebp + 8]
call sub.USER32.dll_GetWindowLongA
mov dword [ebp - 4], eax
test dword [ebp + 0xc], 1
je 0x41bddf
cmp dword [ebp - 4], 0x44c
jbe 0x41bddf
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call sub.USER32.dll_GetWindowRect
push dword [ebp + 8]
call sub.USER32.dll_GetParent
mov dword [ebp - 8], eax
push 1
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
push 0
call sub.USER32.dll_MapWindowPoints
push dword [ebp - 0x18]
push 0xffffffffffffffeb
push dword [ebp + 8]
call sub.USER32.dll_SetWindowLongA
test dword [ebp + 0xc], 2
je 0x41be04
cmp dword [ebp - 4], 0x44c
jae 0x41be04
cmp dword [ebp - 4], 0x384
jb 0x41be04
push 0
push dword [ebp + 8]
call sub.USER32.dll_ShowWindow
test dword [ebp + 0xc], 4
je 0x41be29
cmp dword [ebp - 4], 0x44c
jae 0x41be29
cmp dword [ebp - 4], 0x384
jb 0x41be29
push 5
push dword [ebp + 8]
call sub.USER32.dll_ShowWindow
test dword [ebp + 0xc], 8
je 0x41be6f
cmp dword [ebp - 4], 0x44c
jbe 0x41be5c
cmp dword [ebp - 4], 0x4f1
jne 0x41be50
push 0
push dword [ebp + 8]
call sub.USER32.dll_ShowWindow
jmp 0x41be6f
push 0x10
push dword [ebp + 8]
call fcn.0041bd86
jmp 0x41be6f
cmp dword [ebp - 4], 0x384
jb 0x41be6f
push 4
push dword [ebp + 8]
call fcn.0041bd86
test dword [ebp + 0xc], 0x20
je 0x41beb3
cmp dword [ebp - 4], 0x44c
jbe 0x41bea0
cmp dword [ebp - 4], 0x4f1
jne 0x41be94
push 5
push dword [ebp + 8]
call sub.USER32.dll_ShowWindow
push 0x10
push dword [ebp + 8]
call fcn.0041bd86
jmp 0x41beb3
cmp dword [ebp - 4], 0x384
jb 0x41beb3
push 2
push dword [ebp + 8]
call fcn.0041bd86
test dword [ebp + 0xc], 0x10
je 0x41bf24
cmp dword [ebp - 4], 0x44c
jbe 0x41bf24
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call sub.USER32.dll_GetWindowRect
mov eax, dword [ebp - 0x18]
sub dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
sub dword [ebp - 0xc], eax
push dword [ebp + 8]
call sub.USER32.dll_GetParent
mov dword [ebp - 8], eax
push 1
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
push 0
call sub.USER32.dll_MapWindowPoints
push 0xffffffffffffffeb
push dword [ebp + 8]
call sub.USER32.dll_GetWindowLongA
add eax, dword [0x43d0cb]
sub eax, 5
mov dword [ebp - 0x18], eax
push 0
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 8]
call sub.USER32.dll_MoveWindow
mov eax, 1
leave
ret 8
Function at 0x41c2de
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push esi
push edi
mov esi, dword [ebp + 8]
push 0x18
push esi
call sub.KERNEL32.dll_RtlZeroMemory
mov dword [esi], 9
push dword [ebp + 0xc]
pop dword [esi + 4]
lea eax, [0x41c4a7]
mov dword [esi + 8], eax
lea eax, [0x41c5a7]
mov dword [esi + 0xc], eax
lea eax, [0x41c650]
mov dword [esi + 0x10], eax
mov eax, 0x34
mov dword [ebp - 4], eax
mul dword [esi]
push 0x40
push 0x1000
push eax
push 0
call sub.KERNEL32.dll_VirtualAlloc
or eax, eax
je 0x41c455
mov dword [esi + 0x14], eax
mov edi, dword [esi + 0x14]
mov dword [edi], 0x4ec
mov dword [edi + 0x1c], 0x14
push dword [esi + 4]
push edi
call fcn.0041c45f
add edi, dword [ebp - 4]
mov dword [edi], 0x3e8
mov dword [edi + 0x1c], 0x15
push dword [esi + 4]
push edi
call fcn.0041c45f
add edi, dword [ebp - 4]
mov dword [edi], 0x4ef
mov dword [edi + 0x1c], 0xc
mov dword [edi + 0x20], 0xd
push dword [esi + 4]
push edi
call fcn.0041c45f
add edi, dword [ebp - 4]
mov dword [edi], 0x4ee
mov dword [edi + 0x1c], 0xe
mov dword [edi + 0x20], 0xf
push dword [esi + 4]
push edi
call fcn.0041c45f
add edi, dword [ebp - 4]
mov dword [edi], 0x4f1
mov dword [edi + 0x1c], 0xa
mov dword [edi + 0x20], 0xb
push dword [esi + 4]
push edi
call fcn.0041c45f
add edi, dword [ebp - 4]
mov dword [edi], 0x3ea
mov dword [edi + 0x1c], 0x10
mov dword [edi + 0x20], 0x11
push dword [esi + 4]
push edi
call fcn.0041c45f
add edi, dword [ebp - 4]
mov dword [edi], 0x4f2
mov dword [edi + 0x1c], 0x12
mov dword [edi + 0x20], 0x13
push dword [esi + 4]
push edi
call fcn.0041c45f
add edi, dword [ebp - 4]
mov dword [edi], 0x4f3
mov dword [edi + 4], 1
mov dword [edi + 8], 0xcccccc
push dword [esi + 4]
push edi
call fcn.0041c45f
add edi, dword [ebp - 4]
mov dword [edi], 0x3eb
mov dword [edi + 0x1c], 0x16
mov dword [edi + 0x20], 0x17
mov dword [edi + 4], 2
push dword [esi + 4]
push edi
call fcn.0041c45f
push esi
call dword [esi + 8]
pop edi
pop esi
leave
ret 0xc