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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d6d3
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x55c640]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 4], 0
push 0x44
push eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x160]
push eax
call fcn.00489f10
add esp, 0xc
mov dword [ebp - 0x160], 0x44
lea eax, [ebp - 0x14]
mov dword [ebp - 0x134], 0x80
xorps xmm0, xmm0
mov dword [ebp - 0x158], eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0xf
push 6
push str.string
movdqu xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.004511b0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov eax, 2
mov esi, dword [ebp + 0x18]
mov edx, 0x541434
cmovae ecx, dword [ebp + 8]
mov edi, 0x5400e8
cmp esi, eax
cmovb eax, esi
push eax
call fcn.00406640
add esp, 4
test eax, eax
jne 0x41f379
cmp esi, 2
jae 0x41f36f
or eax, 0xffffffff
jmp 0x41f377
xor eax, eax
cmp esi, 2
setne al
test eax, eax
sete al
mov ecx, 0x541438
test al, al
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x160]
cmove ecx, edi
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push str.find_dayz_updater.exe
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xe
push str._error_log.txt
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.004511b0
push 0xc0
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00489f10
add esp, 8
lea ecx, [ebp - 0x118]
call fcn.0044f4e0
push ecx
push 8
push str._error_log.txt
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 3
call fcn.00452910
test eax, eax
lea ecx, [ebp - 0x118]
mov eax, dword [ebp - 0x118]
mov eax, dword [eax + 4]
jne 0x41f42c
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x41f43b
or eax, 4
jmp 0x41f43b
add ecx, eax
mov edx, 4
xor eax, eax
cmp dword [ecx + 0x38], eax
cmove eax, edx
push 0
push eax
call fcn.00407930
mov edx, str._start_find_dayz_updater
lea ecx, [ebp - 0x108]
call fcn.00456c60
push eax
call fcn.00456f10
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.0044f600
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], vtable.std::ios_base.0
push eax
call fcn.0046ca3b
add esp, 4
cmp dword [ebp - 0x18], 0x10
jb 0x41f495
push dword [ebp - 0x2c]
call fcn.00485250
add esp, 4
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jb 0x41f4b8
push dword [ebp - 0x44]
call fcn.00485250
add esp, 4
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
jb 0x41f4db
push dword [ebp + 8]
call fcn.00485250
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00484516
mov esp, ebp
pop ebp
ret
Function at 0x431340
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jle 0x431353
test al, 0x10
jne 0x431359
cmp eax, 0xffffffff
jge 0x43135c
test al, 0x10
je 0x43135c
mov al, 1
ret
xor al, al
ret
Function at 0x43c130
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x55c640]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43c1bc
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x567df8]
xorps xmm0, xmm0
movq qword [ebp - 0x10], xmm0
mov edi, eax
mov dword [ebp - 8], 0
test cl, 1
jne 0x43c19a
or ecx, 1
mov dword [0x567de8], 0x25c5e09b
mov eax, vtable.boost::system::detail::system_error_category.0
mov dword [0x567df8], ecx
mov dword [0x567dec], 0x8fafd21e
mov dword [0x567de0], eax
jmp 0x43c19f
mov eax, dword [0x567de0]
mov eax, dword [eax + 0x18]
mov ecx, 0x567de0
push edi
mov dword [ebp - 0x10], edi
call eax
test edi, edi
mov byte [ebp - 0xc], al
mov dword [ebp - 8], 0x567de0
pop edi
jne 0x43c1cd
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00484516
mov esp, ebp
pop ebp
ret
mov edx, 0x5439c4
lea ecx, [ebp - 0x10]
call fcn.0043bf90
int3

Function at 0x43c2c0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x55c640]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x43c355
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov esi, dword [edi]
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call ebx
xor eax, eax
mov ecx, 0x567df4
lock xadd dword [ecx], eax
push 0
push dword [esi + 4]
test eax, eax
je 0x43c31f
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x43c335
push fcn.0043c240
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [edi]
mov eax, dword [esi + 0xc]
mov dword [edi], eax
test esi, esi
je 0x43c34e
push dword [esi + 4]
call ebx
push esi
call fcn.00485250
add esp, 4
cmp dword [edi], 0
jne 0x43c2e0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00484516
mov esp, ebp
pop ebp
ret
Function at 0x44ea50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51201f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x55c640]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x546210
mov dword [edi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.00407a10
lea eax, [ebp - 0x14]
mov dword [esi + 0x3c], 0
lea ebx, [edi + 0x10]
mov ecx, esi
push eax
mov dword [esi + 0x38], ebx
call fcn.004079f0
push eax
mov dword [ebp - 4], 2
call fcn.004565e0
mov byte [ebp - 4], 1
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x44eb1a
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x44eb1a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x18]
push 0x20
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x44eb3f
mov eax, dword [esi + 0xc]
mov ecx, esi
or eax, 4
push 0
push eax
call fcn.00407930
mov dword [ebp - 4], 3
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + edi - 4], eax
mov ecx, ebx
call fcn.004547d0
lea eax, [ebx + 4]
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [ebx + 0xc], eax
lea ecx, [ebx + 8]
lea eax, [ebx + 0x14]
mov byte [ebx + 0x4c], 0
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov byte [ebx + 0x45], 0
mov dword [ebx + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov dword [ebx + 0x50], 0
mov eax, dword [0x567df0]
mov dword [ebx + 0x48], eax
mov eax, edi
mov dword [ebx + 0x40], 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 4
Function at 0x44f4e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512147
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x55c640]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x54642c
mov dword [edi + 0x10], 0x544de4
mov dword [edi + 0x78], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push ecx
lea esi, [edi + 0x18]
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x10], 1
call fcn.00452f70
mov dword [ebp - 4], 1
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x78]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.004547d0
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov dword [esi + 0x50], 0
mov eax, dword [0x567df0]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x452b20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x512338
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x55c640]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x55c640]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x452c74
cmp byte [ebx + 0x45], 0
je 0x452c74
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x452b80
xor al, al
jmp 0x452c76
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x452bc0
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x452c01
dec eax
je 0x452c05
sub eax, 2
je 0x452c5b
xor bl, bl
jmp 0x452c5d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x452c3c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004884cc
add esp, 0x10
cmp esi, eax
jne 0x452bfd
cmp byte [ebx + 0x45], 0
je 0x452c5b
test esi, esi
jne 0x452bc0
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00450fd0
jmp 0x452bc0
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x452c70
push dword [esp + 0x18]
call fcn.00485250
add esp, 4
mov al, bl
jmp 0x452c76
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00484516
mov esp, ebp
pop ebp
ret
Function at 0x45a2a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5129e0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x55c640]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.00485c52
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.boost::system::system_error.0
movq xmm0, qword [edi + 0xc]
movq qword [esi + 0xc], xmm0
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
lea eax, [edi + 0x18]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00451080
mov dword [ebp - 4], 1
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x45a32e
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov eax, esi
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x45be90
Capabilities:
Contain obfuscated stackstrings
Enumerate process modules
Enumerate threads
Get graphical window text
Get hostname
Parse pe header
Resolve dns

Disassembly:
call fcn.0046ef95
jmp fcn.0041b390

Function at 0x45c810
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512a08
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x55c640]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.00485c52
mov dword [ebp - 4], 0
lea ecx, [edi + 0x18]
mov dword [edi], vtable.boost::system::system_error.0
movq xmm0, qword [esi + 0xc]
movq qword [edi + 0xc], xmm0
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [esi + 0x18]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00451080
mov dword [edi + 0x30], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.0
mov dword [edi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::system::system_error_.1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x45ce70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push 5
push 0
push 0
push dword [eax]
push 0x544a70
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop ebp
ret 0xc
Function at 0x4636a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51366b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x55c640]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x567768]
push 0xfffffffffffffffa
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp + 8]
mov esi, eax
movzx eax, cx
push 0x546728
push eax
push esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x46370f
push 0x546730
push dword [ebp - 0x38]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x463771
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push dword [ebp - 0x34]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 2
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x463771
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push dword [ebp - 0x34]
push eax
call fcn.00489260
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x18]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jns 0x463778
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x46383e
mov ecx, dword [ebp - 0x18]
call fcn.00463400
mov ecx, dword [ebp - 0x18]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [esi + 8]
mov dword [esi + 8], 0
test ecx, ecx
jne 0x463771
sub esp, 8
mov dword [esp + 4], 0x42c00000
mov dword [esp], 0x42c00000
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipBitmapSetResolution]
test eax, eax
je 0x4637bb
mov dword [esi + 8], eax
lea eax, [ebp - 0x30]
push eax
push 0x26200a
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipBitmapLockBits]
test eax, eax
je 0x4637d8
mov dword [esi + 8], eax
push 0x10
call fcn.00485891
mov edi, eax
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x463817
xorps xmm0, xmm0
mov ecx, esi
movdqu xmmword [edi], xmm0
push dword [ebp - 0x20]
call fcn.004633c0
push eax
mov ecx, esi
call fcn.00463380
push eax
mov ecx, edi
call fcn.004651d0
mov edi, eax
jmp 0x463819
xor edi, edi
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipBitmapUnlockBits]
test eax, eax
je 0x463834
mov dword [esi + 8], eax
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00484516
mov esp, ebp
pop ebp
ret 4
Function at 0x468040
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x55c640]
xor eax, ebp
mov dword [ebp - 8], eax
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov esi, ecx
je 0x4681e4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], 0
push eax
push dword [esi + 0x158]
xor edi, edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
sub eax, dword [ebp - 0x18]
sub ebx, dword [ebp - 0x14]
mov ecx, dword [esi + 0x150]
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x46811d
lea eax, [ebp - 0x18]
push eax
call fcn.00467f90
test byte [esi + 0x15c], 1
je 0x4680c4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cdq
sub eax, edx
shr ecx, 1
sar eax, 1
sub eax, ecx
mov ecx, esi
add eax, dword [ebp - 0x18]
push eax
mov dword [ebp - 0x20], eax
call fcn.00467da0
test byte [esi + 0x15c], 2
je 0x4680e6
mov eax, dword [ebp - 0xc]
mov ecx, esi
cdq
sub eax, edx
shr ebx, 1
mov edi, eax
sar edi, 1
sub edi, ebx
add edi, dword [ebp - 0x14]
push edi
call fcn.00467e20
push 1
push 0
push 0
push edi
push dword [ebp - 0x20]
push 0
push dword [esi + 0x158]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esi + 0x14c], 2
jne 0x468162
mov eax, dword [esi + 0x150]
push 0
push dword [eax + 0x158]
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x468162
test byte [esi + 0x15c], 1
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
je 0x468144
push 0
call edi
mov ecx, dword [ebp - 0x1c]
cdq
sub eax, edx
shr ecx, 1
sar eax, 1
sub eax, ecx
mov ecx, esi
push eax
call fcn.00467da0
test byte [esi + 0x15c], 2
je 0x468162
push 1
call edi
cdq
mov ecx, esi
sub eax, edx
shr ebx, 1
sar eax, 1
sub eax, ebx
push eax
call fcn.00467e20
push 5
push dword [esi + 0x158]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push dword [esi + 0x158]
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov edi, eax
test edi, edi
je 0x468194
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x468194
push edi
jmp 0x46819a
push dword [esi + 0x158]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 0
push dword [esi + 0x158]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 0x158]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0x174], 0
je 0x468225
push dword [esi + 0x158]
call dword [sym.imp.USER32.dll_DrawMenuBar]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00484516
mov esp, ebp
pop ebp
ret 4
push 0
push dword [esi + 0x158]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x150]
test eax, eax
je 0x468225
cmp dword [esi + 0x14c], 2
jne 0x468213
push 1
push dword [eax + 0x158]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x150]
push dword [eax + 0x158]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00484516
mov esp, ebp
pop ebp
ret 4
Function at 0x468d80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x55c640]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x5401ac
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push str.version.dat
push eax
mov esi, edx
call fcn.00484ead
mov ecx, dword [ebp - 8]
add esp, 0xc
test ecx, ecx
je 0x468de9
test eax, eax
jne 0x468de9
push ecx
push dword [ebp + 8]
push 1
push esi
call fcn.004884cc
push dword [ebp - 8]
mov esi, eax
call fcn.0048581a
add esp, 0x14
cmp esi, dword [ebp + 8]
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00484516
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.00484516
mov esp, ebp
pop ebp
ret
Function at 0x4692c0
Capabilities:
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, ecx
push ebx
mov dword [ebp - 4], eax
mov ebx, dword [eax + 4]
sub ebx, dword [eax]
sar ebx, 6
test ebx, ebx
je 0x46935a
push esi
push edi
xor edi, edi
mov edi, edi
mov esi, dword [eax]
add esi, edi
cmp byte [esi + 0x30], 0
je 0x46930d
lea ecx, [esi + 0x34]
call fcn.004692c0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
add eax, 0x18
add eax, edi
cmp dword [eax + 0x14], 0x10
jb 0x469304
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x46934f
add esi, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x46931a
mov eax, dword [esi]
jmp 0x46931c
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x469324
mov esi, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
add eax, 0x18
add eax, edi
cmp dword [eax + 0x14], 0x10
jb 0x469348
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 4]
add edi, 0x40
dec ebx
jne 0x4692e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret