joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c750
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5916b3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6340c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x58], edx
mov dword [esi + 0x60], ecx
mov byte [esi + 0x64], 0
mov dword [esi + 0x68], eax
test byte [edx + 8], 8
je 0x45c833
test cl, 0x10
jne 0x45c833
mov al, 1
jmp 0x45c835
xor al, al
mov byte [esi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x70], eax
mov ecx, dword [esi + 0x44]
mov edx, dword [edx + 0x18]
sar ecx, 3
cmp edx, ecx
jae 0x45c854
lea eax, [edx*8]
jmp 0x45c879
jbe 0x45c87c
mov eax, dword [esi + 0x48]
sar eax, 3
push ecx
cmp edx, eax
jbe 0x45c86c
push edx
lea ecx, [esi + 0x40]
call fcn.004613e0
jmp 0x45c87c
sub edx, ecx
mov ecx, dword [esi + 0x44]
call fcn.00461700
add esp, 4
mov dword [esi + 0x44], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x463560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, edx
mov dword [ebp - 8], eax
push edi
mov edi, dword [ebp + 8]
cmp ecx, eax
je 0x463680
push ebx
mov edx, edi
lea ebx, [edi + 0x18]
sub edx, ecx
mov dword [ebp - 4], ebx
push esi
lea esi, [ecx + 0x14]
mov dword [ebp - 0xc], edx
nop dword [eax]
mov eax, dword [esi - 0x14]
mov dword [edi], eax
lea edi, [esi - 0x10]
push 0x18
lea eax, [ebx - 0x14]
mov dword [esi + edx], 0
push edi
push eax
mov dword [ebx], 0
call fcn.004c7170
xor eax, eax
mov dword [esi], 0
mov word [edi], ax
lea edi, [esi + 8]
mov dword [esi + 4], 7
push 0x18
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
lea eax, [ebx + 4]
push edi
push eax
call fcn.004c7170
mov dword [esi + 0x18], 0
xor eax, eax
mov dword [esi + 0x1c], 7
add esp, 0x18
mov word [edi], ax
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], ecx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], ecx
mov ax, word [esi + 0x34]
mov word [ebx + 0x30], ax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x40], 0
cmp byte [esi + 0x44], 0
je 0x46364b
mov ebx, dword [esi + 0x4c]
mov eax, dword [ebp - 4]
mov dword [eax + 0x48], ebx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x5c3794]
mov ecx, ebx
call edi
mov ebx, dword [ebp - 4]
mov byte [ebx + 0x40], 1
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x58]
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
add edi, 0x78
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], ecx
mov eax, dword [esi + 0x5c]
add esi, 0x78
mov dword [ebx + 0x58], eax
add ebx, 0x78
mov dword [ebp + 8], edi
mov dword [ebp - 4], ebx
lea eax, [esi - 0x14]
cmp eax, dword [ebp - 8]
jne 0x463590
pop esi
pop ebx
push ecx
mov edx, edi
mov ecx, edi
call fcn.0045ae20
add esp, 4
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x46aa60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0xffff
push edi
mov edi, ecx
cmp ax, bx
jne 0x46aa95
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x46aad3
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [ecx + esi*2]
cmp ecx, eax
jae 0x46aad3
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
pop esi
pop edi
mov ax, bx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 0x4c], 0
je 0x46abab
mov esi, dword [edi + 0xc]
lea eax, [edi + 0x3c]
cmp dword [esi], eax
jne 0x46aafd
mov edx, dword [edi + 0x54]
mov ecx, dword [edi + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [edi + 0x1c]
sar edx, 1
mov dword [eax], ecx
mov eax, dword [edi + 0x2c]
mov dword [eax], edx
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x46ab0d
push dword [edi + 0x4c]
push ebx
jmp 0x46ab54
mov word [ebp - 0x28], bx
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x5c3794]
mov ecx, dword [ebp - 0x2c]
call esi
sub eax, 0
je 0x46ab7e
sub eax, 1
je 0x46ab7e
sub eax, 2
jne 0x46abab
push dword [edi + 0x4c]
push dword [ebp - 0x28]
call fcn.004d74e6
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, bx
jne 0x46abb0
pop esi
pop edi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x46ab9b
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.004d7f19
add esp, 0x10
cmp esi, eax
jne 0x46abab
lea eax, [ebp - 0x28]
mov byte [edi + 0x3e], 1
cmp dword [ebp - 0x34], eax
jne 0x46aabd
mov eax, 0xffff
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 4
Function at 0x46acf0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59223f
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x6340c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], 0
mov dword [ebx], 0x5e22b4
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x9c], 0
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0x70], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
sub esp, 8
mov dword [ebp - 4], 0
lea esi, [ebx + 0x10]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], esi
push esi
call fcn.0044cc00
mov dword [ebp - 4], 1
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], esi
lea eax, [ecx - 0x70]
mov dword [ecx + ebx - 4], eax
mov ecx, esi
call fcn.0044c9c0
lea eax, [ebx + 0x10]
lea ebx, [eax + 4]
mov dword [eax], vtable.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [eax + 0xc], ebx
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea esi, [eax + 8]
mov byte [eax + 0x48], 0
lea edi, [eax + 0x14]
mov byte [eax + 0x3e], 0
lea edx, [eax + 0x24]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x1c]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [0x680224]
mov dword [eax], 0
mov eax, dword [0x680220]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x14]
mov dword [edi], 0
mov dword [edx], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x38], 0
mov byte [ebp - 4], 2
cmp dword [ebx + 0x4c], 0
jne 0x46aec5
push 0x40
push 1
push dword [ebp + 8]
call fcn.004b340a
add esp, 0xc
test eax, eax
je 0x46aec5
push 1
push eax
mov ecx, ebx
call fcn.0046b130
mov eax, dword [ebx + 0x34]
mov edi, dword [eax + 4]
mov dword [ebp - 0x1c], edi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
call fcn.0046b3a0
add esp, 4
mov ecx, ebx
push eax
call fcn.0046af90
test edi, edi
je 0x46aeae
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
mov edi, eax
test edi, edi
je 0x46aeae
mov ecx, dword [edi]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x5c3794]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ebp - 0x10]
push 0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, esi
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00449320
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46b030
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x46b110
cmp byte [ebx + 0x3e], 0
je 0x46b110
mov eax, dword [ebx]
push esi
push 0xffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x5c3794]
mov ecx, ebx
call esi
mov ecx, 0xffff
cmp cx, ax
je 0x46b0fe
push edi
mov edi, dword [ebx + 0x38]
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 0x40]
push eax
call dword [0x5c3794]
mov ecx, edi
call esi
pop edi
sub eax, 0
je 0x46b0c6
sub eax, 1
je 0x46b0ca
sub eax, 2
jne 0x46b0fe
mov byte [ebx + 0x3e], al
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret
mov byte [ebx + 0x3e], 0
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x46b0e7
push dword [ebx + 0x4c]
push esi
push 1
push eax
call fcn.004d7f19
add esp, 0x10
cmp esi, eax
jne 0x46b0fe
cmp byte [ebx + 0x3e], 0
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.004c59c5
mov esp, ebp
pop ebp
ret

Function at 0x46b790
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46b806
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x46b7d2
cmp eax, 2
jne 0x46b7ee
mov ecx, dword [ebp - 4]
test esi, esi
je 0x46b800
test ecx, ecx
je 0x46b7fb
test cl, 1
jne 0x46b7ee
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x46b800
pop edi
mov eax, 0xd
pop esi
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x478e50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5946c0
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebx + 4]
mov eax, dword [ebp + 8]
or edi, 0x2001f
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x224], 0
push ecx
push edi
push 0
push eax
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [ebp - 0x21c]
test esi, esi
jne 0x478fd2
test eax, eax
je 0x478eea
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [ebp - 0x224]
and edi, 0x300
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], edi
test esi, esi
jne 0x478fd2
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0x100
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x210]
push ecx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x478f8b
nop dword [eax + eax]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00478e50
mov esi, eax
test esi, esi
jne 0x478fcc
lea eax, [ebp - 0x230]
mov dword [ebp - 0x220], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x478f40
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x478fa6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x21c], 0
push dword [ebp - 0x228]
mov ecx, ebx
mov dword [ebp - 0x218], 0
call fcn.00478d00
mov ecx, dword [ebp - 0x21c]
mov esi, eax
test ecx, ecx
je 0x478fdd
push ecx
jmp 0x478fd7
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x478fdd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 4
Function at 0x479460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59477b
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x479508
push 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x420], eax
test esi, esi
jne 0x479508
call fcn.00478a80
mov edi, eax
jmp 0x479622
push dword [ebp - 0x41c]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x479526
call fcn.00478a80
jmp 0x479615
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
jne 0x479544
call fcn.00478a80
jmp 0x479615
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x424], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x479565
mov edi, 0x8007000e
jmp 0x479617
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x47965b
jb 0x479583
cmp eax, 0xffffffff
ja 0x47965b
cmp eax, 0x400
jbe 0x479598
push eax
lea ecx, [ebp - 0x418]
call fcn.00481bd0
jmp 0x4795be
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x4795be
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x4795d5
mov edi, 0x8007000e
jmp 0x479617
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4795f5
call fcn.00478a80
jmp 0x479615
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0047a240
mov edi, eax
test esi, esi
je 0x479622
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x47963b
lea ecx, [ebp - 0x418]
call fcn.00481b10
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00443030
int3
Function at 0x483120
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov byte [ebp - 1], 1
push esi
mov ecx, dword [ebx + 0x54]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x48317c
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [ebx + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [ebx + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x10]
push ecx
push esi
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
shr ecx, 2
test cl, 1
je 0x4831b3
push edi
mov edi, dword [ebx + 4]
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [ebx + 4]
movzx esi, ax
call dword [sym.imp.USER32.dll_GetParent]
push edi
push esi
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
push 0
push 0
push dword [ebx + 0x28]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta cl
mov byte [ebp - 1], cl
jbe 0x4831ee
or byte [ebx + 0x58], 2
push 1
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x498250
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov esi, ecx
jne 0x4983f5
mov edi, dword [ebp + 0xc]
cmp edi, 0xf
jne 0x498289
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
call fcn.00548570
mov dword [ebx], eax
lea eax, [edi - 0xe]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 2
jne 0x4982a4
sub esp, 0x10
call fcn.00548550
mov dword [ebx], eax
lea eax, [edi - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [ebp + 0x10]
cmp edi, 0x4e
jne 0x498314
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push eax
push dword [ebp + 0x14]
push edx
push ecx
call fcn.005484b0
cmp dword [ebp - 4], 0
mov dword [ebx], eax
jne 0x4983e1
mov edx, dword [ebp + 0x10]
lea ecx, [esi + 0x64]
cmp edi, 5
jne 0x49843e
xor eax, eax
test ecx, ecx
cmove esi, eax
cmp byte [ecx + 0x1c], al
je 0x49840f
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [ebp + 0x10]
cmp edx, 2
jne 0x498400
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x498414
cmp edi, 0x8001
jne 0x498334
sub esp, 0x10
call fcn.00548450
pop edi
mov dword [ebx], eax
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x111
jne 0x4983a8
push dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
push edi
push 0x111
push dword [esi + 4]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov ecx, edi
mov dword [ebp - 4], eax
shr ecx, 0x10
test ecx, ecx
jne 0x498395
movzx ecx, di
cmp ecx, 1
je 0x49836d
cmp ecx, 2
jne 0x498395
test dword [esi + 0x28], 0x400
je 0x498395
push 0
push 0
push 0x476
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x498395
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 4]
pop edi
mov dword [ebx], eax
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x112
jne 0x4982d0
test dword [esi + 0x28], 0x400
je 0x4983ef
mov eax, dword [ebp + 0x10]
and eax, 0xfff0
cmp eax, 0xf060
jne 0x4983ef
push 0
push 0
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx], 0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov dword [ebx], 0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18
test edx, edx
jne 0x49840f
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x498414
cmp edx, 1
je 0x49845e
mov ecx, dword [ebp + 0x14]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [esi + 0x64]
push eax
call fcn.00498900
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x24
jne 0x4983f5
cmp dword [ecx + 0x14], 0xffffffff
je 0x49845e
cmp dword [ecx + 0x18], 0xffffffff
je 0x49845e
mov edx, dword [ebp + 0x14]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4ac4b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cbbd
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6340c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov byte [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov byte [edi + 0x24], 1
mov dword [edi + 0x28], 0
push 0xc
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.00446660
mov esi, eax
lea edx, [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x10], esi
mov ecx, esi
call fcn.00446a40
lea ecx, [esi + 4]
call fcn.00446a40
mov dword [edi + 0x2c], esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret