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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x468110]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x469c78], 0
push esi
mov esi, ecx
je 0x432942
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
cmp dword [esi + 0x64], 0
jbe 0x4328f2
cmp dword [esi + 0x68], 8
jb 0x4328df
mov eax, dword [esi + 0x54]
jmp 0x4328e2
lea eax, [esi + 0x54]
push eax
push 0x469c80
call dword [sym.imp.MSVCR90.dll_wcscpy]
pop ecx
pop ecx
jmp 0x432914
cmp dword [esi + 0x84], 8
jb 0x432900
mov eax, dword [esi + 0x70]
jmp 0x432903
lea eax, [esi + 0x70]
push str.XLBugReport.exe
push eax
push 0x469c80
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp dword [esi + 0x4c], 8
jb 0x43291f
mov esi, dword [esi + 0x38]
jmp 0x432922
add esi, 0x38
push 1
push 0
push esi
push 0x469c80
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00436772
leave
ret

Function at 0x43294f
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x4c], 8
jb 0x432965
mov eax, dword [edi + 0x38]
jmp 0x432968
lea eax, [edi + 0x38]
push str.minidump.dmp
push eax
mov esi, 0x469c80
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp dword [edi + 0x4c], 8
jb 0x432985
mov eax, dword [edi + 0x38]
jmp 0x432988
lea eax, [edi + 0x38]
xor ebx, ebx
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push ebx
push 0x80
push 2
push ebx
push 2
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, ebx
je 0x432a21
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0xc], eax
cmp dword [0x469c78], ebx
je 0x4329f2
push ebx
lea eax, [ebp - 0xc]
push ebx
push eax
cmp byte [0x469c71], bl
jne 0x4329db
push ebx
jmp 0x4329dd
push 2
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x469c78]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax], 0xe0008001
jne 0x432a21
lea ecx, [eax + 0x14]
cmp ecx, ebx
je 0x432a21
cmp dword [eax + 0x10], 1
jne 0x432a21
push dword [ecx]
lea ecx, [edi + 0x14c]
call dword [0x451324]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x432b7a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
cmp byte [esi + 0x1f4], 0
je 0x432cda
cmp dword [esi + 0x4c], 8
jb 0x432b9b
mov eax, dword [esi + 0x38]
jmp 0x432b9e
lea eax, [esi + 0x38]
push ebx
push edi
push 0x45205c
push eax
mov edi, 0x469c80
push edi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x452058
push edi
call dword [sym.imp.MSVCR90.dll__wfopen]
xor ebx, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x432cd8
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], ebx
call dword [esi + 0x204]
mov edi, dword [sym.imp.MSVCR90.dll_fwrite]
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
je 0x432c4a
push dword [ebp - 0xc]
mov ebx, str.Lua_Call_Log:__r_n
push ebx
call sub.MSVCR90.dll_strlen
pop ecx
push eax
push 1
push ebx
call edi
add esp, 0x10
push dword [esi + 0x228]
push dword [ebp - 8]
call dword [esi + 0x220]
jmp 0x432c28
push dword [ebp - 0xc]
push dword [ebp - 4]
call sub.MSVCR90.dll_strlen
pop ecx
push eax
push 1
push dword [ebp - 4]
call edi
add esp, 0x10
push dword [esi + 0x228]
lea eax, [ebp - 4]
push eax
call dword [esi + 0x21c]
cmp dword [ebp - 4], 0
jne 0x432c11
lea eax, [ebp - 8]
push eax
call dword [esi + 0x208]
jmp 0x432c72
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], ebx
call dword [esi + 0x1fc]
cmp dword [ebp - 0x10], ebx
je 0x432c72
lea ebx, [esi + 0x224]
push dword [ebx]
push dword [ebp - 0x10]
call dword [esi + 0x200]
mov eax, dword [ebx]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x432cce
push dword [ebp - 0xc]
mov ebx, str.Lua_Stack:_r_n
push ebx
call sub.MSVCR90.dll_strlen
pop ecx
push eax
push 1
push ebx
call edi
add esp, 0x10
push dword [esi + 0x228]
push dword [ebp - 8]
call dword [esi + 0x220]
jmp 0x432cb8
push dword [ebp - 0xc]
push dword [ebp - 4]
call sub.MSVCR90.dll_strlen
pop ecx
push eax
push 1
push dword [ebp - 4]
call edi
add esp, 0x10
push dword [esi + 0x228]
lea eax, [ebp - 4]
push eax
call dword [esi + 0x21c]
cmp dword [ebp - 4], 0
jne 0x432ca1
push dword [ebp - 0xc]
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x432cdd
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x394]
sub esp, 0x414
mov eax, dword [0x468110]
xor eax, ebp
mov dword [ebp + 0x390], eax
push ebx
push esi
mov esi, dword [ebp + 0x39c]
push edi
mov edi, dword [ebp + 0x3a0]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x80], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0xa4
push 0
mov ebx, 0x4a9c00
push ebx
mov dword [ebp - 0x7c], eax
call sub.MSVCR90.dll_memset
mov eax, dword [edi + 0xb8]
and dword [ebp - 0x74], 0
add esp, 0xc
mov dword [0x4a9c00], eax
push 3
pop eax
mov dword [0x4a9c08], eax
mov ecx, dword [edi + 0xb4]
mov dword [0x4a9c18], ecx
mov dword [0x4a9c20], eax
cmp dword [esi + 0x4c], 8
jb 0x432d61
mov esi, dword [esi + 0x38]
jmp 0x432d64
add esi, 0x38
push str.callstack.txt
push esi
mov esi, 0x469c80
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor eax, eax
mov dword [ebp - 0x78], eax
jmp 0x432d7f
xor eax, eax
push eax
push eax
push eax
push eax
push edi
push ebx
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push 0x14c
call fcn.0043415f
test eax, eax
je 0x432e17
cmp dword [0x4a9c00], 0
je 0x432e0a
cmp dword [ebp - 0x74], 0
jne 0x432dbd
push 0x452058
push esi
call dword [sym.imp.MSVCR90.dll__wfopen]
pop ecx
pop ecx
mov dword [ebp - 0x74], eax
test eax, eax
je 0x432e27
push dword [0x4a9c40]
lea eax, [ebp - 0x70]
push dword [0x4a9c3c]
push dword [0x4a9c38]
push dword [0x4a9c34]
push dword [0x4a9c00]
push str._u__u__u__u__u__r_n
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x1c
push dword [ebp - 0x74]
lea eax, [ebp - 0x70]
push eax
call sub.MSVCR90.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x70]
push 1
push eax
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
inc dword [ebp - 0x78]
cmp dword [ebp - 0x78], 0x32
jl 0x432d7d
cmp dword [ebp - 0x74], 0
je 0x432e27
push dword [ebp - 0x74]
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
mov ecx, dword [ebp + 0x390]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00436772
add ebp, 0x394
leave
ret 8
Function at 0x433257
Capabilities:
Copy file
Create directory

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x4c], 8
jb 0x433267
mov eax, dword [edi + 0x38]
jmp 0x43326a
lea eax, [edi + 0x38]
xor ebx, ebx
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea esi, [edi + 0x1c4]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
test eax, eax
jbe 0x4332d7
push ebp
mov ebp, 0x469c80
push ebx
mov ecx, esi
call fcn.00432e77
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp dword [edi + 0x4c], 8
jb 0x4332a9
mov ecx, dword [edi + 0x38]
jmp 0x4332ac
lea ecx, [edi + 0x38]
push eax
push ecx
push ebp
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push ebx
mov ecx, esi
call fcn.00432e77
push 0
push ebp
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x43328e
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4332eb
Capabilities:
Create process on windows

Disassembly:
push 0x20
mov eax, 0x44a6c4
call fcn.00436c9c
lea esi, [ecx + 0x1ac]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x38
cdq
pop ebx
idiv ebx
xor edi, edi
test eax, eax
jbe 0x4333a7
add ecx, 0x34
mov dword [ebp - 0x10], ecx
push str._dir
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push dword [ebp - 0x10]
and dword [ebp - 4], 0
push eax
push edi
mov ecx, esi
call fcn.004458a5
add eax, 0x1c
push eax
call fcn.00432e41
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push edi
mov ecx, esi
call fcn.004458a5
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x433366
mov ebx, dword [eax + 4]
jmp 0x433369
lea ebx, [eax + 4]
push edi
mov ecx, esi
call fcn.004458a5
cmp dword [eax + 0x18], 8
jb 0x43337c
mov eax, dword [eax + 4]
jmp 0x43337f
add eax, 4
push 1
push 0
push ebx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x38
cdq
pop ecx
idiv ecx
inc edi
cmp edi, eax
jb 0x433319
call fcn.00436d74
ret
Function at 0x433d77
Capabilities:
Parse pe header

Disassembly:
push ebp
sub esp, 0x90
lea ebp, [esp - 4]
mov eax, dword [0x468110]
xor eax, ebp
mov dword [ebp + 0x90], eax
push 0x118
mov eax, 0x44a936
call fcn.00436ccf
mov eax, dword [ebp + 0xa4]
mov esi, dword [ebp + 0xa0]
mov ebx, dword [ebp + 0x9c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xa8]
mov edx, dword [ebp + 0xac]
mov dword [ebp - 0x24], eax
and dword [ebp - 4], 0
xor eax, eax
mov byte [ebp + 0x40], 0
lea edi, [ebp + 0x41]
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 8
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp + 0x48]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
push 0x40
lea eax, [ebp]
push eax
push esi
push ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], edx
call edx
test eax, eax
je 0x433dff
cmp dword [ebp - 0x18], 0x40
mov byte [ebp - 0x14], 1
je 0x433e03
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00433d39
mov eax, 0x5a4d
cmp word [ebp], ax
lea ecx, [ebp - 0x18]
sete al
mov byte [ebp - 0x1c], al
push dword [ebp - 0x1c]
call fcn.00433d39
lea eax, [ebp - 0x18]
push eax
mov edi, 0xf8
push edi
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebp + 0x3c]
add eax, esi
push eax
push ebx
call dword [ebp - 0x20]
test eax, eax
je 0x433e50
mov byte [ebp - 0x14], 1
cmp dword [ebp - 0x18], edi
je 0x433e54
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00433d39
cmp dword [ebp - 0x124], 0x4550
jne 0x433e89
mov eax, 0x14c
cmp word [ebp - 0x120], ax
jne 0x433e89
add eax, 0xffffffbf
mov byte [ebp - 0x14], 1
cmp word [ebp - 0x10c], ax
je 0x433e8d
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00433d39
mov eax, dword [ebp + 0x3c]
movzx ebx, word [ebp - 0x11e]
and dword [ebp - 0x14], 0
lea edi, [esi + eax + 0xf8]
cmp dword [ebp - 0x14], ebx
jae 0x433f2e
lea eax, [ebp - 0x18]
push eax
push 0x28
lea eax, [ebp + 0x68]
push eax
push edi
push dword [ebp - 0x28]
call dword [ebp - 0x20]
test eax, eax
je 0x433ed1
cmp dword [ebp - 0x18], 0x28
mov byte [ebp - 0x1c], 1
je 0x433ed5
mov byte [ebp - 0x1c], 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
call fcn.00433d39
push 0x28
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x68]
push eax
add edi, 0x28
call sub.MSVCR90.dll_memcmp
add esp, 0xc
test eax, eax
je 0x433f2e
mov ecx, dword [ebp + 0x8c]
mov eax, 0x20000020
and ecx, eax
cmp ecx, eax
jne 0x433f23
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp - 0x24]
add eax, esi
mov dword [ecx], eax
mov ecx, dword [ebp + 0x78]
add eax, ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x433f30
inc dword [ebp - 0x14]
jmp 0x433ead
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
call fcn.00436772
add ebp, 0x94
leave
ret 0x14
Function at 0x434650
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4a9e98]
mov dword [ebp - 4], eax
jmp 0x434669
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x434686
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x434660
mov esp, ebp
pop ebp
ret

Function at 0x434690
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4a9ea8], eax
je 0x4346ae
mov eax, 0x10dd
jmp 0x43478f
mov eax, dword [0x4a9eb8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43472c
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x43470a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x43470a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.00434800
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x4346b6
mov dword [0x4a9eb8], 0
call fcn.004347a0
mov ecx, dword [0x4a9eb4]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x434779
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x434744
mov dword [0x4a9eb4], 0
mov dword [0x4a9ea8], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x434d00
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x434d15
xor eax, eax
jmp 0x434d8a
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x434d42
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x434d85
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x434d83
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x434d7f
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x434d83
xor eax, eax
jmp 0x434d8a
jmp 0x434d39
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x434e30
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x4a9eac], 0
je 0x434e49
mov eax, dword [0x4a9eac]
jmp 0x434ee9
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x434e5b
xor eax, eax
jmp 0x434ee9
push 8
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x434eb1
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x434e9a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x4a9eac], eax
mov dword [0x4a9eb0], 0
mov eax, dword [ebp - 4]
jmp 0x434ee9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x434ecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x434e7b
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x4a9eb4]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x4a9eb4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x435700
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.004357d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x4357bc
cmp dword [ebp - 4], 0x50000000
jb 0x43573c
cmp dword [ebp - 4], 0x80000000
ja 0x43573c
mov dword [ebp - 4], 0x80010000
jmp 0x435715
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x435762
jmp 0x4357bc
cmp dword [ebp - 0x10], 0x10000
jne 0x4357a5
cmp dword [ebp - 0x14], 0x10000
jb 0x4357a5
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x435798
mov eax, dword [ebp - 0x24]
jmp 0x4357be
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x4357b7
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.004357d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x435715
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x435800
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.004358d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x4358c4
cmp dword [ebp - 4], 0x50000000
jb 0x435841
cmp dword [ebp - 4], 0x80000000
ja 0x435841
mov dword [ebp - 4], 0x4fff0000
jmp 0x43581a
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x435867
jmp 0x4358c4
cmp dword [ebp - 0x10], 0x10000
jne 0x4358aa
cmp dword [ebp - 0x14], 0x10000
jb 0x4358aa
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x43589d
mov eax, dword [ebp - 0x24]
jmp 0x4358c6
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x4358bf
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10000
push ecx
call fcn.004358d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x43581a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x436672
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4a9f48], 0
push esi
jne 0x4365e5
call fcn.0043650b
test eax, eax
je 0x436628
mov eax, dword [0x4a9f48]
cmp eax, 1
jne 0x436606
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x436628
pop esi
ret
push eax
call dword [0x4a9f50]
test eax, eax
jne 0x436670
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x43662c
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4a9f48]
call dword [0x4a9f50]
mov edi, eax
test edi, edi
je 0x436651
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x43666d
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4a9f48]
call dword [0x4a9f4c]
add edi, 0x10
cmp edi, esi
jb 0x436659
mov eax, edi
pop edi
pop esi
ret
jmp 0x4365d2

Function at 0x436772
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x468110]
jne 0x43677c
repz ret
jmp fcn.00436e9a

Function at 0x43d375
Capabilities:
Get disk information

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x468110]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x40
mov eax, 0x44b2e8
call fcn.00436c9c
mov edi, dword [ebp + 0x214]
mov esi, dword [ebp + 0x218]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], ebx
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
mov dword [ebp - 0x14], edi
call sub.MSVCR90.dll_memset
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.0043d612
add esp, 0x14
cmp dword [eax + 0x18], 8
jb 0x43d3da
mov eax, dword [eax + 4]
jmp 0x43d3dd
add eax, 4
push 0x104
lea ecx, [ebp]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [ebp - 0x30]
xor esi, esi
push eax
inc esi
push edi
mov dword [ebp - 4], esi
call fcn.0043d301
pop ecx
pop ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
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 + 0x208]
xor ecx, ebp
call fcn.00436772
add ebp, 0x20c
leave
ret