joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54230c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x542314
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x5424d4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x78]
xor edx, edx
mov al, byte [ebx + 4]
call fcn.0040a0ac
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0xb
lea ecx, [ebp - 0x7c]
xor edx, edx
mov al, byte [ebx + 5]
call fcn.0040a0ac
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea ecx, [ebp - 0x80]
xor edx, edx
mov al, byte [ebx + 9]
call fcn.0040a0ac
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
push dword [ebx + 0x14]
push dword [ebx + 0x10]
lea eax, [ebp - 0x84]
call fcn.0040bc8c
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
lea ecx, [ebp - 0x88]
xor edx, edx
mov al, byte [ebx + 0x18]
call fcn.0040a0ac
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
push dword [ebx + 0x24]
push dword [ebx + 0x20]
lea eax, [ebp - 0x8c]
call fcn.0040bc8c
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
lea ecx, [ebp - 0x90]
xor edx, edx
mov al, byte [ebx + 6]
call fcn.0040a0ac
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
lea edx, [ebp - 0x94]
mov eax, dword [ebx + 0x38]
call fcn.00409d30
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea ecx, [ebp - 0x98]
xor edx, edx
mov al, byte [ebx + 8]
call fcn.0040a0ac
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
lea edx, [ebp - 0x9c]
mov eax, dword [ebx + 0x3c]
call fcn.00409d30
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
lea edx, [ebp - 0xa0]
mov eax, dword [ebx + 0x28]
call fcn.00409d30
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0xa4]
mov eax, dword [ebx + 0x34]
call fcn.00409d30
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea edx, [ebp - 0x74]
mov ecx, 0xd
mov eax, 0x5424e8
call fcn.0040b23c
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x48]
call fcn.00404b10
mov eax, dword [ebx + 0x48]
call fcn.0053fc98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5424db
lea eax, [ebp - 0xa4]
mov edx, 0xc
call fcn.00404ae0
lea eax, [ebp - 4]
call fcn.00404abc
ret
Function at 0x542594
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x54266e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x6549f8]
mov edx, dword [edx]
lea eax, [ebp - 0xc]
mov ecx, 0x542684
call fcn.00404dd8
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
mov edx, 0x542694
call fcn.0040a608
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x44bb64]
call fcn.0044bc14
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x54264c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x2c]
push eax
mov ecx, 0x5426a4
mov edx, 0x542684
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebx + 0x30]
push eax
mov ecx, 0x5426b4
mov edx, 0x542684
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
mov al, byte [ebx + 7]
push eax
mov ecx, 0x5426c0
mov edx, 0x542684
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x542653
mov eax, dword [ebp - 4]
call fcn.00403c2c
ret
Function at 0x55fda4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x40
call fcn.00404abc
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.00404abc
xor eax, eax
push ebp
push 0x55fe0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
call fcn.00564664
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x3c
call fcn.00404abc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x55fe60
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x57889c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x578996
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41dbe8]
call fcn.00403bfc
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x17c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005aea58
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0xc]
mov ecx, dword [ebx + 8]
mov edx, 0x5789ac
call fcn.00404dd8
mov edx, dword [ebp - 0xc]
mov ecx, 0x5789bc
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebx + 0x48]
push eax
lea eax, [ebp - 0x10]
mov ecx, dword [ebx + 8]
mov edx, 0x5789ac
call fcn.00404dd8
mov edx, dword [ebp - 0x10]
mov ecx, 0x5789cc
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebx + 0x4c]
push eax
lea eax, [ebp - 0x14]
mov ecx, dword [ebx + 8]
mov edx, 0x5789ac
call fcn.00404dd8
mov edx, dword [ebp - 0x14]
mov ecx, 0x5789dc
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebx + 0x22c]
push eax
lea eax, [ebp - 0x18]
mov ecx, dword [ebx + 8]
mov edx, 0x5789ac
call fcn.00404dd8
mov edx, dword [ebp - 0x18]
mov ecx, 0x5789ec
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
call fcn.00403c2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57899d
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00404ae0
ret
Function at 0x58c840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x58c95c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
inc dword [eax + 4]
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xdc]
mov eax, dword [eax + 0xf4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.005aeb10
mov eax, dword [0x654ce4]
fld xword [eax]
fmulp st(1)
fstp xword [ebp - 0x10]
wait
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xa8]
mov dword [eax + 0x28], ecx
mov ecx, dword [edx + 0xac]
mov dword [eax + 0x2c], ecx
mov cx, word [edx + 0xb0]
mov word [eax + 0x30], cx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.005889c0
mov esi, eax
dec esi
test esi, esi
jl 0x58c931
inc esi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, ebx
call fcn.005889c8
fld xword [eax + 8]
fld xword [ebp - 0x10]
faddp st(1)
mov eax, dword [ebp - 4]
fstp xword [eax + 0x18]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, ebx
call fcn.005889c8
mov eax, dword [eax + 4]
mov edx, dword [0x5bcd70]
call fcn.00403db8
test al, al
jne 0x58c92d
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, ebx
call fcn.005889c8
mov eax, dword [eax + 4]
call fcn.0058c808
pop ecx
inc ebx
dec esi
jne 0x58c8d2
mov eax, dword [ebp - 4]
fld xword [eax + 0xe0]
fld xword [ebp - 0x10]
faddp st(1)
mov eax, dword [ebp - 4]
fstp xword [eax + 0x18]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58c963
lea eax, [ebp - 0x14]
call fcn.00404abc
ret
Function at 0x6455f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404f7c
xor eax, eax
push ebp
push 0x6456c5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x1c]
mov edx, dword [ebp - 4]
call fcn.00404b10
lea eax, [ebx + 0x20]
mov edx, dword [ebx + 0x1c]
call fcn.00404d94
mov eax, dword [ebx + 0x28]
push eax
mov eax, dword [0x654f40]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call fcn.00407ecc
mov esi, dword [ebx + 0x28]
cmp esi, 0x64
jne 0x64567a
push 0x645874
push 0x2ee0
push esi
mov eax, dword [0x654f40]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call fcn.0040806c
test eax, eax
jne 0x6456af
mov ecx, 0x6456dc
mov dl, 1
mov eax, dword [0x41d1d8]
call fcn.0040e3f0
call fcn.004044bc
jmp 0x6456af
push 0x64592c
push 0x2ee0
push esi
mov eax, dword [0x654f40]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call fcn.0040806c
test eax, eax
jne 0x6456af
mov ecx, 0x6456dc
mov dl, 1
mov eax, dword [0x41d1d8]
call fcn.0040e3f0
call fcn.004044bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6456cc
lea eax, [ebp - 4]
call fcn.00404abc
ret
Function at 0x7673f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x76c494]
cmp dword [eax + 0x28], 0
jne 0x767408
xor eax, eax
jmp 0x767537
mov ecx, dword [0x76c414]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [0x76c408], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [0x76c404], eax
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x10], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x76c408]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x76c404]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x40]
shr eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
shr ecx, 1
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [0x76c48c]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x80000000
push 0x76b604
push 0x76b620
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [0x76c400], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00767330
push 5
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x7673c0
mov edx, dword [0x76c494]
mov eax, dword [edx + 0x34]
imul eax, eax, 0x3e8
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x76c40c], eax
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x767537
cmp dword [ebp - 0x38], 0x12
jne 0x76752b
mov dword [0x76c41c], 0
call fcn.00767540
xor eax, eax
jmp 0x767537
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x7674fc
mov esp, ebp
pop ebp
ret 4

Function at 0x768840
Capabilities:
Read .ini file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebp
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
pop ebp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x76920c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x76b118
sub eax, eax
test esi, esi
je 0x7692e4
sub eax, 1
test ecx, ecx
je 0x7692e2
test esi, 3
je 0x76924a
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x76922f
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x7692c9
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x769254
mov ecx, edx
test ecx, ecx
je 0x7692e2
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x7692cf
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x7692ec
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0076936f
jae 0x7692fa
xor ecx, ecx
call fcn.0076936f
jae 0x769329
xor eax, eax
call fcn.0076936f
jae 0x769339
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0076936f
adc al, al
jae 0x76931b
jne 0x769365
stosb byte es:[edi], al
jmp 0x7692fd
call fcn.0076937b
sub ecx, ebx
jne 0x769342
call fcn.00769379
jmp 0x769361
lodsb al, byte [esi]
shr eax, 1
je 0x76938b
adc ecx, ecx
jmp 0x76935e
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00769379
cmp eax, 0x7d00
jae 0x76935e
cmp ah, 5
jae 0x76935f
cmp eax, 0x7f
ja 0x769360
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7692fd
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x769c7c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x76c000]
jne 0x769c86
repz ret
jmp fcn.00769f2d
Function at 0x402756
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp edi, 0x5c9f243
jg 0x402785
inc edi
cmp edi, 0x1e70dee2
jl 0x402765
cmp dword [0x453104], 0x400
jne 0x4027d7
push 0x449478
push str.secezu
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
lea eax, [ebp - 0x400]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push esi
call fcn.004028f3
push esi
push esi
call fcn.0040292d
pop ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00402a7a
fstp st(0)
push esi
call fcn.00402aeb
add esp, 0xc
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x58bc6e
jg 0x4027f6
inc edi
cmp edi, 0xe52f
jl 0x4027d9
mov eax, dword [0x44b0b4]
mov dword [0x453104], eax
call fcn.004024b3
mov edi, 0x3078f
cmp dword [0x453104], 0x51f
jne 0x402824
push esi
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec edi
jne 0x40280a
pop edi
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x405bd8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44a328]
jne 0x405be2
repz ret
jmp fcn.004080bc
Function at 0x4066c3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44a328]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403c63
and dword [ebp - 0x14], 0
cmp dword [0x44cd10], 0
mov dword [ebp - 0x18], eax
jne 0x406776
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40681e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40681e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44cd10], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44cd14], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44cd18], eax
call edi
push eax
call esi
mov dword [0x44cd20], eax
test eax, eax
je 0x406776
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44cd1c], eax
mov eax, dword [0x44cd1c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4067cf
cmp dword [0x44cd20], ecx
je 0x4067cf
push eax
call esi
push dword [0x44cd20]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4067cf
test ebx, ebx
je 0x4067cf
call edi
test eax, eax
je 0x4067c6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4067c6
test byte [ebp - 8], 1
jne 0x4067cf
or dword [ebp + 0x10], 0x200000
jmp 0x406802
mov eax, dword [0x44cd14]
cmp eax, dword [ebp - 0x18]
je 0x406802
push eax
call esi
test eax, eax
je 0x406802
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406802
mov eax, dword [0x44cd18]
cmp eax, dword [ebp - 0x18]
je 0x406802
push eax
call esi
test eax, eax
je 0x406802
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44cd10]
call esi
test eax, eax
je 0x40681e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406820
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405bd8
leave
ret
Function at 0x42f2e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f225b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004df962
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42f362
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004dc6a4
mov eax, dword [eax]
push 0x527ea0
push eax
call fcn.004ce2c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004dfbed
test bl, bl
je 0x42f362
push 0x527ea0
lea ecx, [esp + 0xc]
call fcn.004dffc9
push 0x527eac
lea ecx, [esp + 0xc]
call fcn.004dffc9
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42f39e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004dfbed
jmp 0x42f469
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x42f422
lea edx, [esp + 0x7c]
push 0x527ea8
push edx
call fcn.004ce2c4
add esp, 8
test eax, eax
je 0x42f422
lea eax, [esp + 0x7c]
push 0x527ea4
push eax
call fcn.004ce2c4
add esp, 8
test eax, eax
je 0x42f422
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42f3b2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004dfbed
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4306e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x430742
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x430750
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f23bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x58571c]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x430888
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4307b6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004dfbed
xor eax, eax
jmp 0x4308ff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004dfd76
push esi
lea ecx, [esp + 0xc]
call fcn.004e0005
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4308dd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.004306e0
test eax, eax
jne 0x4308dd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocStringLen
mov ecx, edi
call fcn.004306e0
test eax, eax
jne 0x4308dd
lea eax, [esp + 0x14]
push 0x527ecc
push eax
call fcn.004cf4b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4308bc
lea ecx, [esp + 0x14]
push 0x527ec8
push ecx
call fcn.004cf430
mov esi, eax
add esp, 8
test esi, esi
jne 0x4308bc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4308bf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004dfd26
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4307ce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004dfbed
xor eax, eax
jmp 0x4308ff
mov byte [esi], 0
push 0x527ec4
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004dfbed
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4