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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45c084]
cmp byte [eax + 0xc], 0
je 0x43eeb5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43eeae
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45dbe4], 0
jne 0x43ed9c
push 0x43eebc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43eec4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dbe4], eax
cmp dword [0x45ba5c], 0
jne 0x43ee97
push 0x43eed4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45ba5c], eax
cmp dword [0x45ba5c], 0
je 0x43ee97
push 0x43eee0
mov eax, dword [0x45ba5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dbe8], eax
push 0x43eef0
mov eax, dword [0x45ba5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dbec], eax
push 0x43ef04
mov eax, dword [0x45ba5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dbf0], eax
push 0x43ef1c
mov eax, dword [0x45ba5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dbf4], eax
push 0x43ef34
mov eax, dword [0x45ba5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dbf8], eax
push 0x43ef48
mov eax, dword [0x45ba5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dbfc], eax
push 0x43ef60
mov eax, dword [0x45ba5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dc00], eax
push 0x43ef78
mov eax, dword [0x45ba5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dc04], eax
push 0x43ef94
mov eax, dword [0x45ba5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dc08], eax
push 0x43efa0
mov eax, dword [0x45ba5c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dc0c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43eeb5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x443224
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.00404618
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x443273
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.00404880
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44b0b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44b104]
test si, 4
je 0x44b0c8
or bl, 1
test si, 8
je 0x44b0d2
or bl, 4
test si, 1
je 0x44b0dc
or bl, 8
test si, 2
je 0x44b0e6
or bl, 0x10
test si, 0x10
je 0x44b0f0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b0ff
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44b108
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44b140]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b121
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b130
or bl, 4
test esi, 0x20000000
je 0x44b13b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x451744
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x451756
add esp, 0xfffffff0
call fcn.00403c10
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041bf50
mov eax, dword [0x45bdb0]
mov dword [eax + 4], ebx
mov dword [eax], 0x451ae8
mov eax, dword [0x45bdbc]
mov dword [eax + 4], ebx
mov dword [eax], 0x451af4
mov eax, ebx
call fcn.00451b00
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411fb0]
call fcn.0040387c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411fb0]
call fcn.0040387c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411fb0]
call fcn.0040387c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411fb0]
call fcn.0040387c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411fb0]
call fcn.0040387c
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, 0x44dfc8
push eax
push 0
push 0
mov eax, dword [0x45bed8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41d918]
call fcn.0041efec
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41d918]
call fcn.0041efec
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41d918]
call fcn.0041efec
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00451f20
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451dfc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451dfc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451dfc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x451893
call fcn.00403c68
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x451be0
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 0x451d8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x451d6c
mov dl, 1
mov eax, dword [0x4124a0]
call fcn.0040387c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404618
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x451d5b
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.0043f0a8
test al, al
je 0x451d4e
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, 0x451d9c
lea eax, [ebp - 0x254]
call fcn.00409580
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x451d4e
xor eax, eax
push ebp
push 0x451d47
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 0x451dd4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x451d30
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404880
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 0x451d30
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404880
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451d4e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x451c51
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004165e8
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 0x451d92
lea eax, [ebp - 0x260]
call fcn.00404618
ret

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

Disassembly:
push ecx
mov eax, dword [0x45dc28]
cmp byte [eax + 0xa5], 0
jne 0x452731
cmp dword [0x45dc40], 0
jne 0x4526f2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45267c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45dc40], eax
cmp dword [0x45dc3c], 0
jne 0x45270d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45dc3c], eax
cmp dword [0x45dc44], 0
jne 0x452731
push esp
push 0
push 0
push 0x452620
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45dc44], eax
pop edx
ret
Function at 0x452828
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45283f
add esp, 0xfffffff0
call fcn.00403c10
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041bf50
mov eax, dword [0x45bec8]
cmp word [eax + 2], 0
jne 0x452867
mov eax, dword [0x45bec8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453e5c
mov eax, dword [0x45bf50]
cmp word [eax + 2], 0
jne 0x452881
mov eax, dword [0x45bf50]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454054
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411fb0]
call fcn.0040387c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411fb0]
call fcn.0040387c
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 [0x41e398]
call fcn.00425758
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x452a08
mov eax, dword [0x45be04]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00425b28
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4545d4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45be04]
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.0040b1e4
test eax, eax
je 0x452976
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408edc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040b20c
test eax, eax
je 0x45298a
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.00404880
mov eax, dword [0x45bd20]
cmp byte [eax], 0
jne 0x4529be
mov eax, ebx
call fcn.00452b30
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.004547b0
mov eax, ebx
call fcn.004550f0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4529fe
call fcn.00403c68
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452da4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45dc28]
cmp dword [eax + 0x30], 0
je 0x452e4e
cmp dword [ebx + 0x94], 0
jne 0x452e48
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x452d34
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x452e48
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 0x452e0e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x452e48
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.00414650
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x452e1d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45392c
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 0x453961
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.00404708
jmp 0x45396e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040466c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45498c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4549cd
mov eax, esi
call fcn.0043a824
test al, al
je 0x4549cd
mov eax, dword [ebx + 0x84]
call fcn.0043a520
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4549cd
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043a520
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x457fcc
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407418
ret
Function at 0x631a10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push ebx
push esi
push edi
lea edi, [ebp - 4]
mov ecx, 1
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0xa7b112
call fcn.004c0b7e
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.004bf9b3
movsx ecx, ax
and ecx, 0x8000
je 0x631a5f
mov dword [ebp - 0xc4], 1
jmp 0x631a69
mov dword [ebp - 0xc4], 0
mov al, byte [ebp - 0xc4]
pop edi
pop esi
pop ebx
add esp, 0xc4
cmp ebp, esp
call fcn.004bf9b3
mov esp, ebp
pop ebp
ret
Function at 0x5d5760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x543015
lea edi, [esi - 0x142015]
lea eax, [edi + 0x1cd0d0]
push dword [eax]
mov dword [eax], 0x103ffa72
push eax
push edi
or ebp, 0xffffffff
jmp 0x5d5792
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5d5799
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d5788
mov eax, 1
add ebx, ebx
jne 0x5d57ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5d57bc
jne 0x5d57db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d57db
dec eax
add ebx, ebx
jne 0x5d57c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5d57a0
add ebx, ebx
jne 0x5d57d7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5d582d
xor ecx, ecx
sub eax, 3
jb 0x5d57f3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5d5862
sar eax, 1
mov ebp, eax
jmp 0x5d57fe
add ebx, ebx
jne 0x5d57fe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d57cc
inc ecx
add ebx, ebx
jne 0x5d580c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d57cc
add ebx, ebx
jne 0x5d5819
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5d580e
jne 0x5d582a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5d580e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5d584c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5d583e
jmp 0x5d578e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5d584c
add edi, ecx
jmp 0x5d578e
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x6898
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5d586e
cmp byte [edi], 0x2d
jne 0x5d586e
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5d5873
lea edi, [esi + 0x1d3000]
mov eax, dword [edi]
or eax, eax
je 0x5d58e2
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d5000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d5050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5d58a0
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1d5058]
or eax, eax
je 0x5d58dc
mov dword [ebx], eax
add ebx, 4
jmp 0x5d58bd
call dword [esi + 0x1d5054]
mov ebp, dword [esi + 0x1d505c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x1d593d]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5d592e
sub esp, 0xffffff80
jmp 0x4014a0
Function at 0x300266b9
Capabilities:
Accept command line arguments

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
movzx ecx, word [eax]
cmp cx, 0x22
push 2
pop edx
jne 0x300266dd
add eax, edx
movzx ecx, word [eax]
cmp cx, 0x22
je 0x300266f3
test cx, cx
jne 0x300266cb
jmp 0x300266fd
cmp cx, 0x20
jbe 0x300266f5
add eax, edx
cmp word [eax], 0x20
ja 0x300266e3
jmp 0x300266f5
cmp cx, 0x20
ja 0x300266fd
add eax, edx
movzx ecx, word [eax]
test cx, cx
jne 0x300266ed
and dword [0x300cb640], 0
push eax
call fcn.30035020
mov ecx, eax
and ecx, 0x60
je 0x30026714
mov eax, ecx
ret
test al, 8
je 0x3002671c
push 8
pop eax
ret
push esi
mov esi, 0x1eee
test esi, eax
jne 0x3002672a
xor eax, eax
pop esi
ret
xor ecx, ecx
push ebx
xor edx, edx
inc edx
shl edx, cl
test esi, edx
je 0x30026742
test eax, edx
je 0x30026742
mov ebx, eax
sub ebx, edx
test esi, ebx
jne 0x30026752
inc ecx
cmp ecx, 0x20
jb 0x3002672d
test al, 4
je 0x30026754
test ax, 0x100
jne 0x30026754
xor eax, eax
pop ebx
pop esi
ret

Function at 0x3002a655
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.3002a277

Function at 0x3002a65e
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [0x300cb640]
push esi
xor esi, esi
push esi
push esi
push esi
push 6
push eax
mov dword [0x300bfc5c], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
mov dword [0x300bfc58], eax
jne 0x3002a684
xor eax, eax
pop esi
ret
push ebx
mov ebx, dword [eax]
mov ecx, 0x9c9c
cmp ebx, ecx
je 0x3002a694
xor eax, eax
jmp 0x3002a709
mov edx, dword [eax + 4]
mov esi, 0x20000
cmp edx, esi
push edi
mov edi, 0x20001
je 0x3002a6ae
cmp edx, edi
jne 0x3002a706
cmp edx, esi
jne 0x3002a6b2
cmp ebx, ecx
jne 0x3002a706
cmp edx, edi
jne 0x3002a6ba
cmp ebx, ecx
jne 0x3002a706
cmp edx, esi
jne 0x3002a6c2
cmp ebx, ecx
jne 0x3002a706
push ecx
push eax
push 0x300bfc64
call sub.MSVCR80.dll_memcpy
xor eax, eax
add esp, 0xc
cmp dword [0x300bfc88], eax
mov dword [0x300bfc68], esi
je 0x3002a706
cmp dword [0x300bfc7c], eax
je 0x3002a706
cmp dword [0x300bfc84], eax
je 0x3002a706
cmp dword [0x300cb85c], eax
jne 0x3002a701
cmp dword [0x300bfc8c], eax
je 0x3002a706
xor eax, eax
inc eax
jmp 0x3002a708
xor eax, eax
pop edi
pop ebx
pop esi
ret
Function at 0x3002a808
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x300222cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov dword [0x300bccd4], ebx
mov dword [0x300cb514], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x2cd8
push ebx
push 0x300bcf80
mov dword [0x300cb51c], eax
mov dword [0x300cb854], ebx
mov dword [0x300bcce4], ebx
call sub.MSVCR80.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
add esp, 0xc
push 0x300bcfc4
call esi
call fcn.3002a78e
test eax, eax
jne 0x3002a87b
push ebx
push 0x30303030
call fcn.300435b4
jmp 0x3002aa39
push edi
push 0xa5a8
push ebx
push 0x300bfc58
call sub.MSVCR80.dll_memset
push 0x60
push ebx
push 0x300d1730
call sub.MSVCR80.dll_memset
push 0x224
push ebx
push 0x300bcd30
call sub.MSVCR80.dll_memset
add esp, 0x24
push 0x300d1738
call esi
push 0x300bcca4
call esi
push 0x300bcc8c
call esi
push 0x300d1ba8
call esi
mov esi, 0x800
push esi
push ebx
push 0x300cace8
call sub.MSVCR80.dll_memset
push esi
push ebx
push 0x300ca4e8
call sub.MSVCR80.dll_memset
push 0x70
push ebx
push 0x300ca478
call sub.MSVCR80.dll_memset
push 0x70
push ebx
push 0x300ca408
call sub.MSVCR80.dll_memset
add esp, 0x30
push 0x300c9db8
call fcn.3003d10d
push 0x300c9dc8
call fcn.3003d10d
push 0x100
push 0x10
push 4
push 0x300bccd0
call fcn.30059df1
push ebx
push 0x300cb4f0
push ebx
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0x30002c18
call fcn.3003f77c
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x3008b484], eax
je 0x3002a97b
cmp eax, 0xffffffff
je 0x3002a97b
push 0x30002c08
push eax
call esi
cmp eax, ebx
mov dword [0x300bcccc], eax
jne 0x3002a97b
push dword [0x3008b484]
call edi
mov dword [0x3008b484], ebx
push 0x30002bfc
call fcn.3003f77c
cmp eax, ebx
mov dword [0x3008b488], eax
je 0x3002aa00
cmp eax, 0xffffffff
je 0x3002aa00
push 0x30002be4
push eax
call esi
push 0x30002bd0
push dword [0x3008b488]
mov dword [0x300bccc8], eax
call esi
push 0x30002bc0
push dword [0x3008b488]
mov dword [0x300bccc4], eax
call esi
push 0x30002bb0
push dword [0x3008b488]
mov dword [0x300bccc0], eax
call esi
cmp dword [0x300bccc8], ebx
mov dword [0x300bccbc], eax
je 0x3002a9f2
cmp dword [0x300bccc4], ebx
je 0x3002a9f2
cmp dword [0x300bccc0], ebx
je 0x3002a9f2
cmp eax, ebx
jne 0x3002aa00
push dword [0x3008b488]
call edi
mov dword [0x3008b488], ebx
xor eax, eax
mov esi, 0x300bccd8
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
pop edi
je 0x3002aa39
lea eax, [ebp - 0x210]
push eax
push 4
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.30041099
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.30069776
leave
ret
Function at 0x3002c95c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x300031d8
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x3002c984
xor eax, eax
jmp 0x3002c9b8
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 4
push 0
push 0
push 0x30003224
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
pop edi
leave
ret 4

Function at 0x3002ca1a
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x30003294
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x3002ca4a
xor eax, eax
jmp 0x3002ca79
push edi
lea eax, [ebp - 8]
push eax
push esi
push esi
push esi
push 0x3000325c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x3002ca46
xor eax, eax
cmp eax, dword [ebp - 8]
sbb eax, eax
neg eax
pop esi
leave
ret