joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f9a0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1e8
mov eax, dword [0x55f904]
xor eax, esp
mov dword [esp + 0x1e4], eax
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [esp + 0x58]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push esi
push edi
mov ecx, 0x5604f8
call fcn.0040fed0
test al, al
je 0x40f9f1
call fcn.004a6240
push str._end_
push 0x53
push str.XZDownloaderImpl::clear
call fcn.0042e960
mov eax, dword [0x560500]
add esp, 0xc
test eax, eax
je 0x40fa1f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x560500], 0
mov ecx, 0x560504
call fcn.004351d0
mov ecx, dword [0x5604fc]
test ecx, ecx
je 0x40fa3c
push 1
push 0
call fcn.004ab130
push dword [0x566400]
mov byte [0x56644c], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1f40
mov ecx, 0x5663d8
call fcn.00435db0
mov ecx, 0x56638c
call fcn.0042eb50
push 0x3e8
mov ecx, 0x566394
call fcn.00435db0
mov ecx, 0x566110
call fcn.004362c0
mov ecx, 0x5663ac
call fcn.0042eac0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0042ea10
call fcn.004450c0
lea eax, [esp + 0x40]
push eax
call fcn.00433b20
add esp, 4
lea ecx, [esp + 0x40]
push 0x14
push 0x54b628
call fcn.004035c0
push 0x566228
lea ecx, [esp + 0xc]
call fcn.004033c0
cmp dword [esp + 0x54], 8
lea eax, [esp + 0x40]
push dword [esp + 0x50]
cmovae eax, dword [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.0040fc20
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x20], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [esp + 0x1c]
cmp edx, 8
jb 0x40fb4a
mov ecx, dword [esp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fb40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fc09
push edx
push ecx
call fcn.004ee3ca
add esp, 8
cmp dword [esp + 0x30], 0
je 0x40fb66
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_RemoveFontResourceW]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edx, dword [esp + 0x34]
cmp edx, 8
jb 0x40fba4
mov ecx, dword [esp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fb9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fc0e
push edx
push ecx
call fcn.004ee3ca
add esp, 8
mov edx, dword [esp + 0x54]
xor eax, eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
cmp edx, 8
jb 0x40fbf3
mov ecx, dword [esp + 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fbe9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fc0e
push edx
push ecx
call fcn.004ee3ca
add esp, 8
mov ecx, dword [esp + 0x1ec]
pop edi
pop esi
xor ecx, esp
call fcn.004edf30
mov esp, ebp
pop ebp
ret 0x10
call fcn.004f890c
call fcn.004f890c
int3
Function at 0x425050
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x425082
jl 0x425075
test ecx, ecx
jne 0x425082
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x425142
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.00427240
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x4250ee
jg 0x4250ad
test esi, esi
je 0x4250ee
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x4250c5
mov eax, dword [esp + 0x10]
jl 0x4250bf
cmp eax, esi
jae 0x4250c5
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.004f0450
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x42510f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x42512b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x425094
jl 0x42512b
test ecx, ecx
jne 0x425094
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x425181
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x425181
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.004f0450
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
cmp dword [ebx + 0x4c], 0
mov ecx, edi
je 0x4251f0
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x4251a7
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
mov ecx, edi
cmp edi, 0xfff
jbe 0x4251d9
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.004fa372
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x425204
cmp edi, eax
ja 0x4251b5
test ecx, ecx
je 0x4251f0
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.004fa372
mov ecx, edi
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ecx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x425f00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d210
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x55f904]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004ee149
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004eca43
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430db0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x55f904]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.004f0080
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x430e0b
mov dword [ebp - 0x120], 0x114
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jb 0x430e18
mov al, 1
jmp 0x430e1a
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004edf30
mov esp, ebp
pop ebp
ret
Function at 0x431470
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x431487
mov dword [ebp - 8], 1
jmp 0x43148e
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 8]
call fcn.00403230
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4314cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4314cf
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x4314cf
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4314d2
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x431580
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.004f0080
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x30], 0x5472dc
mov ecx, dword [ebp + 8]
call fcn.00403230
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 5
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4315ea
push 5
push 0
mov ecx, dword [ebp + 8]
call fcn.00403230
push eax
push str.iexplore.exe
push 0x547224
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret

Function at 0x4315f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x55f904]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov dword [ebp - 0x28], 0x20
mov eax, dword [ebp - 0x28]
push eax
call fcn.004ee515
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x34], 0x20019
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp - 0x38]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4316a4
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x3c]
push ecx
push 0
push str.CurrentBuild
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4316a4
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403370
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403320
mov edx, dword [ebp - 0x20]
or edx, 1
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x1c]
call fcn.004032c0
mov eax, dword [ebp + 8]
jmp 0x4316e0
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x40], ecx
push 1
mov edx, dword [ebp - 0x40]
push edx
call fcn.004ee3ca
add esp, 8
call fcn.004f9a49
push 0x547904
mov ecx, dword [ebp + 8]
call fcn.00403370
mov eax, dword [ebp - 0x20]
or eax, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004edf30
mov esp, ebp
pop ebp
ret
Function at 0x433820
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push bind
mov ecx, dword [ebp + 8]
call fcn.00403230
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x433854
xor al, al
jmp 0x43388e
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x433882
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x43388e
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x433a60
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00403230
push eax
mov ecx, dword [ebp + 8]
call fcn.00403230
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x433a88
mov al, 1
jmp 0x433ac4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00403230
push eax
mov ecx, dword [ebp + 8]
call fcn.00403230
push eax
push 0x547ee8
push 0xfa
push str.utility::ufile::moveFile
call fcn.0042e960
add esp, 0x1c
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x433ad0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403230
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x433aeb
mov al, 1
jmp 0x433b1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403230
push eax
push str.removeFile_file_from____s___error___d.
push 0x15f
push str.utility::ufile::removeFile
call fcn.0042e960
add esp, 0x14
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x433b20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x55f904]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x22c], 0
push 0x20a
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.004f0080
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x228]
call fcn.00403370
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403320
mov ecx, dword [ebp - 0x22c]
or ecx, 1
mov dword [ebp - 0x22c], ecx
lea ecx, [ebp - 0x228]
call fcn.004032c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004edf30
mov esp, ebp
pop ebp
ret
Function at 0x433c10
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
push 0
push 0x80
push 3
push 0
push 1
push bind
mov ecx, dword [ebp + 8]
call fcn.00403230
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0xffffffff
jne 0x433c4b
xor al, al
jmp 0x433c79
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x433c6e
mov ecx, dword [ebp - 4]
call fcn.00433be0
xor al, al
jmp 0x433c79
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 4], eax
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x433c80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x433cb7
xor eax, eax
jmp 0x433cba
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x433d70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x433daf
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jne 0x433daf
mov al, 1
jmp 0x433db1
xor al, al
mov esp, ebp
pop ebp
ret 8
Function at 0x434b60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x14]
push eax
movzx ecx, byte [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00403230
push eax
mov ecx, dword [ebp + 8]
call fcn.00403230
push eax
push str.shell_filename____s___param____s___runas___d__show___d
push 0xc
push 0x548168
call fcn.0042e960
add esp, 0x1c
call fcn.00430db0
movzx edx, al
test edx, edx
je 0x434bb3
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x434bb3
mov dword [ebp - 8], 0x548258
jmp 0x434bba
mov dword [ebp - 8], str.open
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x434bcb
mov dword [ebp - 4], 5
jmp 0x434bd2
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00403230
push eax
mov ecx, dword [ebp + 8]
call fcn.00403230
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.shellEx_ret_._lastError___d
push 0x18
push 0x5481f8
call fcn.0042e960
add esp, 0x10
cmp dword [ebp - 0x10], 0x20
jg 0x434c3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x548330
push 0x1b
push str.utility::process::shell
call fcn.0042e960
add esp, 0x10
xor al, al
jmp 0x434c41
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x434d60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e30d
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x55f904]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x88], 0
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00403230
push eax
mov ecx, dword [ebp + 8]
call fcn.00403230
push eax
push str.createProcess_filename____s___param____s___show___d
push 0xf1
push 0x5489dc
call fcn.0042e960
add esp, 0x18
mov ecx, dword [ebp + 8]
push ecx
mov edx, 0x5489d4
lea ecx, [ebp - 0x40]
call fcn.0040f100
add esp, 4
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x64], edx
mov dword [ebp - 4], 0
push 0x5489d8
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x28]
call fcn.00409c70
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004032c0
mov ecx, dword [ebp + 0xc]
call fcn.00403210
movzx eax, al
test eax, eax
jne 0x434e4e
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, 0x548b20
lea ecx, [ebp - 0x58]
call fcn.0040f100
add esp, 4
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403270
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.004032c0
push 0x44
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.004f0080
add esp, 0xc
mov dword [ebp - 0xcc], 0x44
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xa0], 1
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x434ea4
mov dword [ebp - 0x5c], 5
jmp 0x434eab
mov dword [ebp - 0x5c], 0
mov ax, word [ebp - 0x5c]
mov word [ebp - 0x9c], ax
xor ecx, ecx
mov word [ebp - 0x9a], cx
mov dword [ebp - 0x98], 0
xor edx, edx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], edx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0xcc]
push ecx
push 0
push 0
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00403230
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x434f42
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.createProcess_failed____lastError___d
push 0x104
push str.utility::process::create
call fcn.0042e960
add esp, 0x10
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004032c0
mov eax, dword [ebp - 0x70]
jmp 0x434f75
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], 0
je 0x434f5a
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x74], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004032c0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004edf30
mov esp, ebp
pop ebp
ret
Function at 0x4353e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x43541d
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x4355a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x43542f
mov dword [ebp - 8], 1
jmp 0x435436
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x435bd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e390
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x55f904]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x42c], ecx
mov eax, dword [ebp - 0x42c]
cmp dword [eax], 0
jne 0x435c72
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x428]
push edx
call fcn.00431ec0
add esp, 8
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x434]
mov dword [ebp - 0x438], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x438]
call fcn.00403230
push eax
push 0x5497a8
push 0x3e
push str.utility::RegKey::RegRead
call fcn.0042e960
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.004032c0
or eax, 0xffffffff
jmp 0x435cf4
mov ecx, dword [ebp + 8]
call fcn.00403210
mov dword [ebp - 0x43c], 0x400
lea edx, [ebp - 0x43c]
push edx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x440]
push ecx
push 0
mov ecx, dword [ebp + 8]
call fcn.00405b40
push eax
mov edx, dword [ebp - 0x42c]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
jne 0x435cd3
lea ecx, [ebp - 0x410]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004268e0
jmp 0x435cee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5498b0
push 0x51
push 0x549894
call fcn.0042e960
add esp, 0x10
mov eax, dword [ebp - 0x430]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004edf30
mov esp, ebp
pop ebp
ret 8

Function at 0x435d50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x435d64
xor al, al
jmp 0x435da8
mov ecx, dword [ebp - 4]
mov byte [ecx + 0xc], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x435ea0
push 0
push 0
call fcn.00502fb5
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov al, 1
mov esp, ebp
pop ebp
ret 4