joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100287d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
xor edx, edx
cmp dword [ebp + 8], edx
push edi
mov dword [esi], edx
mov edi, ecx
mov dword [ebx], 1
je 0x1002843
mov ecx, dword [ebp + 8]
add dword [ebp + 8], 4
mov dword [ecx], edi
cmp byte [eax], 0x22
jne 0x1002856
xor ecx, ecx
test edx, edx
sete cl
inc eax
mov edx, ecx
mov cl, 0x22
jmp 0x1002883
inc dword [esi]
test edi, edi
je 0x1002861
mov cl, byte [eax]
mov byte [edi], cl
inc edi
mov cl, byte [eax]
movzx ebx, cl
inc eax
test byte [ebx + 0x1007d81], 4
je 0x100287c
inc dword [esi]
test edi, edi
je 0x100287b
mov bl, byte [eax]
mov byte [edi], bl
inc edi
inc eax
test cl, cl
mov ebx, dword [ebp + 0xc]
je 0x10028b5
test edx, edx
jne 0x1002843
cmp cl, 0x20
je 0x1002891
cmp cl, 9
jne 0x1002843
test edi, edi
je 0x1002899
mov byte [edi - 1], 0
and dword [ebp - 4], 0
cmp byte [eax], 0
je 0x100297c
mov cl, byte [eax]
cmp cl, 0x20
je 0x10028b2
cmp cl, 9
jne 0x10028b8
inc eax
jmp 0x10028a6
dec eax
jmp 0x1002899
cmp byte [eax], 0
je 0x100297c
cmp dword [ebp + 8], 0
je 0x10028d0
mov ecx, dword [ebp + 8]
add dword [ebp + 8], 4
mov dword [ecx], edi
inc dword [ebx]
xor ebx, ebx
inc ebx
xor edx, edx
jmp 0x10028db
inc eax
inc edx
cmp byte [eax], 0x5c
je 0x10028d9
cmp byte [eax], 0x22
jne 0x100290b
test dl, 1
jne 0x1002909
cmp dword [ebp - 4], 0
je 0x10028fc
lea ecx, [eax + 1]
cmp byte [ecx], 0x22
jne 0x10028fc
mov eax, ecx
jmp 0x10028fe
xor ebx, ebx
xor ecx, ecx
cmp dword [ebp - 4], ecx
sete cl
mov dword [ebp - 4], ecx
shr edx, 1
test edx, edx
je 0x100291c
test edi, edi
je 0x1002917
mov byte [edi], 0x5c
inc edi
inc dword [esi]
dec edx
jne 0x100290f
mov cl, byte [eax]
test cl, cl
je 0x100296a
cmp dword [ebp - 4], 0
jne 0x1002932
cmp cl, 0x20
je 0x100296a
cmp cl, 9
je 0x100296a
test ebx, ebx
je 0x1002964
test edi, edi
je 0x1002953
movzx edx, cl
test byte [edx + 0x1007d81], 4
je 0x100294c
mov byte [edi], cl
inc edi
inc eax
inc dword [esi]
mov cl, byte [eax]
mov byte [edi], cl
inc edi
jmp 0x1002962
movzx ecx, cl
test byte [ecx + 0x1007d81], 4
je 0x1002962
inc eax
inc dword [esi]
inc dword [esi]
inc eax
jmp 0x10028d2
test edi, edi
je 0x1002972
mov byte [edi], 0
inc edi
inc dword [esi]
mov ebx, dword [ebp + 0xc]
jmp 0x100289d
mov eax, dword [ebp + 8]
test eax, eax
je 0x1002986
and dword [eax], 0
inc dword [ebx]
pop edi
pop ebx
leave
ret
Function at 0x1003cde
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x3c]
push edi
xor edi, edi
cmp eax, dword [reloc.KERNEL32.dll_LCMapStringW]
je 0x1003cee
cmp eax, edi
je 0x1003cee
mov eax, dword [esi + 0x2c]
cmp dword [eax], edi
jne 0x1003cee
mov eax, dword [esi + 0x34]
cmp eax, edi
je 0x1003cb9
cmp dword [eax], edi
jne 0x1003cb9
cmp eax, dword [reloc.KERNEL32.dll_LCMapStringW]
je 0x1003cb9
push eax
call fcn.010030b2
push dword [esi + 0x3c]
call fcn.010051df
pop ecx
pop ecx
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x1003cdc
cmp dword [eax], edi
jne 0x1003cdc
cmp eax, dword [reloc.KERNEL32.dll_LCMapStringW]
je 0x1003cdc
push eax
call fcn.010030b2
push dword [esi + 0x3c]
call fcn.01005175
pop ecx
pop ecx
push dword [esi + 0x2c]
call fcn.010030b2
push dword [esi + 0x3c]
call fcn.010030b2
pop ecx
pop ecx
mov eax, dword [esi + 0x40]
cmp eax, dword [reloc.KERNEL32.dll_LCMapStringW]
je 0x1003d11
cmp eax, edi
je 0x1003d11
cmp dword [eax], edi
jne 0x1003d11
push eax
call fcn.010030b2
push dword [esi + 0x44]
call fcn.010030b2
pop ecx
pop ecx
mov eax, dword [esi + 0x50]
cmp eax, dword [reloc.KERNEL32.dll_LCMapStringW]
je 0x1003d38
cmp eax, edi
je 0x1003d38
cmp dword [eax + 0xb4], edi
jne 0x1003d38
push eax
call fcn.01004fdb
push dword [esi + 0x50]
call fcn.010030b2
pop ecx
pop ecx
push esi
call fcn.010030b2
pop ecx
pop edi
pop esi
pop ebp
ret
Function at 0x405d40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x405d59
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405d94
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x405d90
lea ebx, [ebx]
cmp esi, eax
jae 0x405d94
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x405d80
cmp esi, eax
jb 0x405d9a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40b940
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48ccc8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4ae650]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x3c]
lea esi, [edi + 0x84]
lea edx, [esp + 0x1c]
lea ecx, [esi + 4]
push edx
mov dword [esi + 0x24], eax
call fcn.00405bc0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 8], ecx
lea ecx, [esp + 0x18]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, esi
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], eax
call fcn.00405bc0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov dword [esi + 0x2c], eax
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x28], edx
add eax, 0xfffffff0
mov dword [edi + 0xb4], ecx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ba00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ba20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0x34
Function at 0x40c7e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x48c58c
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4ae650]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x1c]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x18], 0
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi + 4], eax
mov byte [esp + 0x1c], 1
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi + 8], eax
mov byte [esp + 0x20], 2
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [esp + 0x24], 3
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [esp + 0x28], 4
mov eax, dword [edi + 0x14]
sub eax, 0x10
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi + 0x14], eax
mov byte [esp + 0x2c], 5
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
sub eax, 0x10
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [esp + 0x30], 6
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
sub eax, 0x10
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi + 0x34], eax
mov byte [esp + 0x34], 7
mov eax, dword [edi + 0x38]
sub eax, 0x10
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi + 0x38], eax
mov byte [esp + 0x38], 8
mov eax, dword [edi + 0x3c]
sub eax, 0x10
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi + 0x3c], eax
mov byte [esp + 0x3c], 9
mov eax, dword [edi + 0x40]
sub eax, 0x10
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi + 0x40], eax
mov byte [esp + 0x40], 0xa
mov eax, dword [edi + 0x44]
sub eax, 0x10
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi + 0x44], eax
mov byte [esp + 0x44], 0xb
mov eax, dword [edi + 0x48]
sub eax, 0x10
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi + 0x48], eax
mov byte [esp + 0x48], 0xc
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov edi, dword [edi + 0x50]
sub edi, 0x10
push edi
call fcn.00405c60
add esp, 0x38
add eax, 0x10
mov dword [esi + 0x50], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x418c30
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, ecx
push 0
lea ecx, [ebx + 0x3d29c]
call fcn.0045c0f7
mov eax, dword [ebx + 0x3ce9c]
test eax, eax
jl 0x418c65
push esi
lea esi, [eax + eax*2]
shl esi, 4
push edi
add esi, 0x4b4844
lea edi, [ebx + 0x3cea0]
call fcn.00434a50
pop edi
pop esi
cmp dword [ebx + 0x8c], 0
push 0
push 0
push ebx
je 0x418c84
push 0x443db0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebx
ret
push 0x443cf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebx
ret
Function at 0x41bcb0
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x48cc10
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4ae650]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x34]
lea ecx, [edi + 0x29c]
push eax
mov dword [esp + 0x30], 1
call fcn.00405bc0
lea edx, [esp + 0x38]
lea ecx, [edi + 0x298]
push edx
call fcn.00405bc0
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi + 0x77c]
mov edx, dword [edi + 0x780]
sub esp, 0x10
mov dword [edi + 0x2a0], eax
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edi + 0x784]
mov dword [eax + 4], edx
mov edx, dword [edi + 0x788]
mov dword [eax + 8], ecx
mov ecx, 0x90
lea esi, [esp + 0x20]
mov dword [eax + 0xc], edx
call fcn.00434410
mov ecx, dword [eax]
mov dword [edi + 0x77c], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x780], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x784], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [edi + 0x20]
add esp, 0x10
mov dword [edi + 0x788], edx
test eax, eax
je 0x41bd79
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi]
mov edx, dword [eax + 0x14c]
mov ecx, edi
call edx
mov dword [edi + 0x2a4], 0x30
mov dword [edi + 0x2a8], 0
mov edi, dword [edi + 0x2ac]
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bdcc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bdf4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 0xc
Function at 0x41c5c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48cbe0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4ae650]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x30]
lea ecx, [edi + 0x29c]
push eax
mov dword [esp + 0x2c], 1
call fcn.00405bc0
lea edx, [esp + 0x34]
lea ecx, [edi + 0x298]
push edx
call fcn.00405bc0
mov eax, dword [esp + 0x38]
mov ecx, dword [edi + 0x77c]
mov edx, dword [edi + 0x780]
sub esp, 0x10
cmp dword [esp + 0x4c], 0
mov dword [edi + 0x2a0], eax
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edi + 0x784]
mov dword [eax + 4], edx
mov edx, dword [edi + 0x788]
mov dword [eax + 8], ecx
lea esi, [esp + 0x20]
mov dword [eax + 0xc], edx
mov ecx, 0x8a
je 0x41c656
mov ecx, 0x90
call fcn.00434410
mov ecx, dword [eax]
mov dword [edi + 0x77c], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x780], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x784], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [edi]
mov dword [edi + 0x788], edx
mov edx, dword [eax + 0x14c]
add esp, 0x10
mov ecx, edi
call edx
mov dword [edi + 0x2a4], 0x30
mov dword [edi + 0x2a8], 0
mov edi, dword [edi + 0x2ac]
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c6cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c6f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 0x10
Function at 0x41f0f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x48c4da
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4ae650]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x14], 0
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi + 4], eax
mov byte [esp + 0x18], 1
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x10], edx
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 0x18]
mov dword [esi + 0x18], ecx
mov edx, dword [edi + 0x1c]
mov dword [esi + 0x1c], edx
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
sub eax, 0x10
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi + 0x24], eax
mov byte [esp + 0x1c], 2
mov eax, dword [edi + 0x28]
sub eax, 0x10
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [esp + 0x20], 3
mov eax, dword [edi + 0x2c]
sub eax, 0x10
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi + 0x2c], eax
mov byte [esp + 0x24], 4
mov eax, dword [edi + 0x30]
sub eax, 0x10
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi + 0x30], eax
mov byte [esp + 0x28], 5
mov eax, dword [edi + 0x34]
sub eax, 0x10
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi + 0x34], eax
mov byte [esp + 0x2c], 6
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov eax, dword [edi + 0x3c]
sub eax, 0x10
push eax
call fcn.00405c60
add esp, 0x20
add eax, 0x10
mov dword [esi + 0x3c], eax
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x42f400
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x491a70
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4ae650]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xce4], 0
je 0x42f604
push 0x49a084
lea ecx, [esp + 0x14]
call fcn.00406160
push 0xce8
mov dword [esp + 0x2c], 0
call fcn.0045d52e
test eax, eax
je 0x42f46d
push 0xce8
push eax
lea ecx, [esp + 0x18]
call fcn.00405e80
mov eax, dword [esp + 0x10]
push 0x44
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
push eax
call fcn.00405c60
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004345b0
add esp, 8
cmp eax, 6
jne 0x42f57e
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00458f88
mov ecx, dword [eax + 0x20]
push 0
push 1
push 0x1429
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0xce4], 0
mov dword [0x4b3a08], 0
call fcn.00436390
push 0
push 0
push esi
push 0x4450b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.00455695
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42f506
push 0x80004005
call fcn.00406550
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x1b6b
mov byte [esp + 0x2c], 1
call fcn.0045d52e
test eax, eax
je 0x42f538
push 0x1b6b
push eax
lea ecx, [esp + 0x1c]
call fcn.00405e80
mov esi, dword [esp + 0x14]
push 2
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push esi
call fcn.00405c60
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.004345b0
add esp, 8
mov byte [esp + 0x28], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f5dc
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x42f5dc
mov eax, dword [esi + 0xa04]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0xf1
push eax
call edi
push 0x413
mov ecx, esi
call fcn.0045bed4
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0xf1
push ecx
call edi
mov dword [esi + 0xce4], 1
mov dword [0x4b3a08], 1
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00458f88
mov ecx, eax
call fcn.0045c11e
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f604
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x436a50
Capabilities:
Get token membership

Disassembly:
sub esp, 0x14
mov eax, dword [0x4ae650]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
xor ebx, ebx
lea eax, [esp + 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [esp + 4], eax
cmp eax, ebx
je 0x436acd
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x436abe
mov dword [esp + 4], ebx
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
pop ebx
xor ecx, esp
call fcn.00471ad7
add esp, 0x14
ret

Function at 0x436ae0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push esi
push 0x3c
xor esi, esi
lea eax, [esp + 8]
push esi
push eax
call fcn.004738b0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
add esp, 0xc
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], 0x40
mov dword [esp + 0x14], str.RunAs
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 0x49a084
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x436b50
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
add esp, 0x3c
ret
mov ecx, dword [esp + 0x3c]
push esi
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
neg eax
sbb eax, eax
inc eax
pop esi
add esp, 0x3c
ret
Function at 0x438920
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x48f000
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4ae650]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push 0x49a084
lea ecx, [esp + 0x1c]
call fcn.00406160
push 0x49a084
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0
call fcn.00406160
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 1
call fcn.0045f526
push 1
lea eax, [esp + 0x1c]
push 0x49a320
push eax
mov byte [esp + 0x44], 2
call fcn.00406620
mov eax, dword [0x4b399c]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.004059e0
push 4
push str..dll
lea ecx, [esp + 0x18]
call fcn.004059e0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x438a09
push str.Fatal_error:_Cannot_find_the_specified_resources__
lea ecx, [esp + 0x18]
call fcn.00406160
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x10]
mov edx, dword [eax - 0xc]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.004059e0
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.00405c60
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004343d0
mov eax, dword [0x4b2e18]
test eax, eax
je 0x438a19
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4b2e18], eax
test eax, eax
jne 0x438a3e
call fcn.0045e249
mov eax, dword [eax + 0xc]
mov dword [0x4b2e18], eax
xor edi, edi
jmp 0x438a43
mov edi, 1
mov esi, eax
call fcn.0045e249
lea ecx, [esp + 0x20]
mov dword [eax + 0xc], esi
mov byte [esp + 0x38], 1
call fcn.0045f62e
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438a80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 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 0x438aa8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret