joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10037caf
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4044
call fcn.1003a680
mov eax, dword [0x100bc054]
xor eax, esp
mov dword [esp + 0x4040], eax
push ebx
push ebp
push esi
push edi
mov esi, 0x1000
lea eax, [esp + 0x50]
push esi
xor edi, edi
push edi
push eax
call fcn.1003cd40
push edi
xor ebx, ebx
lea eax, [esp + 0x60]
inc ebx
mov ebp, 0x800
push ebx
push ebp
push eax
call fcn.1001dfe7
add esp, 0x1c
test eax, eax
je 0x10037e60
lea eax, [esp + 0x50]
push eax
push str.11.281.2
call fcn.10052ec1
pop ecx
pop ecx
test eax, eax
jg 0x10037e60
push esi
lea eax, [esp + 0x3054]
push edi
push eax
call fcn.1003cd40
push edi
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x3064]
push ebp
push eax
call fcn.1001e213
add esp, 0x1c
test eax, eax
je 0x10037e60
push esi
lea eax, [esp + 0x1054]
push edi
push eax
call fcn.1003cd40
lea eax, [esp + 0x305c]
push eax
lea eax, [esp + 0x1060]
push ebp
push eax
call fcn.10052ec1
push str._bin_ssvagent.exe
lea eax, [esp + 0x106c]
push ebp
push eax
call fcn.10052ec1
push 0x3c
pop esi
push esi
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.1003cd40
push 0x1000
lea eax, [esp + 0x2084]
mov dword [esp + 0x48], esi
push edi
push eax
call fcn.1003cd40
push str._high__jpisetup__register
lea eax, [esp + 0x2090]
push ebp
push eax
call fcn.10052ec1
add esp, 0x48
call fcn.1002db30
test eax, eax
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x1050]
mov dword [esp + 0x18], 0x40
mov edx, str.open
mov dword [esp + 0x24], eax
mov ecx, str.runas
lea eax, [esp + 0x50]
cmove ecx, edx
push eax
mov dword [esp + 0x24], ecx
call fcn.1002e849
test eax, eax
mov edx, str.__old
mov ecx, str.__new
lea eax, [esp + 0x2054]
cmove ecx, edx
push ecx
push ebp
push eax
call fcn.10052ec1
add esp, 0x10
lea eax, [esp + 0x2050]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x10037e5c
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x4c], edi
je 0x10037e5c
push 0xffffffffffffffff
push dword [esp + 0x50]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x50]
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
push dword [esp + 0x4c]
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
jmp 0x10037e62
mov eax, ebx
mov ecx, dword [esp + 0x4050]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003a5a7
add esp, 0x4044
ret
Function at 0x10037e7b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.1003a680
push 0xffffffffffffffff
push 0x100683cd
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x100bc054]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x100c]
mov dword [ebp - 0x18], edi
xor ebx, ebx
lea eax, [ebp]
push 0x1000
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.1003cd40
mov eax, dword [ebp + 0x1010]
add esp, 0xc
test eax, eax
je 0x10037ee6
mov esi, dword [eax]
jmp 0x10037ee8
mov esi, ebx
movzx ecx, word [esi]
mov eax, ebx
mov edx, ebx
test cx, cx
je 0x1003800d
cmp cx, 0x2e
jne 0x10037f04
inc eax
cmp eax, 1
jg 0x10037f17
inc edx
movzx ecx, word [esi + edx*2]
test cx, cx
jne 0x10037ef8
cmp eax, 1
jle 0x1003800d
push 0x100a0b00
push esi
call fcn.10052ec1
pop ecx
pop ecx
test eax, eax
js 0x1003800d
push esi
call fcn.100379a5
pop ecx
test al, al
je 0x1003800d
push 0x100a0b18
lea ecx, [ebp - 0x14]
call fcn.1000155e
push 0x100a0b70
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10012712
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.10001697
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x10037f79
call fcn.100016f0
push esi
lea ecx, [ebp - 0x10]
call fcn.1000155e
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x14]
call fcn.10001697
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x10037fa2
call fcn.100016f0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10037fad
mov eax, dword [esi]
jmp 0x10037faf
mov eax, ebx
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10037ff5
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x1000
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x100a0b74
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10037ff5
xor eax, eax
mov word [ebp], ax
lea eax, [ebp]
mov ecx, edi
push eax
call fcn.1000155e
test esi, esi
je 0x1003802d
mov ecx, esi
call fcn.100016f0
jmp 0x1003802d
push str.1.3.1
push esi
call fcn.10052ec1
push esi
call fcn.100379a5
add esp, 0xc
mov ecx, edi
push 0x100a0606
call fcn.10012712
mov ecx, dword [ebp + 0x1010]
test ecx, ecx
je 0x1003803c
call fcn.100016f0
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 + 0x1000]
xor ecx, ebp
call fcn.1003a5a7
add ebp, 0x1004
leave
ret
Function at 0x100383b1
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push 0x10
mov eax, 0x10068458
call fcn.1003a5de
xor esi, esi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
and dword [ebp - 4], esi
lea ecx, [ebp - 0x14]
call fcn.1000155e
mov edi, dword [ebp - 0x14]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
test edi, edi
je 0x100383e6
xor eax, eax
cmp dword [edi], eax
sete al
jmp 0x100383e8
mov eax, ebx
test al, al
je 0x100383f3
push 0x100a061a
jmp 0x10038411
test edi, edi
je 0x100383fb
mov eax, dword [edi]
jmp 0x100383fd
xor eax, eax
push eax
call fcn.10038353
pop ecx
test eax, eax
jne 0x1003844c
lea ecx, [ebp - 0x14]
call fcn.10029b00
push eax
call dword [sym.imp.wsock32.dll_gethostbyname]
test eax, eax
je 0x100384b8
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.wsock32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x18]
call fcn.10012712
push eax
lea ecx, [ebp - 0x10]
call fcn.100015bc
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1003845c
call fcn.100016f0
jmp 0x1003845c
cmp eax, ebx
jne 0x100384b8
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.100015bc
lea ecx, [ebp - 0x10]
call fcn.10029b00
push eax
call dword [sym.imp.wsock32.dll_inet_addr]
push 2
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call dword [sym.imp.wsock32.dll_gethostbyaddr]
mov esi, eax
test esi, esi
je 0x100384b5
mov ecx, dword [esi]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038487
sub ecx, edx
push ecx
push dword [esi]
call fcn.10052ec1
pop ecx
pop ecx
push dword [esi]
lea ecx, [ebp - 0x18]
call fcn.10012712
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100384b0
call fcn.100016f0
mov esi, dword [ebp - 0x10]
jmp 0x100384ba
mov esi, dword [ebp - 0x10]
xor bl, bl
test edi, edi
je 0x100384c5
mov ecx, edi
call fcn.100016f0
test esi, esi
je 0x100384d0
mov ecx, esi
call fcn.100016f0
mov al, bl
call fcn.1003a5b8
ret
Function at 0x403aef
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x47f180]
xor eax, esp
mov dword [esp + 0x120], eax
push esi
mov esi, ecx
cmp byte [esi + 0x2c4], 0
je 0x403b5b
push pe_nt_image_headers32
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00441a50
add esp, 0xc
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0xc], 5
jne 0x403b4c
mov ecx, esi
call fcn.004037af
jmp 0x403b5d
cmp dword [esp + 0xc], 6
jb 0x403b5b
push esi
call fcn.00402dd2
jmp 0x403b5d
xor eax, eax
mov ecx, dword [esp + 0x124]
pop esi
xor ecx, esp
call fcn.0043e40d
mov esp, ebp
pop ebp
ret
Function at 0x405949
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45ee27
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x47f180]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
push dword [ebp + 8]
mov ecx, dword [esi + 0x16c]
xor ebx, ebx
lea eax, [esp + 0x20]
push eax
push ebx
push str.RobloxProxy.zip
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x34], bl
call fcn.0043665c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
cmp byte [ebp + 8], bl
je 0x405b3b
mov al, byte [esi + 0x61]
mov edi, closesocket
cmp al, bl
jne 0x405a0d
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
push str.SoftwareClasses
push edi
mov eax, 0x2001f
lea ecx, [esp + 0x30]
mov dword [esp + 0x68], ebx
call fcn.0040bce6
test eax, eax
jl 0x4059f8
lea eax, [esi + 0xc8]
push eax
push 1
push dword [esp + 0x30]
lea ebx, [esi + 0x334]
call fcn.00421200
xor ebx, ebx
or dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x28], ebx
je 0x405a0d
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 0x1c
mov ecx, esp
lea eax, [esi + 0xc8]
mov dword [esp + 0x38], esp
mov dword [esp + 0x30], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov edx, dword [esp + 0x30]
lea eax, [esi + 0x170]
push eax
lea ecx, [esi + 0x334]
call fcn.004207bf
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
push str.76D50904_6780_4c8b_8986_1A7EE0B1716D
push str.SoftwareMicrosoftWindowsCurrentVersionExtStats_siexplore
lea esi, [esp + 0x40]
mov dword [esp + 0x68], 1
call fcn.00425342
pop ecx
pop ecx
mov byte [esp + 0x60], 2
cmp dword [eax + 0x18], 8
jb 0x405a73
mov eax, dword [eax + 4]
jmp 0x405a76
add eax, 4
push str.Failed_to_create_key_for_iexplorer_stats
push eax
push edi
lea eax, [esp + 0x28]
call fcn.0040bc3d
push eax
call fcn.00421559
pop ecx
pop ecx
push ebx
push 1
lea esi, [esp + 0x40]
mov byte [esp + 0x68], 1
call fcn.00408971
mov edi, dword [esp + 0x1c]
push 4
pop eax
push eax
lea ecx, [esp + 0x18]
push ecx
push eax
push ebx
push str.Flags
push edi
mov dword [esp + 0x2c], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
push str.AllowedDomains
lea eax, [esp + 0x30]
push edi
push eax
call fcn.00421737
push ebx
push str.roblox.com
mov byte [esp + 0x78], 3
push dword [esp + 0x40]
lea eax, [esp + 0x30]
push eax
call fcn.00421737
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x20
cmp dword [esp + 0x14], ebx
je 0x405afd
push dword [esp + 0x14]
call esi
push ebx
push str.robloxlabs.com
push dword [esp + 0x30]
lea eax, [esp + 0x3c]
push eax
call fcn.00421737
add esp, 0x10
cmp dword [esp + 0x30], ebx
je 0x405b20
push dword [esp + 0x30]
call esi
cmp dword [esp + 0x28], ebx
je 0x405b30
push dword [esp + 0x28]
call esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
cmp edi, ebx
je 0x405b3b
push edi
call esi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x408b98
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0x4585a3
call fcn.004422d2
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x38], edi
cmp dword [edi + 0x3c], ebx
je 0x408cab
cmp byte [edi + 0x41], bl
je 0x408cab
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x408bd0
xor al, al
jmp 0x408cad
push ebx
push 8
pop esi
lea eax, [ebp - 0x30]
call fcn.00408464
lea eax, [edi + 0x44]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
call fcn.00407467
mov esi, eax
call fcn.00407895
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.00407467
mov esi, eax
call fcn.00407895
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
lea esi, [ebp - 0x34]
push esi
mov esi, dword [ebp - 0x40]
add ebx, esi
push ebx
push eax
push dword [ebp - 0x3c]
call dword [edx + 0x18]
sub eax, 0
je 0x408c43
dec eax
je 0x408c47
dec eax
dec eax
je 0x408ca7
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00408639
mov al, bl
jmp 0x408cad
mov byte [edi + 0x41], 0
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x30]
call fcn.00407467
mov esi, eax
call fcn.00407895
mov ebx, dword [ebp - 0x34]
sub ebx, eax
je 0x408c85
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x30]
call fcn.00407467
mov esi, eax
call fcn.00407895
push dword [edi + 0x4c]
push ebx
push 1
push eax
call fcn.0043ef23
add esp, 0x10
cmp ebx, eax
jne 0x408c31
cmp byte [edi + 0x41], 0
je 0x408ca7
test ebx, ebx
jne 0x408be5
push ebx
push 8
pop ebx
lea edi, [ebp - 0x30]
call fcn.00408486
mov edi, dword [ebp - 0x38]
jmp 0x408be5
mov bl, 1
jmp 0x408c33
mov al, 1
call fcn.00442355
ret

Function at 0x40bc7e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40bce2
cmp dword [ebp + 0xc], 1
je 0x40bcba
cmp dword [ebp + 0xc], 2
je 0x40bcba
push 0xd
pop eax
jmp 0x40bce2
mov eax, dword [ebp - 4]
test edi, edi
je 0x40bcdc
test eax, eax
je 0x40bcd7
test al, 1
jne 0x40bcb5
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x40bcdc
jmp 0x40bcb5
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8
Function at 0x40ef2e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40ef45
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x40ef7a
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x40ef76
cmp edi, eax
jae 0x40ef7a
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x40ef68
cmp edi, eax
jb 0x40ef7e
xor eax, eax
jmp 0x40ef87
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret
Function at 0x40efa9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45a1db
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x47f180]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x47f180]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x54]
call fcn.004073fe
xor ebx, ebx
mov dword [esp + 0x98], ebx
xor edi, edi
cmp dword [esp + 0x64], ebx
jbe 0x40f1d9
push 0xf
pop esi
push ebx
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], esi
call fcn.00409371
push ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], esi
call fcn.00409371
lea eax, [esp + 0x50]
mov byte [esp + 0x98], 2
call fcn.00423ba8
mov al, byte [eax]
cmp al, byte [0x465d20]
je 0x40f1af
lea eax, [esp + 0x50]
call fcn.00423ba8
mov al, byte [eax]
cmp al, byte [0x465d1c]
je 0x40f1af
mov al, byte [0x465d18]
mov byte [esp + 0x10], al
push 1
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x58]
push eax
mov eax, edi
call fcn.0040e602
cmp eax, 0xffffffff
je 0x40f1a9
sub eax, edi
push eax
push edi
lea eax, [esp + 0x58]
push eax
lea esi, [esp + 0x24]
call fcn.0040e48d
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xa4], 3
call fcn.004084ca
push ebx
push 1
mov ecx, esi
mov byte [esp + 0xa0], 2
call fcn.00408639
mov eax, dword [esp + 0x80]
lea edi, [edi + eax + 1]
push 1
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x58]
push eax
mov eax, edi
mov byte [esp + 0x1c], 0x2c
call fcn.0040e602
cmp eax, 0xffffffff
jne 0x40f0f2
mov eax, dword [esp + 0x64]
dec eax
sub eax, edi
push eax
push edi
lea eax, [esp + 0x58]
push eax
lea esi, [esp + 0x24]
call fcn.0040e48d
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xa4], 4
call fcn.004084ca
push ebx
push 1
mov ecx, esi
mov byte [esp + 0xa0], 2
call fcn.00408639
mov eax, dword [esp + 0x48]
lea edi, [edi + eax + 1]
lea eax, [esp + 0x34]
call fcn.0040f237
lea eax, [esp + 0x6c]
call fcn.0040f237
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x6c]
push eax
add ebx, 4
call fcn.0040c2da
mov eax, dword [eax]
xor ebx, ebx
cmp eax, ebx
je 0x40f173
cmp dword [esp + 0x4c], 0x10
mov ecx, dword [esp + 0x38]
jae 0x40f16d
lea ecx, [esp + 0x38]
push ecx
call eax
pop ecx
jmp 0x40f186
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x70]
push edx
call dword [eax + 4]
push ebx
push 1
lea ecx, [esp + 0x3c]
call fcn.00408639
push ebx
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0xa0], bl
call fcn.00408639
xor ebx, ebx
jmp 0x40f1cf
mov edi, dword [esp + 0x64]
jmp 0x40f1b0
inc edi
push ebx
push 1
lea ecx, [esp + 0x3c]
call fcn.00408639
push ebx
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0xa0], bl
call fcn.00408639
cmp edi, dword [esp + 0x64]
jb 0x40f00f
push ebx
push 1
lea ecx, [esp + 0x58]
call fcn.00408639
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0043e40d
mov esp, ebp
pop ebp
ret 8
Function at 0x410214
Capabilities:
Create thread
Resume thread

Disassembly:
push 0x4c
mov eax, 0x45c70f
call fcn.00442269
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x30]
push ecx
push 4
push eax
push 0x437680
xor esi, esi
push esi
push esi
call fcn.00440c9e
add esp, 0x18
cmp eax, esi
je 0x410268
mov ecx, dword [edi]
xor edx, edx
add ecx, 4
inc edx
lock xadd dword [ecx], edx
mov ecx, dword [edi]
push eax
lea esi, [ecx + 8]
call fcn.0040ff51
mov edi, dword [edi]
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.00442341
ret
lea eax, [ebp - 0x58]
call fcn.00401a44
push eax
mov dword [ebp - 4], esi
call fcn.0040a45f
int3

Function at 0x410a24
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c674
mov eax, dword fs:[0]
push eax
mov eax, 0x107c
call fcn.004511c0
mov eax, dword [0x47f180]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push ecx
push edi
push str.Bootstrapper::CreateProcess_module___S__args___S
lea esi, [eax + 0xc8]
mov dword [ebp - 0x101c], ecx
mov dword [ebp - 0x1018], edx
call fcn.00408201
add esp, 0xc
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x1080]
push ebx
push eax
call fcn.00441a50
add esp, 0xc
xor eax, eax
push 0xffe
mov word [ebp - 0x1014], ax
lea eax, [ebp - 0x1012]
push ebx
push eax
mov dword [ebp - 0x1084], 0x44
call fcn.00441a50
add esp, 0xc
cmp word [edi], 0x22
mov esi, 0x800
lea eax, [ebp - 0x1014]
je 0x410afa
push 0x465ee8
push esi
push eax
call fcn.004400cc
add esp, 0xc
push edi
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.0044013b
add esp, 0xc
push 0x465ee8
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.0044013b
jmp 0x410b02
push edi
push esi
push eax
call fcn.004400cc
add esp, 0xc
push 0x465eec
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.0044013b
add esp, 0xc
push dword [ebp - 0x101c]
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.0044013b
add esp, 0xc
push edi
push str.CreateProcess__S_failed
lea esi, [ebp - 0x1038]
call fcn.004251e2
pop ecx
pop ecx
mov esi, eax
push dword [ebp - 0x1018]
lea eax, [ebp - 0x1084]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1014]
push eax
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x410b75
mov eax, esi
call fcn.004215cd
push ebx
push 1
lea ecx, [ebp - 0x1038]
call fcn.00408639
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043e40d
leave
ret 4
Function at 0x410f5b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x47f180]
xor eax, ebp
mov dword [ebp + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00441a50
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x410fae
cmp dword [ebp - 0x70], 2
jne 0x410fae
cmp dword [ebp - 0x7c], 5
jne 0x410fae
mov al, 1
jmp 0x410fb0
xor al, al
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0043e40d
add ebp, 0x98
leave
ret

Function at 0x410fc5
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x47f180]
xor eax, ebp
mov dword [ebp + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00441a50
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x411016
cmp dword [ebp - 0x7c], 6
jne 0x411016
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
je 0x411018
xor al, al
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0043e40d
add ebp, 0x98
leave
ret
Function at 0x411215
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45a17f
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x47f180]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x47f180]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, vtable.ATL::CAccessToken.0
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x34]
mov byte [esp + 0xa8], 1
call fcn.00411187
mov byte [esp + 0xa8], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea ecx, [esp + 0x10]
push ecx
push 1
mov edi, 0x2000a
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x4112d1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0x10]
push ecx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4112e4
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
call dword [eax + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
push 2
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x41130c
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
call dword [eax + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x41132b
cmp dword [esp + 0x10], ebx
setne bl
lea ecx, [esp + 0x34]
call fcn.00411110
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], esi
call fcn.004111d7
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
call fcn.004111d7
mov al, bl
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0043e40d
mov esp, ebp
pop ebp
ret