joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407260
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x420
mov eax, dword [0x45e680]
xor eax, esp
mov dword [esp + 0x41c], eax
mov eax, dword [esp + 0x424]
push ebx
push ebp
push esi
push edi
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x26]
push edx
mov dword [esp + 0x24], eax
xor bl, bl
mov word [esp + 0x28], cx
call fcn.00432320
push 0x194
lea eax, [esp + 0x2a8]
push 0
mov ebp, 0x104
mov ecx, 0x1d
mov esi, str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
lea edi, [esp + 0x238]
push eax
mov dword [esp + 0x28], ebp
rep movsd dword es:[edi], dword [esi]
call fcn.00432320
add esp, 0x18
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push 0
lea edx, [esp + 0x230]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4072f6
xor al, al
jmp 0x407375
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
xor esi, esi
push esi
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
push esi
push edx
mov dword [esp + 0x30], ebp
call edi
cmp eax, 0x103
je 0x407368
nop
test eax, eax
jne 0x40733e
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x22c]
call fcn.00407390
test al, al
jne 0x407366
mov ecx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x30]
push eax
inc esi
push esi
push ecx
mov dword [esp + 0x30], ebp
call edi
cmp eax, 0x103
jne 0x407320
jmp 0x407368
mov bl, 1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042f892
add esp, 0x420
ret 4
Function at 0x40dbd0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x20c
mov eax, dword [0x45e680]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
lea eax, [esp + 4]
mov ebx, ecx
push eax
mov ecx, 0x208
call fcn.00411490
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esp + 0x20c]
test eax, eax
setne al
pop ebx
xor ecx, esp
call fcn.0042f892
add esp, 0x20c
ret

Function at 0x40e3a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x80c
mov eax, dword [0x45e680]
xor eax, esp
mov dword [esp + 0x808], eax
mov eax, dword [esp + 0x810]
push ebx
mov ebx, dword [esp + 0x81c]
push ebp
mov ebp, dword [esp + 0x81c]
push esi
push edi
push 0x800
mov edi, ecx
lea ecx, [esp + 0x1c]
push 0
push ecx
mov esi, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
call fcn.00432320
mov ecx, 8
add esp, 0xc
cmp dword [edi + 0x1c], ecx
jb 0x40e400
mov edi, dword [edi + 8]
jmp 0x40e402
add edi, ecx
cmp dword [ebx + 0x18], ecx
jb 0x40e40c
mov ebx, dword [ebx + 4]
jmp 0x40e40f
add ebx, 4
cmp dword [ebp + 0x18], ecx
jb 0x40e419
mov ebp, dword [ebp + 4]
jmp 0x40e41c
add ebp, 4
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x18], ecx
jb 0x40e42a
mov eax, dword [eax + 4]
jmp 0x40e42d
add eax, 4
push edi
push 0x400
lea edx, [esp + 0x20]
push edx
push ebx
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
test eax, eax
jbe 0x40e476
xor eax, eax
mov word [esi + 4], ax
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e460
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x1c]
jmp 0x40e482
xor ecx, ecx
mov word [esi + 4], cx
push ecx
mov eax, 0x451270
call fcn.00405070
mov ecx, dword [esp + 0x818]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042f892
add esp, 0x80c
ret 0xc

Function at 0x410e40
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x448c18
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x45e680]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 8]
push 0x45150c
push ecx
mov dword [esp + 0x1c], 0
call fcn.0040bdf0
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410ea9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410ed1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x410ef0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4492c0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
push edi
mov eax, dword [0x45e680]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [esp + 0x78]
mov esi, dword [eax]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x41102e
push 0x44
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.00432320
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esi - 0x10]
push eax
mov dword [esp + 0x34], 0x44
call fcn.004042b0
lea esi, [eax + 0x10]
add esp, 0x10
mov dword [esp + 0xc], esi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
mov dword [esp + 0x98], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x411042
push 0x451270
lea ecx, [esp + 0x7c]
call fcn.00404a10
mov byte [esp + 0x70], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x7c]
push str.Tools:_ExecuteApplication::CreateProcess_failed___d_
push ecx
call fcn.00404440
mov eax, dword [esp + 0x84]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x14], esp
mov edi, esp
push eax
call fcn.004042b0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00410e40
mov byte [esp + 0x74], 0
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41100a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x70], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41102e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x68
ret
mov ecx, dword [esp + 0x14]
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0x18]
push eax
call edi
lea eax, [esi - 0x10]
mov dword [esp + 0x70], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411087
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x68
ret
Function at 0x411810
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x448a28
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x45e680]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [edi + 0x20]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041384d
mov ebx, eax
mov eax, dword [edi + 0x20]
lea ecx, [eax + eax + 2]
push ecx
push 0
push ebx
call fcn.00432320
mov eax, dword [esp + 0x50]
mov ecx, dword [edi + 0x20]
lea edx, [esp + 0x54]
push edx
push eax
push 0xffffffffffffffff
push ecx
push ebx
call fcn.0042fdde
add esp, 0x24
xor edx, edx
mov eax, ebx
mov word [esp + 0x14], dx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411896
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea esi, [esp + 0x14]
call fcn.00405070
mov esi, vtable.CStlStringW.0
mov dword [esp + 0xc], esi
mov dword [esp + 0x2c], 0x400
lea eax, [esp + 0xc]
mov dword [esp + 0x38], 0
cmp edi, eax
je 0x4118e9
push 0xffffffffffffffff
push 0
lea ecx, [edi + 4]
lea eax, [esp + 0x18]
call fcn.00405120
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x20], ecx
cmp dword [esp + 0x28], 8
mov dword [esp + 0xc], esi
mov dword [esp + 0x2c], 0
jb 0x411909
mov edx, dword [esp + 0x14]
push edx
call fcn.00413858
add esp, 4
push ebx
call fcn.00413858
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x411ba0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x448983
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x45e680]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
mov eax, dword [0x45e680]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [edi + 0x18]
mov ebx, ecx
mov dword [esp + 0x10], ebx
test eax, eax
je 0x411de1
mov edx, dword [ebx + 0x18]
cmp eax, edx
ja 0x411de1
mov ecx, eax
lea ebp, [ebx + 4]
sub edx, ecx
push ebp
lea esi, [esp + 0x3c]
call fcn.00412580
xor ecx, ecx
mov dword [esp + 0xa0], ecx
push 0xffffffffffffffff
mov dword [esp + 0x8c], ecx
xor edx, edx
push ecx
mov esi, 7
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], esi
mov word [esp + 0x80], dx
call fcn.00405120
mov dword [esp + 0x70], vtable.CStlStringW.0
mov dword [esp + 0x90], 0x400
mov byte [esp + 0xa0], 2
cmp dword [esp + 0x50], 8
jb 0x411c68
mov eax, dword [esp + 0x3c]
push eax
call fcn.00413858
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], cx
jmp 0x411c84
mov ebx, dword [esp + 0x10]
lea edx, [esp + 0x70]
cmp edi, edx
je 0x411ce8
mov ecx, dword [esp + 0x78]
mov eax, 8
cmp dword [esp + 0x8c], eax
jae 0x411ca2
lea ecx, [esp + 0x78]
cmp dword [edi + 0x1c], eax
jb 0x411cac
mov eax, dword [edi + 8]
jmp 0x411cb0
lea eax, [edi + 8]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411cd6
test dx, dx
je 0x411cd2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411cd6
add eax, 4
add ecx, 4
test dx, dx
jne 0x411cb0
xor eax, eax
jmp 0x411cdb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x411dd8
mov eax, dword [edi + 0x18]
mov ebx, dword [ebx + 0x18]
sub ebx, eax
mov esi, ebp
call fcn.00405230
mov esi, dword [esp + 0x10]
mov eax, dword [edi + 0x18]
mov edx, dword [esi + 0x18]
cmp eax, edx
ja 0x411dcb
mov ecx, eax
sub edx, ecx
push ebp
lea esi, [esp + 0x58]
call fcn.00412580
mov byte [esp + 0xa0], 3
xor ecx, ecx
xor esi, esi
push 0xffffffffffffffff
mov word [esp + 0x20], cx
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], esi
call fcn.00405120
mov ebx, vtable.CStlStringW.0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], 0x400
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x20]
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 4
call fcn.00405120
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], ebx
mov ebx, 8
mov dword [esp + 0x90], edx
mov dword [esp + 0x34], esi
cmp dword [esp + 0x30], ebx
jb 0x411d94
mov eax, dword [esp + 0x1c]
push eax
call fcn.00413858
add esp, 4
xor ecx, ecx
mov byte [esp + 0xa0], 2
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], esi
mov word [esp + 0x1c], cx
cmp dword [esp + 0x6c], ebx
jb 0x411c80
mov edx, dword [esp + 0x58]
push edx
call fcn.00413858
add esp, 4
jmp 0x411c80
lea ecx, [esp + 0x70]
call fcn.004114f0
mov eax, esi
jmp 0x411de3
lea ecx, [esp + 0x70]
call fcn.004114f0
mov eax, ebx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.0042f892
add esp, 0x94
ret
Function at 0x412070
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x448b68
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x45e680]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
xor eax, eax
mov word [esp + 0x1c], ax
mov eax, 0x450f80
mov dword [esp + 0x10], ebx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4120c0
sub eax, edx
sar eax, 1
push eax
mov eax, 0x450f80
lea esi, [esp + 0x1c]
call fcn.00405070
mov esi, vtable.CStlStringW.0
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], 0x400
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x44], ebx
call fcn.00411f60
cmp dword [esp + 0x30], 8
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], ebx
jb 0x41211d
mov edx, dword [esp + 0x1c]
push edx
call fcn.00413858
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret 4

Function at 0x412f50
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x412fbe
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x412f8f
cmp eax, 2
jne 0x412faa
mov eax, dword [esp]
test esi, esi
je 0x412fb8
test eax, eax
je 0x412fb3
test al, 1
jne 0x412faa
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x412fb8
mov eax, 0xd
pop ecx
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8

Function at 0x414f9c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x414fe4
call fcn.00417996
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x414fe4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x415027
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x415010
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x415010
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x415024
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4183cf
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 0x4183f3
cmp dword [edi + 0x54], 0
jne 0x4183f3
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00417996
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.00418390
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 0x418b56
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4474ba
call fcn.00431b9b
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x418b7b
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x418bc1
lea ecx, [ebp - 0x10]
call fcn.00404460
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004138bc
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00404740
mov eax, esi
call fcn.00431c73
ret 8

Function at 0x41f134
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 0x41f17b
call fcn.00417996
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41f17b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41f197
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041ecac
mov esi, eax
test edi, edi
je 0x41f195
test ebx, ebx
je 0x41f195
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4368cb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax + eax]
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00436010
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00435fc5
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
invalid
invalid
invalid
cld
Function at 0x440c6e
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.004358fa
and dword [ebp - 4], 0
cmp dword [0x46281c], 0
mov ebx, eax
jne 0x440d1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x440dd0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x440dd0
push eax
call fcn.00435888
mov dword [esp], 0x44f690
push edi
mov dword [0x46281c], eax
call esi
push eax
call fcn.00435888
mov dword [esp], 0x44f67c
push edi
mov dword [0x462820], eax
call esi
push eax
call fcn.00435888
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x462824], eax
call esi
push eax
call fcn.00435888
pop ecx
mov dword [0x46282c], eax
test eax, eax
je 0x440d1f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00435888
pop ecx
mov dword [0x462828], eax
mov eax, dword [0x462828]
cmp eax, ebx
je 0x440d77
cmp dword [0x46282c], ebx
je 0x440d77
push eax
call fcn.00435903
push dword [0x46282c]
mov esi, eax
call fcn.00435903
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x440d77
test edi, edi
je 0x440d77
call esi
test eax, eax
je 0x440d6e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x440d6e
test byte [ebp - 0xc], 1
jne 0x440d77
or dword [ebp + 0x10], 0x200000
jmp 0x440db0
mov eax, dword [0x462820]
cmp eax, ebx
je 0x440db0
push eax
call fcn.00435903
pop ecx
test eax, eax
je 0x440db0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x440db0
mov eax, dword [0x462824]
cmp eax, ebx
je 0x440db0
push eax
call fcn.00435903
pop ecx
test eax, eax
je 0x440db0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46281c]
call fcn.00435903
pop ecx
test eax, eax
je 0x440dd0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x440dd2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44bad0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
mov dword [esi], 0
mov al, byte [0x66304a]
mov cl, byte [0x66304d]
mov edx, dword [0x663030]
and cl, al
mov eax, dword [0x663034]
mov byte [0x66304d], cl
mov ecx, eax
shr ecx, 2
sub edx, ecx
xor ecx, ecx
mov cl, byte [0x663043]
mov dword [0x663030], edx
mov edx, dword [0x663038]
push edi
or edx, 7
imul edx, ecx
and eax, edx
mov dword [0x663034], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x44bb38
or dword [esi], 0x2000000
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [0x666aac], eax
call fcn.0044ba10
push edi
call dword [sym.imp.USER32.dll_CopyIcon]
push 0
mov dword [0x666aac], eax
call sub.comdlg32.dll_FindTextW
mov eax, dword [esp + 0xc]
pop edi
pop esi
ret

Function at 0x589d25
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
pushfd
enter 0xffffffffffffa573, 0x69
fnsave dword [eax]
adc dword [0xde9420e5], esi
add ebp, 0x45
inc ecx
inc edx
invalid

Function at 0x659d0d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x663398
cmp edx, dword [eax]
je 0x659d2f
add eax, 8
inc ecx
cmp eax, 0x663428
jl 0x659d20
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x663398]
jne 0x659e5d
mov eax, dword [0xa600f4]
cmp eax, 1
je 0x659e37
test eax, eax
jne 0x659d60
cmp dword [0x6632c4], 1
je 0x659e37
cmp edx, 0xfc
je 0x659e5d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x659d97
lea eax, [ebp - 0x1a4]
push 0x65fbe8
push eax
call fcn.0065a6f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065ab80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x659dda
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065ab80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65fbe4
push edi
call fcn.0065ca50
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65fbc8
push eax
call fcn.0065a6f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0065a700
lea eax, [ebp - 0xa0]
push 0x65fbc4
push eax
call fcn.0065a700
push dword [esi + 0x66339c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0065a700
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65fb9c
push eax
call fcn.0065c9c4
add esp, 0x2c
pop edi
jmp 0x659e5d
lea eax, [ebp + 8]
lea esi, [esi + 0x66339c]
push 0
push eax
push dword [esi]
call fcn.0065ab80
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x405e50
Capabilities:
Allocate thread local storage

Disassembly:
insd dword es:[edi], dx
loope 0x405e03
rep movsb byte es:[edi], byte [esi]
push ebx
call dword [0x90c054]
mov esi, dword [0x405528]
xchg esp, eax
salc
retf 0x5b08
push ebp
mov ebp, esp
pop ecx
mov edx, edi
je 0x405eab
mov ebx, dword [ebp + 0x10]
push esi
test dword [0xbb183457], ebx
add dword [eax], eax
inc ecx
outsd dx, dword [esi]
cmp word [eax], 0
jne 0x405dfd
cmp word [eax + 2], 0
je 0x405e79
inc ebx
add eax, 2
jmp 0x405e66
sub eax, dword [ebp + 0xc]
add eax, eax
add dl, cl
clc
mov dword [ebp + 0x10], eax
lea eax, [ebx*4 + 0xf7ec]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
aaa