joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dd9ec
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4dd9f5
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ddbbd
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
mov dword [ebp - 0xc], 0x3fff
mov eax, dword [ebp - 0xc]
call fcn.00402b1c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov byte [eax], 0
xor eax, eax
push ebp
push 0x4ddb9b
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4ddb61
mov eax, ebx
call fcn.004ddeec
mov dword [ebp - 0xc], 0x3fff
jmp 0x4dda5b
push 0x64
call sub.KERNEL32.DLL_Sleep
cmp byte [ebx + 0xa1], 0
jne 0x4dda54
cmp byte [ebx + 0xa0], 0
je 0x4dda77
call fcn.00404150
jmp 0x4ddba2
inc edi
mov eax, dword [ebx + 0x9c]
inc dword [eax]
inc dword [ebx + 0x74]
push esi
push 0x4ddbd8
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 8]
call fcn.00404948
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404ad0
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov eax, ebx
call fcn.004ddc50
push esi
push 0x4ddbd8
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
call fcn.00404948
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404ad0
mov edx, dword [ebp - 0x24]
mov eax, ebx
call fcn.004dd4dc
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4ddb61
cmp byte [ebp + 8], 0
je 0x4ddb1f
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 8]
call fcn.00404948
mov eax, dword [ebp - 0x2c]
mov edx, 0x4ddbe4
call fcn.004093b4
test eax, eax
je 0x4ddb1f
cmp dword [ebp + 0xc], 0xf
jge 0x4ddb58
mov eax, dword [ebp + 0xc]
inc eax
push eax
push 0
push esi
push 0x4ddbd8
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 8]
call fcn.00404948
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404ad0
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
mov eax, ebx
call fcn.004dd9ec
mov byte [ebp + 8], 0
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push edi
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
je 0x4dda44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ddba2
mov eax, dword [ebp - 8]
call fcn.00402b4c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ddbc4
lea eax, [ebp - 0x34]
mov edx, 7
call fcn.00404774
ret
Function at 0x4ddeec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov edi, eax
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [edi + 0x84]
cmp eax, 0x3e8
jb 0x4ddf8b
call sub.KERNEL32.DLL_GetTickCount
mov dword [edi + 0x84], eax
mov ebx, dword [edi + 0x7c]
cmp dword [ebx + 8], 0
jle 0x4ddf8b
xor edx, edx
mov eax, ebx
call fcn.0041c14c
mov esi, eax
xor ebx, ebx
cmp byte [edi + 0x48], 0
je 0x4ddf42
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [edi + 0x80]
cmp eax, dword [edi + 0x4c]
jbe 0x4ddf54
mov bl, 1
jmp 0x4ddf54
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [edi + 0x80]
cmp eax, dword [edi + 0x50]
jbe 0x4ddf54
mov bl, 1
test bl, bl
je 0x4ddf8b
call sub.KERNEL32.DLL_GetTickCount
mov dword [edi + 0x80], eax
mov byte [edi + 0x48], 0
mov eax, dword [esi + 8]
push eax
push esi
push 0x402
mov eax, dword [edi + 0x1c]
push eax
call sub.user32.dll_SendMessageA
mov eax, esi
call fcn.004038c4
xor edx, edx
mov eax, dword [edi + 0x7c]
call fcn.0041bfc4
pop edi
pop esi
pop ebx
ret

Function at 0x4e0b48
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004e05c4
mov eax, dword [ebp - 4]
test byte [eax + 0x23d], 4
jne 0x4e0bfb
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0045c7d4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00465610
push eax
push 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x4e0b8f
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x22c], 0
jne 0x4e0bc6
mov ecx, dword [0x5168d0]
mov dl, 1
mov eax, dword [0x4a46d8]
call fcn.0040ddd0
call fcn.004040a4
mov eax, dword [ebp - 4]
call fcn.004e12a4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x57], 0
jne 0x4e0c03
mov eax, dword [ebp - 4]
call fcn.00465910
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4e0c03
push 0
mov eax, dword [ebp - 4]
call fcn.00465910
push eax
call sub.user32.dll_ShowWindow
jmp 0x4e0c03
mov eax, dword [ebp - 4]
call fcn.00461968
mov esp, ebp
pop ebp
ret
Function at 0x4eea1c
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c00
mov eax, dword [ebp - 8]
call fcn.00404c00
xor eax, eax
push ebp
push 0x4eeaf0
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x14
mov dword [ebp - 0x20], 0x14
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x38], 2
mov eax, dword [ebp - 8]
call fcn.00404c10
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], 3
mov eax, 0x4eeafc
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404c10
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0xc], eax
push ebx
lea eax, [ebp - 0x20]
push eax
push 0x4b
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eeaf7
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404774
ret

Function at 0x4eeb04
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c00
mov eax, dword [ebp - 8]
call fcn.00404c00
mov eax, dword [ebp - 0xc]
call fcn.00404c00
mov eax, dword [ebp + 0xc]
call fcn.00404c00
xor eax, eax
push ebp
push 0x4eec1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x14
mov dword [ebp - 0x24], 0x14
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x3c], 2
mov eax, dword [ebp - 8]
call fcn.00404c10
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], 3
mov eax, 0x4eec2c
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404c10
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00404c10
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404c10
push eax
mov ax, word [ebp + 8]
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetConnectA
push ebx
lea eax, [ebp - 0x24]
push eax
push 0x4b
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eec24
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404774
lea eax, [ebp + 0xc]
call fcn.00404750
ret
Function at 0x4f09d4
Capabilities:
Create http request

Disassembly:
push ebx
add esp, 0xffffffc4
mov ebx, 0x14
mov dword [esp + 4], 0x14
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 3
mov dword [esp + 0x24], 2
mov eax, 0x4f0a74
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 3
mov eax, 0x4f0a78
mov dword [esp + 0x34], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], eax
push 0
push 0
push 0
push 1
push 0x4f0a74
call sub.wininet.dll_InternetOpenA
mov dword [esp], eax
push ebx
lea eax, [esp + 8]
push eax
push 0x4b
mov eax, dword [esp + 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [esp + 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
mov eax, dword [esp]
push eax
call sub.wininet.dll_InternetCloseHandle
add esp, 0x3c
pop ebx
ret

Function at 0x4f0a33
Capabilities:
Create http request

Disassembly:
push ebx
add esp, 0xffffffc4
mov ebx, 0x14
mov dword [esp + 4], 0x14
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 3
mov dword [esp + 0x24], 2
mov eax, 0x4f0a74
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 3
mov eax, 0x4f0a78
mov dword [esp + 0x34], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], eax
push 0
push 0
push 0
push 1
push 0x4f0a74
call sub.wininet.dll_InternetOpenA
mov dword [esp], eax
push ebx
lea eax, [esp + 8]
push eax
push 0x4b
mov eax, dword [esp + 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [esp + 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
mov eax, dword [esp]
push eax
call sub.wininet.dll_InternetCloseHandle
add esp, 0x3c
pop ebx
ret

Function at 0x4f0bd8
Capabilities:
Get geographical location

Disassembly:
add esp, 0xfffffff4
mov eax, esp
xor ecx, ecx
mov edx, 0xa
call fcn.0040324c
push 0xa
lea eax, [esp + 4]
push eax
push 0xd
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
cmp byte [esp], 0x31
jne 0x4f0c06
mov al, 1
jmp 0x4f0c08
xor eax, eax
add esp, 0xc
ret

Function at 0x4f0bf0
Capabilities:
Get geographical location

Disassembly:
add esp, 0xfffffff4
mov eax, esp
xor ecx, ecx
mov edx, 0xa
call fcn.0040324c
push 0xa
lea eax, [esp + 4]
push eax
push 0xd
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
cmp byte [esp], 0x31
jne 0x4f0c06
mov al, 1
jmp 0x4f0c08
xor eax, eax
add esp, 0xc
ret
Function at 0x50a5a8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x50a680
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea eax, [ebp - 0xc]
mov ecx, 0x50a698
mov edx, ebx
call fcn.00404a5c
mov eax, dword [ebp - 0xc]
call fcn.00404c10
push eax
call sub.KERNEL32.DLL_CreateFileA
mov edi, eax
mov ebx, 2
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404d9c
mov eax, dword [ebp - 8]
call fcn.00404a10
mov esi, eax
test esi, esi
jle 0x50a632
mov ebx, 1
mov eax, dword [ebp - 8]
cmp byte [eax + ebx - 1], 0x1e
jne 0x50a62e
lea eax, [ebp - 8]
call fcn.00404c68
mov byte [eax + ebx - 1], 0xa7
inc ebx
dec esi
jne 0x50a617
test edi, edi
je 0x50a665
cmp edi, 0xffffffff
je 0x50a665
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [0x51687c]
mov eax, dword [eax]
call fcn.00404a10
push eax
mov eax, dword [0x51687c]
call fcn.00404c68
push eax
push edi
call sub.KERNEL32.DLL_WriteFile
push edi
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50a687
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404774
ret
Function at 0x50a6c4
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 5], cl
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50a8a4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x50a8b8
mov eax, ebx
call fcn.00404c10
push eax
mov eax, dword [0x517668]
push eax
call sub.KERNEL32.DLL_FindResourceA
mov ebx, eax
push ebx
mov eax, dword [0x517668]
push eax
call sub.KERNEL32.DLL_LoadResource
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_LockResource
mov dword [ebp - 0x10], eax
push ebx
mov eax, dword [0x517668]
push eax
call sub.KERNEL32.DLL_SizeofResource
mov dword [ebp - 0x14], eax
cmp byte [ebp - 5], 0
je 0x50a78c
mov byte [ebp - 6], 1
mov esi, 2
lea eax, [ebp - 0x24]
mov edx, esi
call fcn.00404d9c
mov eax, dword [ebp - 0x24]
call fcn.00404a10
mov edi, eax
test edi, edi
jle 0x50a779
mov esi, 1
mov eax, dword [ebp - 0x24]
cmp byte [eax + esi - 1], 0x59
jne 0x50a775
lea eax, [ebp - 0x24]
call fcn.00404c68
mov byte [eax + esi - 1], 0x39
inc esi
dec edi
jne 0x50a75e
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00407f1c
jmp 0x50a86f
mov byte [ebp - 6], 0
mov eax, 0xe
call fcn.0040326c
mov esi, eax
inc esi
push esi
lea eax, [ebp - 0x20]
mov ecx, 1
mov edx, dword [0x50a6a0]
call fcn.00405b7c
add esp, 4
xor eax, eax
test esi, esi
jle 0x50a7cf
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + eax*4]
test edx, edx
jle 0x50a7c9
mov ecx, dword [ebp - 0x20]
add dword [ecx], edx
dec esi
inc eax
test esi, esi
jg 0x50a7ba
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0x20e
jle 0x50a7e9
mov eax, 0x17
call fcn.0040326c
mov edx, dword [ebp - 0x20]
mov dword [edx], eax
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.00404c10
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test ebx, ebx
je 0x50a86f
cmp ebx, 0xffffffff
je 0x50a86f
mov byte [ebp - 6], 1
mov esi, 2
lea eax, [ebp - 0x1c]
mov edx, esi
call fcn.00404d9c
mov eax, dword [ebp - 0x1c]
call fcn.00404a10
mov edi, eax
test edi, edi
jle 0x50a855
mov esi, 1
mov eax, dword [ebp - 0x1c]
cmp byte [eax + esi - 1], 0xa6
jne 0x50a851
lea eax, [ebp - 0x1c]
call fcn.00404c68
mov byte [eax + esi - 1], 0xa2
inc esi
dec edi
jne 0x50a83a
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50a8ab
lea eax, [ebp - 0x24]
call fcn.00404750
lea eax, [ebp - 0x20]
mov edx, dword [0x50a6a0]
call fcn.00405c88
lea eax, [ebp - 0x1c]
call fcn.00404750
ret
Function at 0x50a9c0
Capabilities:
Create process on windows
Create process suspended
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x50ab93
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x50aba0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x50aa06
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
jmp 0x50ab77
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x50abc8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x50ab77
push 0x3e8
call sub.KERNEL32.DLL_Sleep
mov dword [ebp - 8], 1
mov eax, 4
push eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push 0x50abec
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.0040324c
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x24], 1
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x10
call fcn.0040324c
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x50ac00
push 0
call sub.KERNEL32.DLL_CreateProcessA
push 0x7530
mov eax, dword [ebp - 0x60]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.0040324c
mov dword [ebp - 0x50], 0x44
mov eax, 0xd
call fcn.0040326c
mov ebx, eax
inc ebx
push ebx
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x50a99c]
call fcn.00405b7c
add esp, 4
xor eax, eax
test ebx, ebx
jle 0x50ab13
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + eax*4]
test edx, edx
jle 0x50ab0d
mov ecx, dword [ebp - 0xc]
add dword [ecx], edx
dec ebx
inc eax
test ebx, ebx
jg 0x50aafe
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x92
jle 0x50ab2d
mov eax, 0x2de
call fcn.0040326c
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov dword [ebp - 0x24], 1
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x10
call fcn.0040324c
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x50ac14
push 0
call sub.KERNEL32.DLL_CreateProcessA
push 0x7530
mov eax, dword [ebp - 0x60]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50ab9a
lea eax, [ebp - 0xc]
mov edx, dword [0x50a99c]
call fcn.00405c88
ret
Function at 0x511164
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
xor eax, eax
push ebp
push 0x5111b0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
call fcn.00511060
mov eax, dword [ebp - 4]
call fcn.00404c10
push eax
push 0x5111bc
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5111b7
lea eax, [ebp - 4]
call fcn.00404750
ret

Function at 0x5111c4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
xor eax, eax
push ebp
push 0x511237
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x51124c
mov eax, dword [0x51688c]
push dword [eax]
push 0x511260
mov eax, dword [0x51687c]
push dword [eax]
push 0x511284
push 0x511294
lea eax, [ebp - 4]
mov edx, 6
call fcn.00404ad0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404c10
push eax
push 0x511298
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51123e
lea eax, [ebp - 4]
call fcn.00404750
ret

Function at 0x5112a0
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
xor ebx, ebx
mov eax, esp
mov edx, 0x94
call fcn.00407b48
mov dword [esp], 0x94
push esp
call sub.KERNEL32.DLL_GetVersionExA
test eax, eax
je 0x5112da
cmp dword [esp + 0x10], 2
jne 0x5112d4
cmp dword [esp + 4], 6
jae 0x5112d8
xor ebx, ebx
jmp 0x5112da
mov bl, 1
mov eax, ebx
add esp, 0x94
pop ebx
ret
Function at 0x4014d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x46cbbb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4831a0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0040ffb1
push 4
mov dword [esp + 0x24], 0
call fcn.004123b5
mov edi, eax
add esp, 4
test edi, edi
je 0x401552
call fcn.00410263
mov dword [edi], eax
call fcn.00410091
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0040ff72
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x401547
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0040ff9a
jmp 0x401554
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x4038b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
mov eax, dword [0x4831a0]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
xor ebx, ebx
push 0x104
lea eax, [esp + 0xd]
push ebx
push eax
mov dword [esp + 0x10], ebx
mov byte [esp + 0x14], bl
call fcn.00416f90
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 8]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403906
sub eax, edx
push eax
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.004036b0
mov ecx, dword [esp + 0x110]
pop ebx
xor ecx, esp
mov eax, esi
call fcn.0041230e
add esp, 0x110
ret
Function at 0x403ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46df80
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4831a0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [0x4831a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esi]
mov dword [esp + 0xc], eax
push 0
push 0x47bd34
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0
call fcn.004699f0
test al, al
jne 0x403f41
lea ecx, [esp + 0xc]
call fcn.00469a90
mov al, 1
jmp 0x403fea
push 0x47bd40
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00469ac0
lea edx, [esp + 0xc]
mov bl, 1
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], bl
call fcn.00405120
test al, al
je 0x403fb4
lea eax, [esp + 0xc]
push eax
call fcn.004052a0
test al, al
je 0x403fb4
lea ecx, [esp + 0xc]
push ecx
call fcn.00405380
test al, al
je 0x403fb4
lea edx, [esp + 0xc]
push edx
call fcn.004054a0
test al, al
je 0x403fb4
lea eax, [esp + 0xc]
push eax
call fcn.00405570
test al, al
je 0x403fb4
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.00405640
test al, al
jne 0x403fb6
xor bl, bl
cmp dword [esp + 0x28], 0x10
jb 0x403fca
mov edx, dword [esp + 0x14]
push edx
call fcn.00412303
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.00469a90
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0041230e
add esp, 0x34
ret