joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c2f0
Capabilities:
Encode data using base64

Disassembly:
push 0x70
mov eax, 0x49a555
call fcn.0047a393
mov dword [ebp - 0x70], edx
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x74], eax
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], eax
mov byte [edi], al
xor ebx, ebx
mov dword [ebp - 4], eax
inc ebx
lea ecx, [ebp - 0x60]
mov edx, 0x2733
mov dword [ebp - 0x74], ebx
mov esi, eax
call fcn.0041f3fe
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00414d61
push 3
pop ebx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0041f857
mov eax, dword [ebp + 8]
test eax, eax
je 0x43c491
mov ecx, dword [ebp - 0x70]
dec eax
mov dword [ebp + 8], eax
mov al, byte [ecx]
mov byte [ebp + esi - 0x64], al
inc esi
mov dl, byte [ebp - 0x63]
inc ecx
mov dword [ebp - 0x70], ecx
mov ch, byte [ebp - 0x62]
mov cl, byte [ebp - 0x64]
mov byte [ebp - 0x6b], ch
mov byte [ebp - 0x69], dl
mov byte [ebp - 0x6a], cl
cmp esi, ebx
jne 0x43c3dc
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x68], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x67], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x66], cl
mov byte [ebp - 0x65], al
xor esi, esi
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
movzx eax, byte [ebp + esi - 0x68]
cmovae ecx, dword [ebp - 0x2c]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
push 1
call fcn.00429d40
inc esi
cmp esi, 4
jl 0x43c3ad
mov dl, byte [ebp - 0x69]
xor esi, esi
mov cl, byte [ebp - 0x6a]
mov ch, byte [ebp - 0x6b]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x43c352
mov dword [ebp - 0x70], esi
test esi, esi
je 0x43c491
mov eax, esi
cmp esi, ebx
jge 0x43c413
cmp eax, ebx
jae 0x43c4a5
mov byte [ebp + eax - 0x64], 0
inc eax
cmp eax, ebx
jl 0x43c3fa
mov ch, byte [ebp - 0x62]
mov dl, byte [ebp - 0x63]
mov cl, byte [ebp - 0x64]
and dword [ebp - 0x64], 0
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x68], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x67], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x65], ch
lea eax, [esi + 1]
mov byte [ebp - 0x66], dl
mov dword [ebp - 0x78], eax
test eax, eax
jle 0x43c47d
mov ebx, dword [ebp - 0x64]
mov esi, eax
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
movzx eax, byte [ebp + ebx - 0x68]
cmovae ecx, dword [ebp - 0x2c]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
push 1
call fcn.00429d40
inc ebx
cmp ebx, esi
jl 0x43c454
mov esi, dword [ebp - 0x70]
push 3
pop ebx
cmp esi, ebx
jge 0x43c491
sub ebx, esi
push 0x3d
push 1
mov ecx, edi
call fcn.00429d40
dec ebx
jne 0x43c483
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00413694
mov eax, edi
call fcn.0047a342
ret
call fcn.00477615
int3
Function at 0x43dd8b
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0x74
mov eax, 0x49a74d
call fcn.0047a393
mov edi, ecx
mov ebx, dword [edi + 4]
mov esi, dword [edi]
jmp 0x43ddaa
mov ecx, esi
call fcn.0041e3da
add esi, 0x48
cmp esi, ebx
jne 0x43dda0
mov eax, dword [edi]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 7
mov ebx, eax
xor esi, esi
pop edx
xor eax, eax
mov ecx, esi
inc eax
shl eax, cl
test ebx, eax
je 0x43df1d
and dword [ebp - 0x48], 0
xor eax, eax
and dword [ebp - 0x30], eax
and dword [ebp - 0x18], eax
mov dword [ebp - 0x44], edx
mov word [ebp - 0x58], ax
mov dword [ebp - 0x2c], edx
mov word [ebp - 0x40], ax
mov dword [ebp - 0x14], edx
mov word [ebp - 0x28], ax
and dword [ebp - 4], eax
lea ecx, [ebp - 0x58]
lea eax, [esi + 0x41]
push eax
push 1
call fcn.0043e03f
push 0x4afe58
call fcn.00413cf3
pop ecx
push eax
push 0x4afe58
lea ecx, [ebp - 0x58]
call fcn.0041521e
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x43df0e
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x78]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x43ded1
mov eax, dword [ebp - 0x78]
mul dword [ebp - 0x74]
push 0
push dword [ebp - 0x7c]
push edx
push eax
call fcn.0047baa0
shrd eax, edx, 0xa
lea ecx, [ebp - 0x70]
shr edx, 0xa
push edx
push eax
call fcn.0043d9de
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00414e05
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.00415035
mov eax, dword [ebp - 0x78]
mul dword [ebp - 0x74]
push 0
push dword [ebp - 0x80]
push edx
push eax
call fcn.0047baa0
shrd eax, edx, 0xa
lea ecx, [ebp - 0x70]
shr edx, 0xa
push edx
push eax
call fcn.0043d9de
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00414e05
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.00415035
jmp 0x43df03
push 0x4afe88
call fcn.00413cf3
pop ecx
push eax
push 0x4afe88
lea ecx, [ebp - 0x28]
call fcn.004152c1
push 0x4afe88
call fcn.00413cf3
pop ecx
push eax
push 0x4afe88
lea ecx, [ebp - 0x40]
call fcn.004152c1
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.0043dfb6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0041e3da
push 7
pop edx
inc esi
cmp esi, 0x20
jb 0x43ddc0
call fcn.0047a342
ret
Function at 0x43e3ae
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x790
mov eax, dword [0x4c6760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x78c]
push 0x40
push edi
push eax
mov dword [ebp - 0x790], edi
call fcn.00478570
add esp, 0xc
lea eax, [ebp - 0x210]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x748], xmm0
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, 0x114
lea eax, [ebp - 0x738]
push esi
push edi
push eax
call fcn.00478570
add esp, 0xc
mov dword [ebp - 0x738], esi
lea eax, [ebp - 0x738]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x734], 6
lea ecx, [ebp - 0x210]
push ecx
jb 0x43e449
cmp dword [0x4cef30], 8
mov eax, 0x4cef1c
cmovae eax, dword [0x4cef1c]
jmp 0x43e45c
cmp dword [0x4cef64], 8
mov eax, 0x4cef50
cmovae eax, dword [0x4cef50]
push eax
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x748]
push eax
lea eax, [ebp - 0x790]
push eax
push edi
push edi
push 0x8000000
push edi
push edi
push edi
lea eax, [ebp - 0x620]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x744]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x748]
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00476051
mov esp, ebp
pop ebp
ret
Function at 0x43f50a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x4c6760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x1f4
lea eax, [ebp - 0x314]
push 0
push eax
call fcn.00478570
mov esi, 0x114
lea eax, [ebp - 0x120]
push esi
push 0
mov ebx, 0x1f8
push eax
mov dword [ebp - 0x318], ebx
call fcn.00478570
add esp, 0x18
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jae 0x43f577
sub dword [ebp - 0x318], 4
push 0
lea eax, [ebp - 0x318]
push eax
push ebx
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00476051
mov esp, ebp
pop ebp
ret

Function at 0x43f612
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4c6760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
push eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x43f663
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
cmp dword [ebp - 0x10], 0
pop ebx
je 0x43f673
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00476051
mov esp, ebp
pop ebp
ret

Function at 0x43fb22
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov bl, byte [ebp + 8]
xor eax, eax
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
push edi
push 5
mov edi, ecx
pop ecx
cmovne eax, ecx
push eax
push dword [edi + 8]
mov dword [ebp + 8], eax
call esi
push 0x4b01d8
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetPropW]
push 0
push eax
call esi
mov esi, dword [edi + 0x14]
mov byte [edi + 0x48], bl
mov ebx, dword [ebp + 8]
push ebx
cmp esi, dword [edi + 0x18]
je 0x43fb75
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 0x14
jmp 0x43fb62
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4423ec
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
add ecx, 0x18
call fcn.0041bd59
call fcn.0043e3ae
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x445957
Capabilities:
Create thread

Disassembly:
push esi
push edi
push 8
mov edi, ecx
call fcn.00448a20
mov edx, eax
xor esi, esi
pop ecx
test edx, edx
je 0x445972
mov dword [edx], esi
mov dword [edx + 4], esi
jmp 0x445974
mov edx, esi
mov eax, dword [edi + 0x98]
push esi
push esi
push edx
push 0x41b35a
mov dword [edx], eax
mov eax, dword [edi + 0x20]
push esi
push esi
mov dword [edx + 4], eax
call fcn.00476889
push 8
call fcn.00448a20
mov ecx, eax
add esp, 0x1c
test ecx, ecx
je 0x4459a8
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x4459aa
mov ecx, esi
mov eax, dword [edi + 0x98]
push esi
push esi
push ecx
push 0x41b332
mov dword [ecx], eax
mov eax, dword [edi + 0x20]
push esi
push esi
mov dword [ecx + 4], eax
call fcn.00476889
add esp, 0x18
pop edi
pop esi
ret

Function at 0x4459cd
Capabilities:
Terminate process

Disassembly:
mov eax, dword [ecx + 0x98]
cmp byte [eax + 0xd72], 0
je 0x4459f0
cmp dword [eax + 0xdd8], 0
jne 0x4459f0
mov ecx, dword [ecx + 0x9c]
jmp fcn.004423ec
ret

Function at 0x445ef5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49b970
mov eax, dword fs:[0]
push eax
sub esp, 0x8d0
mov eax, dword [0x4c6760]
xor eax, esp
mov dword [esp + 0x8c8], eax
push ebx
push esi
push edi
mov eax, dword [0x4c6760]
xor eax, esp
push eax
lea eax, [esp + 0x8e0]
mov dword fs:[0], eax
mov edi, ecx
and dword [esp + 0x18], 0
mov esi, 0x7d2
mov ecx, dword [edi + 0x98]
call fcn.0041699a
mov dword [esp + 0x14], eax
test eax, eax
je 0x44602d
cmp eax, 4
jne 0x446032
mov ecx, dword [edi + 0x98]
lea eax, [esp + 0x304]
push eax
call fcn.0043b08e
and dword [esp + 0x8e8], 0
xor ebx, ebx
inc ebx
cmp dword [eax + 0x1bc], 0
mov dword [esp + 0x18], ebx
jbe 0x445fad
mov ecx, dword [edi + 0x98]
lea eax, [esp + 0x1c]
push eax
call fcn.0043b08e
push 3
pop ebx
mov byte [esp + 0x13], 1
cmp dword [eax + 0x224], 0
je 0x445fb2
mov byte [esp + 0x13], 0
test bl, 2
je 0x445fc3
lea ecx, [esp + 0x1c]
and ebx, 0xfffffffd
call fcn.0041410e
or dword [esp + 0x8e8], 0xffffffff
test bl, 1
je 0x445fdc
lea ecx, [esp + 0x304]
call fcn.0041410e
cmp byte [esp + 0x13], 0
je 0x446022
mov ecx, dword [edi + 0x98]
lea eax, [esp + 0x5ec]
push eax
call fcn.0043b08e
add eax, 0x1c4
cmp dword [eax + 0x14], 8
jb 0x446003
mov eax, dword [eax]
push 1
xor ecx, ecx
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x5ec]
call fcn.0041410e
mov eax, dword [esp + 0x14]
mov esi, 0x7d1
jmp 0x446032
mov esi, 0x7d0
push eax
push esi
push 0x401
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x8e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8c8]
xor ecx, esp
call fcn.00476051
mov esp, ebp
pop ebp
ret
Function at 0x4466be
Capabilities:
Get graphical window text
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49bb25
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x4c6760]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x4c6760]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
test edi, edi
je 0x446722
imul eax, eax, 0x64
xor edx, edx
div edi
mov ebx, eax
jmp 0x446725
push 0x64
pop ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push ebx
push 0x402
push dword [ecx + 0x34]
call esi
mov edx, ebx
lea ecx, [esp + 0x50]
call fcn.00415df8
and dword [esp + 0x178], 0
lea ecx, [esp + 0x68]
push 0x4b1924
mov edx, eax
call fcn.0041d77e
pop ecx
mov ebx, dword [esp + 0x1c]
mov edx, eax
mov byte [esp + 0x178], 1
lea ecx, [ebx + 0x18]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0041d756
pop ecx
push 0
push 1
lea ecx, [esp + 0x70]
call fcn.00415035
push 0
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x180], 4
call fcn.00415035
cmp dword [esp + 0x4c], 8
lea eax, [esp + 0x38]
cmovae eax, dword [esp + 0x38]
push eax
push 0
push 0xc
push dword [ebx + 0x30]
call esi
push ecx
push str.Downloaded
lea ecx, [esp + 0xd4]
call fcn.0041f6c7
push dword [esp + 0x14]
lea edx, [esp + 0xd0]
mov byte [esp + 0x17c], 5
lea ecx, [esp + 0x104]
call fcn.0043013e
pop ecx
add eax, 0x18
mov byte [esp + 0x178], 6
push eax
lea ecx, [esp + 0x24]
call fcn.00414d87
lea ecx, [esp + 0x100]
call fcn.0041f857
lea ecx, [esp + 0xcc]
mov byte [esp + 0x178], 9
call fcn.0041f857
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push 0
push dword [esp + 0x1c]
call fcn.00431f65
pop ecx
pop ecx
push 0xffffffffffffffff
mov byte [esp + 0x17c], 0xa
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.00415178
push 0
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x180], 9
call fcn.00415035
push ecx
push str._from
lea ecx, [esp + 0xa0]
call fcn.0041f6c7
push dword [esp + 0x14]
lea edx, [esp + 0x9c]
mov byte [esp + 0x17c], 0xb
lea ecx, [esp + 0x138]
call fcn.0043013e
pop ecx
push 0xffffffffffffffff
push 0
add eax, 0x18
mov byte [esp + 0x180], 0xc
push eax
lea ecx, [esp + 0x2c]
call fcn.00415178
lea ecx, [esp + 0x134]
call fcn.0041f857
lea ecx, [esp + 0x98]
mov byte [esp + 0x178], 9
call fcn.0041f857
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x80]
push 0
push edi
call fcn.00431f65
pop ecx
pop ecx
push 0xffffffffffffffff
xor edi, edi
mov byte [esp + 0x17c], 0xd
push edi
push eax
lea ecx, [esp + 0x2c]
call fcn.00415178
push edi
push 1
lea ecx, [esp + 0x88]
call fcn.00415035
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push edi
push 0xc
push dword [ebx + 0x38]
call esi
push edi
push 1
lea ecx, [esp + 0x28]
call fcn.00415035
push edi
push 1
lea ecx, [esp + 0x40]
call fcn.00415035
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.00476051
mov esp, ebp
pop ebp
ret 0xc
Function at 0x447dfb
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x4c6760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x1f4
lea eax, [ebp - 0x314]
mov esi, ecx
push 0
push eax
call fcn.00478570
mov edi, 0x114
mov dword [ebp - 0x318], 0x1f8
push edi
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.00478570
add esp, 0x18
mov dword [ebp - 0x120], edi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jae 0x447e69
sub dword [ebp - 0x318], 4
push 0
lea eax, [ebp - 0x318]
push eax
push 0x1f8
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x180]
neg esi
push eax
mov dword [ebp - 0x180], esi
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00476051
mov esp, ebp
pop ebp
ret
Function at 0x44d11b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x44d160
call fcn.0045cee2
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44d160
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x44d17c
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004485ef
mov ebx, eax
test edi, edi
je 0x44d17a
test esi, esi
je 0x44d17a
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x451ce0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0045cee2
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x451d17
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00451d38
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x488332
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c6760]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0047d18e
mov dword [ebp - 0x14], eax
cmp dword [0x4cd4cc], esi
jne 0x488425
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4883b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x488505
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x488505
push 0x4a7160
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x488505
push eax
call ebx
push 0x4a716c
push edi
mov dword [0x4cd4cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4a717c
push edi
mov dword [0x4cd4d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4cd4d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4cd4dc], eax
test eax, eax
je 0x488422
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4cd4d8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x48844a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x48843d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x48845f
push 4
pop eax
jmp 0x488507
cmp dword [ebp - 0x14], esi
je 0x48845f
push dword [0x4cd4cc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x488444
mov eax, dword [0x4cd4d8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4884bd
cmp dword [0x4cd4dc], edi
je 0x4884bd
push eax
call ebx
push dword [0x4cd4dc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4884bd
test eax, eax
je 0x4884bd
call ecx
test eax, eax
je 0x4884b2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4884b2
test byte [ebp - 8], 1
jne 0x4884bd
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4884ed
mov eax, dword [0x4cd4d0]
cmp eax, edi
je 0x4884ea
push eax
call ebx
test eax, eax
je 0x4884ea
call eax
mov esi, eax
test esi, esi
je 0x4884ea
mov eax, dword [0x4cd4d4]
cmp eax, edi
je 0x4884ea
push eax
call ebx
test eax, eax
je 0x4884ea
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4cd4cc]
call ebx
test eax, eax
je 0x488505
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x488507
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476051
mov esp, ebp
pop ebp
ret
Function at 0x443d90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d380b
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.004c7c89
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x443e12
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c5a40
mov eax, dword [eax]
push 0x4fbd44
push eax
call fcn.004b7054
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c7f14
test bl, bl
je 0x443e12
push 0x4fbd44
lea ecx, [esp + 0xc]
call fcn.004c82a4
push 0x4fbd50
lea ecx, [esp + 0xc]
call fcn.004c82a4
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 0x443e4e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c7f14
jmp 0x443f19
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 0x443ed2
lea edx, [esp + 0x7c]
push 0x4fbd4c
push edx
call fcn.004b7054
add esp, 8
test eax, eax
je 0x443ed2
lea eax, [esp + 0x7c]
push 0x4fbd48
push eax
call fcn.004b7054
add esp, 8
test eax, eax
je 0x443ed2
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 0x443e62
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.004c7f14
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 0x444710
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 0x444772
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