joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4575f8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4577a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x457784
mov dl, 1
mov eax, dword [0x412224]
call fcn.004032c4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404044
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x457773
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044535c
test al, al
je 0x457766
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4577b4
lea eax, [ebp - 0x254]
call fcn.00409048
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x457766
xor eax, eax
push ebp
push 0x45775f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4577ec
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x457748
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042b4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x457748
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457766
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x457669
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415f0c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4577aa
lea eax, [ebp - 0x260]
call fcn.00404044
ret

Function at 0x458120
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4e8bdc]
cmp byte [eax + 0xa5], 0
jne 0x458191
cmp dword [0x4e8bf4], 0
jne 0x458152
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4580dc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4e8bf4], eax
cmp dword [0x4e8bf0], 0
jne 0x45816d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4e8bf0], eax
cmp dword [0x4e8bf8], 0
jne 0x458191
push esp
push 0
push 0
push 0x458080
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4e8bf8], eax
pop edx
ret
Function at 0x458288
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45829f
add esp, 0xfffffff0
call fcn.00403618
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419de0
mov eax, dword [0x4e79ec]
cmp word [eax + 2], 0
jne 0x4582c7
mov eax, dword [0x4e79ec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459a08
mov eax, dword [0x4e7aa8]
cmp word [eax + 2], 0
jne 0x4582e1
mov eax, dword [0x4e7aa8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459c00
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411e08]
call fcn.004032c4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411e08]
call fcn.004032c4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41c364]
call fcn.00423e2c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x458468
mov eax, dword [0x4e78f8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004241fc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45a1b0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4e78f8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c878
test eax, eax
je 0x4583d6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408a28
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c8a0
test eax, eax
je 0x4583ea
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004042b4
mov eax, dword [0x4e77a0]
cmp byte [eax], 0
jne 0x45841e
mov eax, ebx
call fcn.00458590
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045a38c
mov eax, ebx
call fcn.0045ad50
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45845e
call fcn.00403670
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458810
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4e8bdc]
cmp dword [eax + 0x30], 0
je 0x4588ba
cmp dword [ebx + 0x94], 0
jne 0x4588b4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4587a0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4588b4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45887a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4588b4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004141a4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x458889
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45941c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x459451
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404134
jmp 0x45945e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404098
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45a568
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45a5a9
mov eax, esi
call fcn.00440944
test al, al
je 0x45a5a9
mov eax, dword [ebx + 0x84]
call fcn.00440640
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45a5a9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00440640
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45dc70
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45dc9e
mov eax, ebx
call fcn.0045e724
cmp dword [ebx + 0x40], 0
je 0x45dc97
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45dd0f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45dd01
cmp dword [ebx + 8], 0
je 0x45dcc0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45dcd2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45dd01
cmp dword [ebx + 8], 0
je 0x45dcb3
cmp eax, 3
je 0x45dce5
dec eax
jne 0x45dcb3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45dcb3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45dcb3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45dd2d
cmp dword [ebx + 0x14], 0xcc
je 0x45dd2d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045dd38
pop ebx
ret
Function at 0x473f54
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x473f7e
cmp dword [ebx + 0x64], 0
jne 0x473f7e
cmp dword [ebx + 0x6c], 0
jne 0x473f7e
mov esi, edi
jmp 0x47400c
cmp esi, 0xffffffff
jne 0x473f89
dec esi
jmp 0x47400c
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x47400c
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.004735bc
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x473fd4
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x473fd9
mov word [edx], 0
dec eax
test eax, eax
jne 0x473fba
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x474000
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x474005
mov word [edx], 0
dec eax
test eax, eax
jne 0x473fe6
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x47406a
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.00473cdc
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x474055
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x47406a
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x473f5e
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47f288
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x47f29d
add esp, 0xfffffff0
call fcn.00403618
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004044f4
xor eax, eax
push ebp
push 0x47f360
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0047aee4
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00412d14
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x28], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00412d14
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x40], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00412d14
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x38], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00412d14
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x30], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00412d3c
push esi
lea edi, [esi + 0x44]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f367
lea eax, [ebp - 4]
call fcn.00404044
ret
Function at 0x48ddd8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48e038
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x48de3b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0048d8f0
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040c464
cmp al, 1
jne 0x48de3b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0048dbb8
test al, al
je 0x48dfc7
cmp dword [ebp - 8], 0
jge 0x48de59
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0048d8f0
mov eax, dword [ebp - 0x210]
call fcn.00404304
cmp ebx, eax
jge 0x48dea3
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0048d8f0
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4e7c0c]
and eax, 0xff
bt dword [edx], eax
jae 0x48dea3
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x48deb7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0048ddb4
cmp ebx, dword [ebp - 8]
je 0x48dfb9
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x48dee3
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004034f0
and eax, 0x7f
movzx eax, word [eax*2 + 0x4e7614]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x48dfa6
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004034f0
and eax, 0x7f
movzx eax, word [eax*2 + 0x4e7614]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00440640
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004034f0
and eax, 0x7f
movzx eax, word [eax*2 + 0x4e7614]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00440640
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dfad
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x48e01a
cmp dword [ebp - 8], 0
jge 0x48dfd2
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0048d8f0
mov eax, dword [ebp - 0x218]
call fcn.00404304
cmp eax, dword [ebp - 8]
jg 0x48e00c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0048d8f0
mov eax, dword [ebp - 0x21c]
call fcn.00404304
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0048ddb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e03f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404068
ret
Function at 0x48ff28
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x48ff60]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x48ff3e
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x48ff4d
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x48ff5c
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x490868
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x435c38]
call fcn.00403480
test al, al
je 0x4908aa
mov eax, dword [0x4e7a8c]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4908aa
mov edx, dword [0x4e7a8c]
xor edx, edx
call fcn.00452dcc
push 0
mov eax, dword [0x4e7a8c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x4a50e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004044f4
xor eax, eax
push ebp
push 0x4a51fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x340]
test eax, eax
je 0x4a51e7
cmp dword [eax + 0x3e8], 0
je 0x4a51e7
cmp byte [ebx + 0x2e4], 0
je 0x4a5168
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x2dc]
cmp eax, 0x1f4
jb 0x4a5141
lea eax, [ebx + 0x2e0]
call fcn.00404044
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x2dc], eax
lea eax, [ebx + 0x2e0]
mov edx, dword [ebp - 4]
call fcn.0040430c
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x2e0]
call fcn.004040dc
mov eax, dword [ebp - 4]
call fcn.00404304
test eax, eax
jle 0x4a51d7
mov eax, dword [ebp - 4]
call fcn.00404304
dec eax
jne 0x4a51ae
mov eax, dword [ebp - 4]
call fcn.00404504
push eax
mov eax, ebx
call fcn.004a5a84
push eax
push 0x18f
mov eax, dword [ebx + 0x340]
mov eax, dword [eax + 0x3e8]
call fcn.00440640
push eax
call sub.user32.dll_SendMessageA
jmp 0x4a51da
mov eax, dword [ebp - 4]
call fcn.00404504
push eax
push 0xffffffffffffffff
push 0x18f
mov eax, dword [ebx + 0x340]
mov eax, dword [eax + 0x3e8]
call fcn.00440640
push eax
call sub.user32.dll_SendMessageA
jmp 0x4a51da
or eax, 0xffffffff
test eax, eax
jl 0x4a51e7
mov edx, eax
mov eax, ebx
call fcn.004a5a90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5204
lea eax, [ebp - 4]
call fcn.00404044
ret
Function at 0x4a5208
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4a5358
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x340]
test eax, eax
je 0x4a5330
cmp dword [eax + 0x3e8], 0
je 0x4a5330
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x2dc]
cmp eax, 0xc8
jbe 0x4a5330
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x2dc], eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00439e58
mov eax, dword [ebp - 0xc]
call fcn.00404304
dec eax
jne 0x4a52b0
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.00439e58
mov eax, dword [ebp - 0x10]
call fcn.00404504
push eax
mov eax, ebx
call fcn.004a5a84
push eax
push 0x18f
mov eax, dword [ebx + 0x340]
mov eax, dword [eax + 0x3e8]
call fcn.00440640
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
jmp 0x4a52e3
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00439e58
mov eax, dword [ebp - 0x14]
call fcn.00404504
push eax
push 0xffffffffffffffff
push 0x18f
mov eax, dword [ebx + 0x340]
mov eax, dword [eax + 0x3e8]
call fcn.00440640
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
test esi, esi
jl 0x4a5330
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00439e58
mov edx, esi
mov eax, ebx
call fcn.004a5a90
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00439e58
mov eax, dword [ebp - 4]
call fcn.00404304
mov edx, eax
mov eax, ebx
call fcn.004a53c0
mov eax, dword [ebp - 8]
call fcn.00404304
push eax
mov eax, dword [ebp - 4]
call fcn.00404304
pop edx
sub edx, eax
mov eax, ebx
call fcn.004a53dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a535f
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404068
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404068
ret
Function at 0x4d84ac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb8
mov ebx, edx
mov esi, eax
mov eax, dword [esi + 0x180]
test eax, eax
je 0x4d86c8
cmp byte [eax + 0x74], 0
jne 0x4d86c8
mov dl, 1
mov eax, dword [0x41bbc4]
call fcn.0041db30
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.0041e340
mov eax, dword [esi + 0x180]
add eax, 0x131
call fcn.0046ee40
test al, al
je 0x4d8534
mov eax, dword [esp]
mov eax, dword [eax + 0x14]
mov edx, 0xff00000f
call fcn.0041d9e0
lea edx, [esp + 0x18]
mov eax, dword [esi + 0x29c]
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea edx, [esp + 0x18]
mov eax, dword [esp]
call fcn.0041de00
mov eax, dword [esp]
call fcn.004032f4
jmp 0x4d86c8
mov dl, 1
mov eax, dword [0x41c220]
call fcn.004222f8
mov ebp, eax
mov eax, dword [esi + 0x180]
add eax, 0x131
call fcn.0046ef30
mov edx, eax
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [esi + 0x180]
add eax, 0x131
call fcn.0046ef4c
mov edx, eax
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ebx, dword [esi + 0x180]
mov eax, dword [ebx + 0x13d]
push eax
lea eax, [esp + 0x2c]
push eax
mov ecx, dword [ebx + 0x139]
mov edx, dword [ebx + 0x135]
mov eax, dword [ebx + 0x131]
call fcn.00412d3c
lea eax, [esp + 0x28]
push eax
mov eax, ebp
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [esp + 0x40]
push eax
mov eax, ebp
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00412d3c
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esi + 0x180]
mov eax, dword [eax + 0x78]
call fcn.004228c0
push eax
mov eax, ebp
call fcn.004228c0
pop ecx
pop edx
call fcn.0041dc50
mov eax, dword [esi + 0x29c]
call fcn.0043985c
test eax, eax
jle 0x4d86a3
mov eax, dword [esi + 0x29c]
call fcn.004398a0
test eax, eax
jle 0x4d86a3
mov eax, dword [esi + 0x180]
add eax, 0x131
call fcn.0046ef30
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x180]
add eax, 0x131
call fcn.0046ef4c
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x29c]
call fcn.0043985c
mov ebx, eax
mov eax, dword [esi + 0x29c]
call fcn.004398a0
mov edi, eax
mov eax, ebx
cdq
idiv dword [esp + 0xc]
mov ecx, eax
mov eax, edi
cdq
idiv dword [esp + 0x10]
mov dword [esp + 8], eax
test ecx, ecx
jl 0x4d86a3
inc ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 4], 0
mov ebx, dword [esp + 8]
test ebx, ebx
jl 0x4d8699
inc ebx
xor edi, edi
push ebp
mov ecx, edi
imul ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
imul edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
call fcn.0041dcd8
inc edi
dec ebx
jne 0x4d867b
inc dword [esp + 4]
dec dword [esp + 0x14]
jne 0x4d8670
mov eax, ebp
call fcn.004032f4
mov eax, dword [esi + 0x3c]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x4d86c0
mov edx, dword [esp]
mov eax, esi
call fcn.004cf94c
mov eax, dword [esp]
call fcn.004032f4
add esp, 0x48
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4020e0
Capabilities:
Access peb ldr_data
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x428578
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.004050cf
lea eax, [esp + 0x38]
push 0x434170
lea ecx, [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x3c], 1
call fcn.0041e0ca
push 0x43416c
lea edx, [esp + 8]
push eax
push edx
mov byte [esp + 0x3c], 2
call fcn.0041e0ca
lea ecx, [esp + 8]
mov byte [esp + 0x30], 4
call fcn.0041de35
mov eax, dword [esp + 4]
push 0
push eax
lea ecx, [esp + 0x14]
call fcn.00405192
test eax, eax
je 0x4021b8
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x14]
call fcn.004053b2
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00405379
test eax, eax
jne 0x4021b2
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x18]
call fcn.00405481
mov edx, dword [esp + 0x14]
push 0x10
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call dword [edx + 0x38]
test eax, eax
jne 0x4021a4
mov eax, dword [esp + 8]
push eax
call edi
lea ecx, [esp + 8]
mov byte [esp + 0x38], 4
call fcn.0041de35
test esi, esi
jne 0x402161
pop edi
pop esi
lea ecx, [esp + 0xc]
call fcn.00405148
lea ecx, [esp + 4]
mov byte [esp + 0x30], 1
call fcn.0041de35
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.0040510c
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.0041de35
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret