joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ec68
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4b4de0]
cmp byte [eax + 0xc], 0
je 0x44edd5
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44edce
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b5bf0], 0
jne 0x44ecbc
push 0x44eddc
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x44ede4
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5bf0], eax
cmp dword [0x4b3c68], 0
jne 0x44edb7
push 0x44edf4
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4b3c68], eax
cmp dword [0x4b3c68], 0
je 0x44edb7
push 0x44ee00
mov eax, dword [0x4b3c68]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5bf4], eax
push 0x44ee10
mov eax, dword [0x4b3c68]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5bf8], eax
push 0x44ee24
mov eax, dword [0x4b3c68]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5bfc], eax
push 0x44ee3c
mov eax, dword [0x4b3c68]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5c00], eax
push 0x44ee54
mov eax, dword [0x4b3c68]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5c04], eax
push 0x44ee68
mov eax, dword [0x4b3c68]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5c08], eax
push 0x44ee80
mov eax, dword [0x4b3c68]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5c0c], eax
push 0x44ee98
mov eax, dword [0x4b3c68]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5c10], eax
push 0x44eeb4
mov eax, dword [0x4b3c68]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5c14], eax
push 0x44eec0
mov eax, dword [0x4b3c68]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5c18], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44edd5
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x453100
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004045d4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45314f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.0040483c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45afb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45b000]
test si, 4
je 0x45afc4
or bl, 1
test si, 8
je 0x45afce
or bl, 4
test si, 1
je 0x45afd8
or bl, 8
test si, 2
je 0x45afe2
or bl, 0x10
test si, 0x10
je 0x45afec
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45affb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45b004
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45b03c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b01d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b02c
or bl, 4
test esi, 0x20000000
je 0x45b037
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x461678
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46168a
add esp, 0xfffffff0
call fcn.00403bac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421da4
mov eax, dword [0x4b4a5c]
mov dword [eax + 4], ebx
mov dword [eax], 0x461a1c
mov eax, dword [0x4b4a6c]
mov dword [eax + 4], ebx
mov dword [eax], 0x461a28
mov eax, ebx
call fcn.00461a34
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4172dc]
call fcn.00403818
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4172dc]
call fcn.00403818
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4172dc]
call fcn.00403818
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4172dc]
call fcn.00403818
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4172dc]
call fcn.00403818
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45defc
push eax
push 0
push 0
mov eax, dword [0x4b4bb0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42383c]
call fcn.00424f98
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42383c]
call fcn.00424f98
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42383c]
call fcn.00424f98
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00461e9c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461d78
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461d78
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461d78
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4617c7
call fcn.00403c04
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x461b5c
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 0x461d07
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x461ce8
mov dl, 1
mov eax, dword [0x417940]
call fcn.00403818
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004045d4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x461cd7
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.0044efc8
test al, al
je 0x461cca
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, 0x461d18
lea eax, [ebp - 0x254]
call fcn.0040984c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x461cca
xor eax, eax
push ebp
push 0x461cc3
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 0x461d50
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x461cac
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040483c
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 0x461cac
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040483c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461cca
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x461bcd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c354
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 0x461d0e
lea eax, [ebp - 0x260]
call fcn.004045d4
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b5c34]
cmp byte [eax + 0xa5], 0
jne 0x4626ad
cmp dword [0x4b5c4c], 0
jne 0x46266e
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4625f8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b5c4c], eax
cmp dword [0x4b5c48], 0
jne 0x462689
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4b5c48], eax
cmp dword [0x4b5c50], 0
jne 0x4626ad
push esp
push 0
push 0
push 0x46259c
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4b5c50], eax
pop edx
ret
Function at 0x4627d4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4627eb
add esp, 0xfffffff0
call fcn.00403bac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421da4
mov eax, dword [0x4b4ba0]
cmp word [eax + 2], 0
jne 0x462813
mov eax, dword [0x4b4ba0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463eb0
mov eax, dword [0x4b4c50]
cmp word [eax + 2], 0
jne 0x46282d
mov eax, dword [0x4b4c50]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004640a8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4172dc]
call fcn.00403818
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4172dc]
call fcn.00403818
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], 0x80000018
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 [0x4242bc]
call fcn.0042c0f0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4629b4
mov eax, dword [0x4b4ac8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042c4c0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x464628
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4b4ac8]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
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.0040bc5c
test eax, eax
je 0x462922
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409194
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bc84
test eax, eax
je 0x462936
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.0040483c
mov eax, dword [0x4b4984]
cmp byte [eax], 0
jne 0x46296a
mov eax, ebx
call fcn.00462adc
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.00464804
mov eax, ebx
call fcn.004651b4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4629aa
call fcn.00403c04
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462d50
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b5c34]
cmp dword [eax + 0x30], 0
je 0x462dfa
cmp dword [ebx + 0x94], 0
jne 0x462df4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x462ce0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x462df4
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 0x462dba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x462df4
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.00419b0c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x462dc9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4638d8
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 0x46390d
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.004046c4
jmp 0x46391a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404628
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4649e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x464a21
mov eax, esi
call fcn.0044a704
test al, al
je 0x464a21
mov eax, dword [ebx + 0x84]
call fcn.0044a400
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x464a21
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044a400
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4696ac
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004692e8
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404a84
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x46970a
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4b4bb8]
mov dl, 1
mov eax, dword [0x469174]
call fcn.0040b1f4
call fcn.00404014
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x469714
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404a84
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x46976c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4b4dec]
mov dl, 1
mov eax, dword [0x469174]
call fcn.0040b1f4
call fcn.00404014
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00469318
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46ee60
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46ef38
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b5cbc], 0
jne 0x46ef1c
lea eax, [ebp - 4]
mov edx, 0x46ef50
call fcn.0040466c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404a84
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x46ef1c
mov eax, ebx
call fcn.0040272c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x46ef15
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x46eeff
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x46ef60
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46eeff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4b5cbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ef1c
mov eax, dword [ebp - 0xc]
call fcn.0040274c
ret
mov ebx, dword [0x4b5cbc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ef3f
lea eax, [ebp - 4]
call fcn.004045d4
ret
Function at 0x49bdf0
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 0x49c050
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x49be53
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0049b8b8
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040b9e8
cmp al, 1
jne 0x49be53
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0049bbd0
test al, al
je 0x49bfdf
cmp dword [ebp - 8], 0
jge 0x49be71
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.0049b8b8
mov eax, dword [ebp - 0x210]
call fcn.0040488c
cmp ebx, eax
jge 0x49bebb
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0049b8b8
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4b4dcc]
and eax, 0xff
bt dword [edx], eax
jae 0x49bebb
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x49becf
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049bdcc
cmp ebx, dword [ebp - 8]
je 0x49bfd1
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 0x49befb
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a44
and eax, 0x7f
movzx eax, word [eax*2 + 0x4b4144]
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 0x49bfbe
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a44
and eax, 0x7f
movzx eax, word [eax*2 + 0x4b4144]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0044a400
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a44
and eax, 0x7f
movzx eax, word [eax*2 + 0x4b4144]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0044a400
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bfc5
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 0x49c032
cmp dword [ebp - 8], 0
jge 0x49bfea
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0049b8b8
mov eax, dword [ebp - 0x218]
call fcn.0040488c
cmp eax, dword [ebp - 8]
jg 0x49c024
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0049b8b8
mov eax, dword [ebp - 0x21c]
call fcn.0040488c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0049bdcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c057
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004045f8
ret
Function at 0x4b01a8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x4b026d
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004aff7c
test al, al
je 0x4b01c3
push 0xa
push 0
push 0
lea edx, [ebp - 8]
mov eax, 0x4b0284
call fcn.004aeea0
push dword [ebp - 8]
lea edx, [ebp - 0xc]
mov eax, 0x4b02e4
call fcn.004aeea0
push dword [ebp - 0xc]
lea edx, [ebp - 0x14]
mov eax, dword [0x4b4c34]
mov eax, dword [eax]
call fcn.00464388
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.004b0120
push dword [ebp - 0x10]
push 0x4b0304
lea edx, [ebp - 0x1c]
mov eax, dword [0x4b4c34]
mov eax, dword [eax]
call fcn.004638d8
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004b0120
push dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 5
call fcn.0040494c
mov eax, dword [ebp - 4]
call fcn.00404a84
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0274
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.004045f8
ret
Function at 0x30007171
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x30009190
call fcn.3000753a
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x3000b8b4
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x30006f10
cmp eax, esi
jne 0x30006f03
xor esi, esi
inc esi
mov ebx, esi
jmp 0x30006f13
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x30006eea
xor esi, esi
inc esi
mov eax, dword [0x3000b8b0]
cmp eax, esi
jne 0x30006f26
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x30006f55
mov eax, dword [0x3000b8b0]
test eax, eax
jne 0x30006f4f
mov dword [0x3000b8b0], esi
push 0x30001284
push 0x3000127c
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x30006f55
jmp 0x3000707d
mov dword [0x3000b528], esi
mov eax, dword [0x3000b8b0]
cmp eax, esi
jne 0x30006f79
push 0x30001278
push 0x30001268
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x3000b8b0], 2
test ebx, ebx
jne 0x30006f85
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x3000b8c0], 0
je 0x30006fa9
push 0x3000b8c0
call fcn.300074c2
pop ecx
test eax, eax
je 0x30006fa9
push 0
push 2
push 0
call dword [0x3000b8c0]
mov eax, dword [sym.imp.MSVCR80.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x30007005
test al, al
je 0x30006fc3
cmp dword [ebp - 0x1c], 0
jne 0x30007005
mov al, byte [esi]
test al, al
je 0x30006fd3
cmp al, 0x20
ja 0x30006fd3
inc esi
mov dword [ebp - 0x20], esi
jmp 0x30006fc3
test byte [ebp - 0x3c], 1
je 0x30006fdf
movzx eax, word [ebp - 0x38]
jmp 0x30006fe2
push 0xa
pop eax
push eax
push esi
push 0
push 0x30000000
call main
mov dword [0x3000b524], eax
cmp dword [0x3000b518], 0
jne 0x30007059
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp al, 0x22
jne 0x30007014
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR80.dll__ismbblead]
pop ecx
test eax, eax
je 0x30007027
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x30006fb0
cmp dword [0x3000b528], 0
jne 0x30007068
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x3000b524]
jmp 0x30007089
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.3000757f
ret
call fcn.3000681c
jmp 0x30006eb0