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

Disassembly:
push 0xffffffffffffffff
push 0x571208
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x1b8]
test eax, eax
je 0x408d6d
mov eax, dword [0x5d68d8]
mov dword [esp + 4], eax
push str.notepad.exe
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0
call fcn.005691e3
add esi, 0x1a8
lea ecx, [esp + 4]
push esi
call fcn.00569357
mov ecx, dword [esp + 4]
mov eax, dword [ecx - 8]
lea ecx, [esp + 4]
push eax
call fcn.0056936f
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.005690a6
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40b3e0
Capabilities:
Delete registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x571880
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 0x94]
sub esp, 0xc
test eax, eax
jne 0x40b409
mov eax, dword [0x5c9814]
jmp 0x40b40c
add eax, 0xc
push eax
lea ecx, [esp + 8]
call fcn.00569114
push 0x2f
push 0x5c
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call fcn.00563a5a
push str.MTAPIServers_
lea ecx, [esp + 4]
call fcn.00569114
lea eax, [esp + 4]
lea ecx, [esp]
push eax
mov byte [esp + 0x18], 1
call fcn.00569357
mov ecx, dword [esp]
mov eax, dword [ecx - 8]
lea ecx, [esp]
push eax
call fcn.0056936f
lea edx, [esp + 8]
push edx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40b49e
mov eax, dword [esp + 8]
push str.SharedPath
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0xb6
lea ecx, [esp + 4]
call fcn.005694ac
mov ecx, dword [esp]
push 0
push 0
push ecx
call fcn.0056b269
lea ecx, [esp]
mov byte [esp + 0x14], 0
call fcn.005690a6
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.005690a6
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x40f320
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5720e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], 0
mov esi, dword [esp + 0x438]
mov edi, dword [esp + 0x434]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ebx, 1
mov ebp, 0x400
push esi
push edi
mov dword [esp + 0x438], ebx
mov dword [esp + 0x20], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x40f3b7
lea edx, [esp + 0x20]
lea ecx, [esp + 0x14]
push edx
call fcn.00418ba0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x440]
push eax
mov byte [esp + 0x42c], 2
call fcn.004187b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x428], bl
call fcn.004186d0
lea ecx, [esp + 0x18]
push ecx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x40f3e7
mov esi, dword [esp + 0x430]
lea edx, [esp + 0x440]
push edx
mov ecx, esi
call fcn.00418790
mov dword [esp + 0x1c], ebx
jmp 0x40f4d4
mov ecx, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea eax, [esp + 0x20]
xor esi, esi
push ebp
push eax
push esi
push ecx
mov dword [esp + 0x20], ebp
call edi
test eax, eax
jne 0x40f4ab
mov bx, word [esp + 0x43c]
push 0xa
lea edx, [esp + 0x24]
push 0
push edx
call fcn.00549388
add esp, 0xc
test eax, eax
jle 0x40f45a
and eax, 0x3ff
cmp ax, bx
jne 0x40f45a
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push ecx
push edx
push eax
mov dword [esp + 0x20], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x40f45a
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40f473
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x20]
inc esi
push ebp
push ecx
push esi
push edx
mov dword [esp + 0x20], ebp
call edi
test eax, eax
je 0x40f411
jmp 0x40f4ab
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
call fcn.00418ba0
lea ecx, [esp + 0x14]
mov byte [esp + 0x428], 3
push ecx
lea ecx, [esp + 0x444]
call fcn.004187b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x428], 1
call fcn.004186d0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x440]
mov esi, dword [esp + 0x430]
push eax
mov ecx, esi
call fcn.00418790
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x440]
mov byte [esp + 0x428], 0
call fcn.004186d0
mov ecx, dword [esp + 0x420]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x41c
ret 0x14

Function at 0x40f6b0
Capabilities:
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x572178
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
xor eax, eax
mov dword [esi], 0x5979b0
mov dword [esp + 0x10], eax
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and eax, 0x3ff
mov ecx, esi
mov word [esi + 0xc], ax
call fcn.0040fb50
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40f800
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5721be
push eax
mov dword fs:[0], esp
sub esp, 0x414
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x40f9c6
mov ecx, dword [str.MTAPITranslators]
lea eax, [esp + 0x10]
push eax
push ecx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40f9c6
lea edx, [esp + 0x24]
push 0x400
push edx
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x40f9bb
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x24]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40f994
push 0x28
call fcn.00564fcb
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov dword [esp + 0x42c], 0
je 0x40f8d9
mov cx, word [ebp + 0xa]
mov dx, word [ebp + 8]
mov ax, word [ebp + 0xc]
push ecx
push edx
push eax
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00418ba0
mov eax, dword [esp + 0x28]
mov ecx, esi
push eax
call fcn.0040ec90
mov edi, eax
jmp 0x40f8db
xor edi, edi
mov eax, dword [edi + 0x20]
mov dword [esp + 0x42c], 0xffffffff
test eax, eax
je 0x40f975
mov ecx, dword [edi + 0x18]
mov eax, dword [ebp + 4]
cmp ecx, eax
jl 0x40f975
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x40f928
lea ebx, [edi + 0x14]
push ebx
lea ecx, [esi + 0x14]
call fcn.00418c90
test eax, eax
je 0x40f91c
mov edx, dword [esi + 0x1c]
mov eax, dword [edi + 0x1c]
cmp edx, eax
je 0x40f924
mov esi, dword [esi]
test esi, esi
jne 0x40f905
jmp 0x40f928
test esi, esi
jne 0x40f94d
mov eax, dword [ebp + 0x14]
lea ecx, [ebp + 0x14]
test eax, eax
je 0x40f942
mov edx, dword [edi + 0x1c]
cmp dword [eax + 0x1c], edx
jl 0x40f942
mov ecx, eax
mov eax, dword [ecx]
test eax, eax
jne 0x40f935
mov eax, dword [ecx]
mov dword [edi], eax
mov dword [ecx], edi
inc dword [ebp + 0x10]
jmp 0x40f989
mov eax, dword [edi + 0x24]
test eax, eax
je 0x40f96f
mov ecx, dword [eax]
mov dword [edi + 0x24], ecx
mov edx, dword [esi + 0x24]
mov dword [eax], edx
mov edx, dword [esi + 0x20]
inc edx
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x40f954
test edi, edi
je 0x40f989
jmp 0x40f979
test edi, edi
je 0x40f989
mov ecx, edi
call fcn.0040f510
push edi
call fcn.00564ff4
add esp, 4
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
inc eax
push 0x400
push ecx
push eax
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x40f86d
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x420
ret
Function at 0x40fda0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x57227c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
push ebx
push esi
mov dword [esp + 0x10], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x420], 2
call fcn.004119d0
mov eax, dword [str.MTAPIServers]
mov bl, 3
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x424], bl
call fcn.00418ba0
lea ecx, [esp + 8]
mov byte [esp + 0x420], 4
push ecx
lea ecx, [esp + 0x10]
call fcn.004187b0
lea ecx, [esp + 8]
mov byte [esp + 0x420], bl
call fcn.004186d0
push 0x5c9744
lea ecx, [esp + 0xc]
call fcn.00418ba0
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
mov byte [esp + 0x424], 5
call fcn.00418c10
lea ecx, [esp + 8]
mov byte [esp + 0x420], bl
call fcn.004186d0
push ecx
lea eax, [esp + 0x430]
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
call fcn.00418b20
lea ecx, [esp + 0xc]
push ecx
call fcn.0040ffb0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x424], 6
call fcn.00418c10
lea ecx, [esp + 8]
mov byte [esp + 0x420], bl
call fcn.004186d0
push 0x5c9744
lea ecx, [esp + 0xc]
call fcn.00418ba0
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
mov byte [esp + 0x424], 7
call fcn.00418c10
lea ecx, [esp + 8]
mov byte [esp + 0x420], bl
call fcn.004186d0
lea eax, [esp + 0x430]
lea ecx, [esp + 8]
push eax
call fcn.00418b20
lea ecx, [esp + 8]
mov byte [esp + 0x420], 8
push ecx
lea ecx, [esp + 0x10]
call fcn.00418c10
lea ecx, [esp + 8]
mov byte [esp + 0x420], bl
call fcn.004186d0
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0x400
push edx
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
call fcn.00418c00
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x40ff3f
mov esi, dword [esp + 0x428]
push 0x5d7ff8
mov ecx, esi
call fcn.00418840
mov ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x40ff5b
mov esi, dword [esp + 0x428]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00418840
mov ebx, 1
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x420], 2
call fcn.004186d0
lea ecx, [esp + 0x42c]
mov byte [esp + 0x420], bl
call fcn.004186d0
lea ecx, [esp + 0x430]
mov byte [esp + 0x420], 0
call fcn.004186d0
mov ecx, dword [esp + 0x418]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x41c
ret 0xc
Function at 0x410090
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x572308
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 2
call fcn.004119d0
mov eax, dword [str.MTAPIServers]
mov bl, 3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00418ba0
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 4
push ecx
lea ecx, [esp + 0x10]
call fcn.004187b0
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.004186d0
push 0x5c9744
lea ecx, [esp + 0x14]
call fcn.00418ba0
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push edx
mov byte [esp + 0x28], 5
call fcn.00418c10
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.004186d0
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00418b20
lea ecx, [esp + 0x14]
push ecx
call fcn.0040ffb0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 6
call fcn.00418c10
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.004186d0
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc]
push edx
call fcn.00418c00
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x4101e3
lea eax, [esp + 0x34]
lea ecx, [esp + 0x18]
push eax
call fcn.00418b20
mov esi, eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 7
push ecx
lea ecx, [esp + 0x14]
call fcn.00418b20
mov edi, eax
push 0
mov ecx, esi
mov byte [esp + 0x28], 8
call fcn.00418c00
push eax
push 1
mov ecx, edi
call fcn.00418c00
mov edx, dword [esp + 0x20]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 7
call fcn.004186d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.004186d0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call fcn.004186d0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 1
call fcn.004186d0
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call fcn.004186d0
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], 0xffffffff
call fcn.004186d0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 0xc
Function at 0x4106a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5724b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov dword [esp + 0x2c], 0
mov eax, dword [0x5d68d8]
mov dword [esp + 0x38], 1
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 2
push ecx
lea ecx, [esp + 0xc]
call fcn.00568e1b
mov edx, dword [esp + 8]
mov bl, 3
lea ecx, [esp + 8]
mov byte [esp + 0x38], bl
mov eax, dword [edx - 8]
push eax
call fcn.0056936f
push 0x5c
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.00563b2d
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
mov byte [eax + esi + 1], 0
call fcn.005693be
mov eax, dword [0x5d80e4]
and eax, 0xffff
add eax, 0xfffffff9
cmp eax, 0xf
ja case.0x410738.13
xor ecx, ecx
mov cl, byte [eax + 0x4108fc]
jmp dword [ecx*4 + 0x4108e0]
lea edx, [esp + 8]
push str.DictUtilG.chm
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00569248
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 4
call fcn.00569193
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x10]
jmp 0x410884
lea ecx, [esp + 8]
push str.DictUtilE.chm
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00569248
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 5
call fcn.00569193
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x14]
jmp 0x410884
lea eax, [esp + 8]
push str.DictUtilS.chm
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00569248
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 6
call fcn.00569193
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x18]
jmp 0x410884
lea edx, [esp + 8]
push str.DictUtilF.chm
lea eax, [esp + 0x20]
push edx
push eax
call fcn.00569248
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 7
call fcn.00569193
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x1c]
jmp 0x410884
lea ecx, [esp + 8]
push str.DictUtilI.chm
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.00569248
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 8
call fcn.00569193
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x20]
jmp 0x410884
lea eax, [esp + 8]
push str.DictUtilP.chm
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.00569248
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 9
call fcn.00569193
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x24]
jmp 0x410884
lea edx, [esp + 8]
push str.DictUtilE.chm
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.00569248
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 0xa
call fcn.00569193
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x28]
call fcn.005690a6
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00568e1b
mov dword [esp + 0x2c], 1
lea ecx, [esp + 8]
mov byte [esp + 0x38], 2
call fcn.005690a6
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call fcn.005690a6
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 0
call fcn.005690a6
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 8
Function at 0x4110f9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411151
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x5d7ff8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411144
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x411153
xor eax, eax
pop esi
leave
ret 4

Function at 0x4156e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x572c08
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov dword [esp + 0x20], 0
call fcn.00401ed0
mov ecx, esi
call fcn.00415510
mov eax, dword [esp + 0x14]
mov dword [esi], 0x597bb0
test eax, eax
mov dword [esp + 0xc], 0xffffffff
je 0x415747
push eax
lea ecx, [esp + 0x18]
call fcn.00411610
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x10

Function at 0x4157c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x572c28
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov dword [esp + 0x20], 0
call fcn.00401ed0
mov ecx, esi
call fcn.004156e0
mov eax, dword [esp + 0x14]
mov dword [esi], 0x597bf8
test eax, eax
mov dword [esi + 0x20], 0
mov dword [esp + 0xc], 0xffffffff
je 0x41582e
push eax
lea ecx, [esp + 0x18]
call fcn.00411610
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x10
Function at 0x4175d0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x572f0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x5d8904]
test eax, eax
je 0x4175fa
push eax
mov ecx, 0x5d8904
call fcn.00411610
mov eax, dword [0x5d8908]
test eax, eax
mov dword [0x5d8904], eax
je 0x41760a
inc dword [eax]
push esi
push edi
push str.TEMP
call fcn.00549cfe
mov edi, dword [esp + 0x20]
add esp, 4
test eax, eax
je 0x417682
push eax
lea ecx, [esp + 0xc]
call fcn.00411a30
mov esi, eax
cmp esi, 0x5d88e0
mov dword [esp + 0x14], 0
je 0x41765f
mov eax, dword [0x5d88e0]
test eax, eax
je 0x417651
push eax
mov ecx, 0x5d88e0
call fcn.00411610
mov esi, dword [esi]
test esi, esi
mov dword [0x5d88e0], esi
je 0x41765f
inc dword [esi]
mov eax, dword [esp + 8]
mov dword [esp + 0x14], 0xffffffff
test eax, eax
je 0x41771e
push eax
lea ecx, [esp + 0xc]
call fcn.00411610
jmp 0x41771e
push 0x5ca7ac
call fcn.00549cfe
add esp, 4
test eax, eax
je 0x4176f5
push eax
lea ecx, [esp + 0x20]
call fcn.00411a30
mov esi, eax
cmp esi, 0x5d88e0
mov dword [esp + 0x14], 1
je 0x4176d1
mov eax, dword [0x5d88e0]
test eax, eax
je 0x4176c3
push eax
mov ecx, 0x5d88e0
call fcn.00411610
mov esi, dword [esi]
test esi, esi
mov dword [0x5d88e0], esi
je 0x4176d1
inc dword [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
test eax, eax
je 0x4176eb
push eax
lea ecx, [esp + 0x20]
call fcn.00411610
mov dword [esp + 0x1c], 0
jmp 0x41771e
cmp edi, 0x5d88e0
je 0x41771e
mov eax, dword [0x5d88e0]
test eax, eax
je 0x417711
push eax
mov ecx, 0x5d88e0
call fcn.00411610
mov eax, dword [edi]
test eax, eax
mov dword [0x5d88e0], eax
je 0x41771e
inc dword [eax]
mov ecx, 0x5d88e0
call fcn.00413540
cmp edi, 0x5d8900
je 0x417751
mov eax, dword [0x5d8900]
test eax, eax
je 0x417744
push eax
mov ecx, 0x5d8900
call fcn.00411610
mov eax, dword [edi]
test eax, eax
mov dword [0x5d8900], eax
je 0x417751
inc dword [eax]
mov ecx, 0x5d8900
call fcn.00413540
mov eax, dword [0x5d8908]
pop edi
test eax, eax
pop esi
je 0x417771
push eax
mov ecx, 0x5d8908
call fcn.00411610
mov eax, dword [0x5d8900]
test eax, eax
mov dword [0x5d8908], eax
je 0x417781
inc dword [eax]
mov eax, dword [0x5d8a58]
test eax, eax
je 0x417795
push eax
mov ecx, 0x5d8a58
call fcn.00411610
mov al, byte [0x5d8a63]
mov dword [0x5d8a58], 0
test al, al
jne 0x4177f6
push 0xc
mov byte [0x5d8a63], 1
call fcn.00564fcb
add esp, 4
mov dword [esp], eax
test eax, eax
mov dword [esp + 0xc], 2
je 0x4177d2
mov ecx, eax
call fcn.004191e0
jmp 0x4177d4
xor eax, eax
test eax, eax
mov dword [esp + 0xc], 0xffffffff
mov dword [0x5d8a64], eax
jne 0x4177f6
push str.Out_of_memory___
call fcn.00418ee0
push 1
call fcn.0054984a
mov ecx, dword [esp + 4]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x41ca20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x573693
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
push 0xa0
mov byte [esp + 0x34], 6
mov dword [esi], 0x5969d4
call fcn.00564fcb
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
cmp edi, ebx
je 0x41cb05
push ecx
mov ecx, dword [esp + 0x70]
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], ecx
mov eax, dword [esp + 0x70]
cmp eax, ebx
je 0x41ca8a
inc dword [eax]
push ecx
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00401ed0
push ecx
lea eax, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00401ed0
sub esp, 0x10
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x50], 0xa
call fcn.0041e160
sub esp, 0x10
lea eax, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
mov byte [esp + 0x60], 0xb
call fcn.0041ec00
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push ecx
push edx
push ecx
lea eax, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
call fcn.00401ed0
mov ecx, edi
mov byte [esp + 0x68], 7
call fcn.0041a0b0
jmp 0x41cb07
xor eax, eax
cmp eax, ebx
mov dword [esi + 8], eax
je 0x41cb15
mov dword [eax + 8], 1
mov eax, dword [esp + 0x38]
mov byte [esp + 0x30], 4
cmp eax, ebx
je 0x41cb2c
push eax
lea ecx, [esp + 0x3c]
call fcn.00411610
lea ecx, [esp + 0x44]
mov dword [esp + 0x38], ebx
mov byte [esp + 0x30], 3
call fcn.0041ebf0
lea ecx, [esp + 0x54]
mov byte [esp + 0x30], 2
call fcn.0041e150
mov eax, dword [esp + 0x64]
mov byte [esp + 0x30], 1
cmp eax, ebx
je 0x41cb63
push eax
lea ecx, [esp + 0x68]
call fcn.00411610
mov eax, dword [esp + 0x68]
mov dword [esp + 0x64], ebx
cmp eax, ebx
mov byte [esp + 0x30], bl
je 0x41cb7d
push eax
lea ecx, [esp + 0x6c]
call fcn.00411610
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x68], ebx
cmp eax, ebx
mov dword [esp + 0x30], 0xffffffff
je 0x41cb9b
push eax
lea ecx, [esp + 0x70]
call fcn.00411610
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 0x38

Function at 0x41f5a0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x573af4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 4], edi
mov dword [esi], 0x598268
mov dword [esi + 8], 1
mov dword [esp + 0x14], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 2
call fcn.0041e0b0
mov dword [esi + 0x28], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x2c], edi
push edi
lea ecx, [esi + 0x40]
mov byte [esp + 0x18], 4
call fcn.0041eae0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x50], edi
mov dword [esi], 0x5981b4
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret