joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d230
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49bf63
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4b9658]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
push esi
mov dword [esp + 0x18], 1
call fcn.00482a6c
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x44d281
mov eax, dword [esi + 0x1c]
push eax
call fcn.00464539
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x44f410
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x44f432
cmp word [eax], 0
je 0x44f432
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44f432
and al, 0x10
cmp al, 0x10
sete al
ret
xor al, al
ret

Function at 0x44fb90
Capabilities:
Resolve dns

Disassembly:
mov ax, word [esp + 8]
push ebx
push edi
mov edi, dword [esp + 0xc]
mov ebx, ecx
push 1
push 0
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [ebx], 0
mov word [ebx + 4], ax
mov byte [esp + 0x1c], 0x2e
call fcn.0044aa90
cmp eax, 0xffffffff
je 0x44fc1b
cmp dword [edi + 0x18], 0x10
push esi
lea esi, [edi + 4]
jb 0x44fbcf
mov eax, dword [esi]
jmp 0x44fbd1
mov eax, esi
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_inet_addr]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x44fc05
cmp dword [edi + 0x18], 0x10
jb 0x44fbe8
mov esi, dword [esi]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x44fbfc
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebx], ecx
pop ebp
pop esi
pop edi
mov eax, ebx
pop ebx
ret 8
cmp dword [edi + 0x18], 0x10
jb 0x44fc0d
mov esi, dword [esi]
push esi
call ebp
pop ebp
pop esi
mov dword [ebx], eax
pop edi
mov eax, ebx
pop ebx
ret 8
pop edi
mov dword [ebx], 0xffffffff
mov eax, ebx
pop ebx
ret 8

Function at 0x44fda0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49bc88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4b9658]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4b9658]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
mov ecx, dword [esi]
test ecx, ecx
mov dword [esp + 0x30], 0
je 0x44fe13
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
push eax
mov ecx, 0x4b9510
call fcn.00464a2b
test al, al
je 0x44fe13
mov esi, dword [esi]
add esi, 4
jmp 0x44fe15
xor esi, esi
cmp dword [esp + 0x20], 0x10
jb 0x44fe29
mov eax, dword [esp + 0xc]
push eax
call fcn.00464539
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00464500
add esp, 0x2c
ret
Function at 0x451dd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49c598
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b9658]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov ebp, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 4], 0x4a46c0
mov dword [esi + 8], 0x4a2a30
lea eax, [esi + 0x10]
mov dword [esi], 0x4a471c
mov dword [esi + 4], 0x4a470c
mov dword [esi + 8], 0x4a4708
push eax
mov dword [esi + 0xc], 0x4a3f94
call ebp
xor ebx, ebx
lea ecx, [esi + 0x34]
mov dword [esp + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.00435070
lea ecx, [esi + 0x1f4]
mov byte [esp + 0x20], 1
call fcn.00403f20
lea edi, [esi + 0x384]
mov dword [esi + 0x370], ebx
mov dword [esi + 0x374], ebx
mov dword [esi + 0x378], ebx
mov dword [esi + 0x37c], ebx
mov dword [esi + 0x380], 1
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esi + 0x394], ebx
mov word [esi + 0x398], bx
mov dword [esi + 0x39a], ebx
mov word [esi + 0x39e], bx
mov dword [esi + 0x3a0], ebx
mov byte [esi + 0x3a4], bl
mov dword [esi + 0x3a8], ebx
mov eax, 0xf
mov dword [esi + 0x3c4], eax
mov dword [esi + 0x3c0], ebx
mov byte [esi + 0x3b0], bl
mov dword [esi + 0x3e0], eax
mov dword [esi + 0x3dc], ebx
mov byte [esi + 0x3cc], bl
lea ecx, [esi + 0x3ec]
mov dword [esi + 0x3e4], 0x4a4704
push ecx
mov dword [esi + 0x3e8], 0x4a3f94
call ebp
mov eax, 0xf
mov dword [esi + 0x41c], eax
mov dword [esi + 0x418], ebx
mov byte [esi + 0x408], bl
mov dword [esi + 0x420], 3
mov dword [esi + 0x43c], eax
mov dword [esi + 0x438], ebx
mov byte [esi + 0x428], bl
push 0x408
lea ebp, [esi + 0x441]
push ebx
push ebp
mov byte [esi + 0x440], bl
call fcn.00464a50
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov byte [esi + 0x849], bl
mov byte [esi + 0x84a], bl
add esp, 0xc
mov dword [esi + 0x850], ebx
mov dword [esi + 0x854], ebx
mov dword [esi + 0x858], ebx
mov byte [esp + 0x20], 8
mov byte [esi + 0x85c], bl
push ebx
push 0x10
mov ecx, edi
mov dword [esi + 0x860], ebx
mov dword [esi + 0x864], ebx
mov dword [esi + 0x868], ebx
mov byte [esi + 0x86c], bl
call fcn.004514e0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x459a80
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ebx, ebx
push ebx
mov ebp, ecx
call edi
push 1
mov esi, eax
call edi
push ebx
push 0x4a252c
mov edi, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x459ac8
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x10]
cmp eax, ebx
jle 0x459ae3
sub eax, dword [esp + 0x18]
lea ecx, [edi - 0xe2]
lea eax, [eax + esi - 0xcd]
jmp 0x459b13
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jle 0x459af3
add ecx, 0xffffff1e
jmp 0x459b0d
mov eax, dword [esp + 0x18]
cmp eax, edi
jge 0x459b06
add eax, 5
lea ecx, [edi - 0xe2]
jmp 0x459b13
mov ecx, dword [esp + 0x1c]
add ecx, 0x1f
lea eax, [esi - 0xcd]
mov edx, dword [ebp + 4]
push 0x10
push 0xdf
push 0xc8
push ecx
push eax
push ebx
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x49d0fe
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b9658]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi], 0x4a4bb4
mov dword [esp + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 2
call fcn.00460d70
mov dword [esi + 0x78], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x45a490
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x45a4f8
mov ecx, dword [esi + 4]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ecx
call edi
mov eax, dword [esi + 0x2c]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
je 0x45a4d3
mov edx, dword [eax + 4]
push edx
call ebx
test eax, eax
je 0x45a4d3
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 4]
push 0
push ecx
call edi
mov eax, dword [esi + 0x28]
test eax, eax
je 0x45a4ef
mov edx, dword [eax + 4]
push edx
call ebx
test eax, eax
je 0x45a4ef
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + 4]
push 0
push ecx
call edi
add dword [0x4bbd34], 1
pop edi
pop ebx
xor eax, eax
pop esi
ret 0x10
Function at 0x45ab00
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ebx, ebx
push ebx
mov ebp, ecx
call edi
push 1
mov esi, eax
call edi
push ebx
push 0x4a252c
mov edi, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x45ab48
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x10]
cmp eax, ebx
jle 0x45ab63
sub eax, dword [esp + 0x18]
lea ecx, [edi - 0x100]
lea eax, [eax + esi - 0xcf]
jmp 0x45ab93
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jle 0x45ab73
add ecx, 0xffffff00
jmp 0x45ab8d
mov eax, dword [esp + 0x18]
cmp eax, edi
jge 0x45ab86
add eax, 3
lea ecx, [edi - 0x100]
jmp 0x45ab93
mov ecx, dword [esp + 0x1c]
add ecx, 1
lea eax, [esi - 0xcf]
mov edx, dword [ebp + 4]
push 0x10
push 0xff
push 0xcc
push ecx
push eax
push 0xfffffffffffffffe
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x45b030
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb2c
mov eax, dword [0x4b9658]
xor eax, esp
mov dword [esp + 0xb28], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, ecx
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x45b078
mov ecx, dword [edi + 0x40]
sub ecx, eax
mov eax, 0xa57eb503
imul ecx
add edx, ecx
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x45b07d
call fcn.004649a7
imul esi, esi, 0x630
add esi, dword [edi + 0x3c]
mov ecx, 0x18c
lea edi, [esp + 0x2f8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x2f8]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x45b0e0
push 0x104
lea ecx, [esp + 0x92c]
push ecx
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea edx, [esp + 0x928]
push edx
push 0x4a4cd8
call fcn.00468619
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x100
push 0x2b4
lea eax, [esp + 0x48]
push eax
push 0
lea ecx, [esp + 0x938]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jl 0x45b10b
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetIconInfo]
mov eax, dword [ebx]
mov edi, dword [esp + 0x3c]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebx]
push edx
mov esi, eax
call dword [sym.imp.GDI32.dll_SaveDC]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push 3
push 0
push 0
push 0x10
push 0x10
push ecx
mov ecx, dword [ebx]
add edx, 0xc
push edx
add eax, 0xe
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawIconEx]
push 0xffffffffffffffff
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
test esi, esi
je 0x45b1aa
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x45b1aa
xor esi, esi
mov edx, dword [ebx]
push 0xffffffffffffffff
push edx
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [esp + 0x3c]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call ebx
mov ecx, dword [esp + 0x38]
push ecx
call ebx
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
test esi, esi
je 0x45b1df
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
test edi, edi
je 0x45b1e6
push edi
call ebx
mov ecx, dword [esp + 0xb34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00464500
mov esp, ebp
pop ebp
ret 0x18
Function at 0x464500
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b9658]
jne 0x46450a
repz ret
jmp fcn.00469dbc
Function at 0x480d72
Capabilities:
Get common file path
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x26c]
sub esp, 0x2ec
mov eax, dword [0x4b9658]
xor eax, ebp
mov dword [ebp + 0x268], eax
mov eax, dword [ebp + 0x274]
push ebx
push esi
push edi
mov edi, 0x103
xor ebx, ebx
push edi
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x61]
push ebx
push eax
mov byte [ebp + 0x60], bl
call fcn.00464a50
add esp, 0xc
lea esi, [edi + 1]
push esi
lea eax, [ebp + 0x60]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp + 0x60]
push 0x5c
push eax
call fcn.0047aac0
cmp eax, ebx
pop ecx
pop ecx
je 0x480e14
push eax
call fcn.0046a3a0
mov dword [ebp - 0x6c], 1
sub dword [ebp - 0x6c], eax
lea eax, [ebp + 0x60]
push eax
call fcn.0046a3a0
add eax, dword [ebp - 0x6c]
pop ecx
cmp eax, ebx
pop ecx
jle 0x480df7
mov byte [ebp + eax + 0x60], bl
push 9
lea eax, [ebp + 0x60]
push str.crash.dmp
push eax
call fcn.00495a20
add esp, 0xc
lea eax, [ebp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
push ebx
push 2
push ebx
push ebx
push 0xc0000000
lea eax, [ebp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x70], eax
je 0x480f45
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x74]
push edi
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x165]
push ebx
push eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x6c], ebx
mov byte [ebp + 0x164], bl
call fcn.00464a50
add esp, 0xc
push esi
lea eax, [ebp + 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp + 0x164]
push eax
call fcn.0046a3a0
cmp byte [ebp + eax + 0x163], 0x5c
pop ecx
je 0x480e9c
push 1
lea eax, [ebp + 0x164]
push 0x4a7468
push eax
call fcn.00495a20
add esp, 0xc
push 0xb
lea eax, [ebp + 0x164]
push str.DbgHelp.dll
push eax
call fcn.00495a20
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0xc
lea eax, [ebp + 0x164]
push eax
call esi
lea eax, [ebp + 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x480f02
push str.MiniDumpWriteDump
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [ebp - 0x6c], eax
je 0x480f02
push ebx
push ebx
lea eax, [ebp - 0x80]
push eax
push ebx
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x6c]
push 0xc7
lea eax, [ebp - 0x67]
push ebx
push eax
mov byte [ebp - 0x68], bl
call fcn.00464a50
push dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
push edi
push 0x4a742c
push 0x77
push eax
call fcn.0046804a
add esp, 0x20
lea eax, [ebp - 0x68]
push eax
call esi
cmp edi, ebx
je 0x480f3c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x268]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00464500
add ebp, 0x26c
leave
ret 4
Function at 0x4813d6
Capabilities:
Get file version info
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov eax, dword [0x4b9658]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp edi, ebx
mov esi, edx
je 0x48157a
cmp byte [edi], bl
je 0x48157a
cmp esi, ebx
je 0x48157a
push ebx
push ebx
push 3
push ebx
push 3
push closesocket
push edi
mov byte [esi], bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x4c], eax
je 0x48157a
push ebx
push edi
mov dword [ebp - 0x58], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, ebx
mov dword [ebp - 0x48], eax
mov byte [esi], bl
je 0x4814b7
push eax
call fcn.00464af0
cmp eax, ebx
pop ecx
mov dword [ebp - 0x5c], eax
je 0x4814b7
push eax
push dword [ebp - 0x48]
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4814ae
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x4a7468
push dword [ebp - 0x5c]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x54], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4814ae
push esi
call fcn.0046a3a0
mov ecx, dword [ebp - 0x48]
movzx edx, word [ecx + 0xc]
push edx
movzx edx, word [ecx + 0xe]
push edx
movzx edx, word [ecx + 8]
movzx ecx, word [ecx + 0xa]
push edx
push ecx
dec eax
push str._d._d._d._d
push eax
push esi
call fcn.0046804a
add esp, 0x20
mov dword [ebp - 0x58], 1
push dword [ebp - 0x5c]
call fcn.004647ea
pop ecx
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea eax, [ebp - 0x50]
push eax
push 0x40
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x4c]
call edi
test eax, eax
je 0x48156c
cmp dword [ebp - 0x50], 0x40
jne 0x48156c
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0x50]
push eax
push 0xf8
lea eax, [ebp - 0x17c]
push eax
push dword [ebp - 0x4c]
call edi
test eax, eax
je 0x48156c
cmp dword [ebp - 0x50], 0xf8
jne 0x48156c
push esi
call fcn.0046a3a0
add esi, eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x5c], ebx
call fcn.004959fa
push 9
pop ecx
mov esi, eax
lea edi, [ebp - 0x84]
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x84]
mov eax, dword [ebp - 0x74]
push dword [ebp - 0x80]
inc eax
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x70]
add eax, 0x76c
push eax
push str.__04d__02d__02d__02d:_02d:_02d
push 0x77
push dword [ebp - 0x54]
call fcn.0046804a
add esp, 0x2c
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x58]
jmp 0x48157c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00464500
leave
ret
Function at 0x492d47
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4bccc0], 0
push esi
jne 0x492cba
call fcn.00492be5
test eax, eax
je 0x492cfd
mov eax, dword [0x4bccc0]
cmp eax, 1
jne 0x492cdb
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x492cfd
pop esi
ret
push eax
call dword [0x4bccc8]
test eax, eax
jne 0x492d45
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 0x492d01
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4bccc0]
call dword [0x4bccc8]
mov edi, eax
test edi, edi
je 0x492d28
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x492d44
lea edi, [esi + 0xff0]
push esi
push dword [0x4bccc0]
call dword [0x4bccc4]
add esi, 0x10
cmp esi, edi
jb 0x492d2e
mov eax, esi
pop edi
pop esi
ret
jmp 0x492ca7

Function at 0x492e98
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4b9658]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00492e2d
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00464a50
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x492ee7
cmp dword [ebp - 0x1c], 5
jb 0x492eff
jmp 0x492efb
cmp dword [ebp - 0x10], 1
jne 0x492eff
cmp dword [ebp - 0x1c], 4
ja 0x492efb
jne 0x492eff
cmp dword [ebp - 0x18], 0
jbe 0x492eff
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4a829c
call fcn.0040c910
test eax, eax
jge 0x492f20
mov byte [0x4bba60], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00464500
add ebp, 0x78
leave
ret
Function at 0x493890
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x49ed98
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4b9658]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x1c]
push ecx
push 4
push eax
push 0x493740
push 0
push 0
call fcn.00466434
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x4938fb
lea ecx, [esp + 0x10]
call fcn.004645a8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], vtable.boost::thread_resource_error.0
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x2c], ebx
call fcn.004129a0
mov eax, dword [edi]
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov esi, dword [edi]
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
je 0x493921
cmp eax, 0xffffffff
je 0x493921
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
mov edx, dword [edi]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x494fd0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x49ef4b
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x4b9658]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b9658]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x2ac]
mov eax, dword [esp + 0x2a8]
mov edx, dword [esp + 0x2b0]
mov ebp, dword [esp + 0x2a0]
mov ebx, dword [esp + 0x2a4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x2b4]
xor esi, esi
push 0xffffffffffffffff
push esi
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], esi
mov word [esp + 0x30], si
call fcn.00409a00
mov eax, dword [esp + 0x34]
cmp eax, esi
mov dword [esp + 0x298], esi
je 0x495097
lea edi, [eax - 1]
cmp edi, eax
jbe 0x49507c
call fcn.004649a7
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x49508b
lea eax, [esp + 0x24]
cmp word [eax + edi*2], 0x5c
mov edx, 0x4a85a0
je 0x49509c
mov edx, 0x4a8598
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4950a1
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.00409c00
mov eax, dword [esp + 0x24]
mov edi, 8
cmp dword [esp + 0x38], edi
jae 0x4950ce
lea eax, [esp + 0x24]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebx], eax
jne 0x495111
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], esi
call edi
cmp eax, 2
je 0x4950f4
call edi
mov esi, eax
call fcn.00494350
cmp dword [esp + 0x38], 8
mov dword [ebp], esi
mov dword [ebp + 4], eax
jb 0x495193
mov eax, dword [esp + 0x24]
push eax
jmp 0x49518b
lea eax, [esp + 0x68]
lea edx, [eax + 2]
jmp 0x495120
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x495120
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00409af0
test byte [esp + 0x3c], 0x10
je 0x49515b
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [edx], 3
mov dword [eax], 3
jmp 0x49516f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ecx], 2
mov dword [edx], 2
cmp dword [esp + 0x38], edi
mov eax, dword [0x4bcdc0]
mov dword [ebp], eax
mov ecx, dword [0x4bcdc4]
mov dword [ebp + 4], ecx
jb 0x495193
mov edx, dword [esp + 0x24]
push edx
call fcn.00464539
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.00464500
add esp, 0x288
ret