joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e6f0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
push edi
push ebx
push eax
push 0x5fd5fc
mov esi, ecx
call dword [sym.imp.tengine.dll_void___cdecl_TDU_Log_char_const__]
mov eax, dword [esi + 0xbc]
add esp, 0x10
test eax, eax
je 0x48e737
mov ecx, dword [ebp + 8]
push edi
push ebx
push ecx
push 0x5fd5e4
call dword [sym.imp.tengine.dll_void___cdecl_TDU_Log_char_const__]
add esp, 0x10
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
mov edx, dword [ebp + 8]
push edx
lea ecx, [esi + 0xc8]
call dword [sym.imp.msvcp71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea eax, [ebp + 0x10]
push eax
push 0x44
push esi
push 0x48df60
push 0
push 0
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], edi
call dword [sym.imp.msvcr71.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi + 0xbc], eax
jne 0x48e784
push 0x5fd5a8
call dword [sym.imp.tengine.dll_void___cdecl_tThrowStringException_char_const__]
add esp, 4
mov ecx, dword [0x64585c]
mov eax, dword [ecx + 0x30]
push eax
push 0x5fd580
mov dword [esi + 0xc0], eax
call dword [sym.imp.tengine.dll_void___cdecl_TDU_Log_char_const__]
add esp, 8
push 0
push 0
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateEventA]
mov edx, dword [esi + 0xbc]
push edx
mov dword [esi + 0xc4], eax
call dword [sym.imp.kernel32.dll_ResumeThread]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x492d20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x644904]
mov dword [ebp - 4], eax
push edi
xor eax, eax
mov dword [0x645790], eax
mov byte [ebp - 0x50], al
mov dword [0x645794], eax
mov ecx, 0xe
lea edi, [ebp - 0x4f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov ecx, 0x25
lea edi, [ebp - 0xe4]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0xe4]
push ecx
mov dword [ebp - 0xe4], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
mov eax, dword [ebp - 0xd4]
cmp eax, 1
je 0x492db3
cmp eax, 2
jne 0x492db3
push 0x5fdc80
call dword [sym.imp.kernel32.dll_LoadLibraryA]
test eax, eax
je 0x492e5d
push 0x5fdc68
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x492e5d
lea ecx, [ebp - 0x14]
push ecx
call eax
jmp 0x492dbd
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.rpcrt4.dll_UuidCreate]
test eax, eax
jne 0x492e5d
movzx ecx, byte [ebp - 0xa]
push esi
mov esi, dword [sym.imp.msvcr71.dll__itoa]
push 0x10
lea eax, [ebp - 0x50]
push eax
push ecx
call esi
movzx eax, byte [ebp - 9]
push 0x10
lea edx, [ebp - 0x46]
push edx
push eax
call esi
movzx edx, byte [ebp - 8]
push 0x10
lea ecx, [ebp - 0x3c]
push ecx
push edx
call esi
movzx ecx, byte [ebp - 7]
push 0x10
lea eax, [ebp - 0x32]
push eax
push ecx
call esi
movzx eax, byte [ebp - 6]
push 0x10
lea edx, [ebp - 0x28]
push edx
push eax
call esi
movzx edx, byte [ebp - 5]
push 0x10
lea ecx, [ebp - 0x1e]
push ecx
push edx
call esi
add esp, 0x48
xor esi, esi
lea edi, [ebp - 0x50]
push edi
call fcn.00492b80
add esp, 4
mov byte [esi + 0x645790], al
inc esi
add edi, 0xa
cmp esi, 6
jl 0x492e22
mov eax, dword [ebp + 8]
mov ecx, dword [0x645790]
mov edx, dword [ebp + 0xc]
mov dword [eax], ecx
mov eax, dword [0x645794]
pop esi
mov dword [edx], eax
pop edi
mov ecx, dword [ebp - 4]
call fcn.005c8895
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx], 0
mov ecx, dword [ebp - 4]
mov dword [edx], 0
pop edi
call fcn.005c8895
mov esp, ebp
pop ebp
ret
Function at 0x494f80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d257c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x10]
mov ecx, edi
mov dword [esp + 0xc], esi
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor ebx, ebx
push 0x5eb0c0
mov ecx, edi
mov dword [esp + 0x1c], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call dword [sym.imp.msvcp71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x499460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d3149
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor ebx, ebx
push 0x5eb0c0
mov ecx, esi
mov dword [esp + 0x18], ebx
call dword [sym.imp.msvcp71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov ecx, dword [esp + 0xc]
mov byte [esi + 0x20], bl
mov byte [esi + 0x21], bl
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [esi + 0x34], bl
mov byte [esi + 0x35], bl
mov dword [esi + 0x38], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x1c], 0xffffffff
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x499477
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d3149
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor ebx, ebx
push 0x5eb0c0
mov ecx, esi
mov dword [esp + 0x18], ebx
call dword [sym.imp.msvcp71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov ecx, dword [esp + 0xc]
mov byte [esi + 0x20], bl
mov byte [esi + 0x21], bl
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [esi + 0x34], bl
mov byte [esi + 0x35], bl
mov dword [esi + 0x38], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x1c], 0xffffffff
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4a7880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d2ed6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esi + 4]
xor ebx, ebx
push edi
mov dword [esp + 0x10], esi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
lea edi, [esi + 0x14]
mov dword [esp + 0x2c], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
sub esp, 0x10
xor eax, eax
mov ebp, esp
mov dword [ebp], eax
xor edx, edx
mov dword [ebp + 4], edx
mov dword [ebp + 8], eax
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x30]
push 0x14
mov byte [esp + 0x40], 1
mov dword [esi], ebx
mov dword [ebp + 0xc], eax
call fcn.004a6ab0
sub esp, 0x10
xor eax, eax
mov edx, esp
mov dword [edx], eax
xor ecx, ecx
mov dword [edx + 4], ecx
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x30]
mov dword [edx + 8], ebx
push 0x14
mov ecx, edi
mov dword [edx + 0xc], eax
call fcn.004a6ab0
mov ecx, dword [esp + 0x24]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret

Function at 0x4aa850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d3131
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x644904]
push esi
mov esi, ecx
mov dword [esp + 0x24], eax
lea ecx, [esp + 8]
mov dword [esi], 0
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push 0x5eb0c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0
call dword [sym.imp.msvcp71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
sub esp, 0x1c
lea eax, [esp + 0x24]
mov dword [esp + 0x20], esp
mov ecx, esp
push eax
mov dword [esp + 0x50], 1
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0xa
lea ecx, [esi + 4]
call fcn.004a9bd0
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x24]
call fcn.005c8895
pop esi
add esp, 0x30
ret
Function at 0x4ab9d0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x5d3289
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x14]
mov dword [esp + 8], esi
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor edi, edi
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], edi
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
lea ecx, [esi + 0x70]
mov byte [esp + 0x14], 3
call fcn.004ab980
mov ecx, esi
mov byte [esp + 0x14], 4
call fcn.004aafa0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4ba530
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5180
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esi + 0x10]
mov dword [ebp - 4], eax
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 2
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4c8dc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d65f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
push esi
mov esi, ecx
push eax
mov dword [esp + 8], esi
call fcn.005302b0
mov dword [esi], fcn.0051e930
push 0x601004
lea ecx, [esi + 0x24]
mov dword [esp + 0x30], 0
mov dword [0x645cdc], esi
call dword [sym.imp.msvcp71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov eax, dword [0x645858]
mov ecx, dword [eax]
push 0x600ff0
lea edx, [esp + 0xc]
push edx
push eax
call dword [ecx + 0x90]
add esp, 0xc
push eax
lea ecx, [esi + 8]
mov byte [esp + 0x30], 1
call dword [sym.imp.msvcp71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x5c], 0
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4

Function at 0x4c9260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d65f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
push esi
mov esi, ecx
push eax
mov dword [esp + 8], esi
call fcn.005302b0
mov dword [esi], fcn.0051e930
push 0x601148
lea ecx, [esi + 0x24]
mov dword [esp + 0x30], 0
mov dword [0x645ce0], esi
call dword [sym.imp.msvcp71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov eax, dword [0x645858]
mov ecx, dword [eax]
push 0x601134
lea edx, [esp + 0xc]
push edx
push eax
call dword [ecx + 0x90]
add esp, 0xc
push eax
lea ecx, [esi + 8]
mov byte [esp + 0x30], 1
call dword [sym.imp.msvcp71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x5c], 0
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x4d8f40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5d6ed3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
xor eax, eax
push esi
mov esi, ecx
mov ecx, 0x607370
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x20], ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x34], ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x70], 0x607394
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x88], 0x6073b8
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], eax
mov dword [esi + 0x9c], 0x6073dc
lea ecx, [esi + 0xb0]
mov dword [ecx + 0x128], eax
mov dword [ecx + 0x12c], eax
mov dword [ecx + 0x130], eax
call fcn.004d6140
xor eax, eax
mov ecx, esi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4d9fc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov ecx, dword [0x6461b4]
mov eax, dword [ecx]
push 0
push 0x5fcea0
call dword [eax + 0x58]
cmp eax, 1
je 0x4da18b
mov ecx, dword [0x645864]
mov edx, dword [ecx]
push esi
push 0
push 0x5fce90
call dword [edx + 0x58]
mov esi, dword [ebp + 8]
cmp esi, 0x409
jl 0x4da18a
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 0x2b9
jl 0x4da189
mov ecx, dword [0x645468]
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.user32.dll_GetClientRect]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x34]
cmp esi, edx
jne 0x4da03c
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
cmp edi, eax
je 0x4da189
push ebx
push edi
push esi
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.user32.dll_SetRect]
mov edx, dword [0x645468]
push 0
push 0xfffffffffffffff0
push edx
call dword [sym.imp.user32.dll_GetWindowLongA]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.user32.dll_AdjustWindowRect]
push 0
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0x30
call dword [sym.imp.user32.dll_SystemParametersInfoA]
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
mov ecx, edx
mov edi, esi
sub ecx, eax
sub edi, ebx
cmp edi, ecx
jl 0x4da160
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
sub edi, ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0x18]
sub edi, ebx
mov ebx, dword [ebp - 4]
cmp edi, ebx
jl 0x4da160
sub eax, edx
sub eax, dword [ebp - 0x24]
add eax, esi
cdq
sub eax, edx
mov edi, dword [ebp - 0x20]
sar eax, 1
xor edx, edx
test eax, eax
setl dl
mov dword [ebp - 4], ecx
dec edx
and edx, eax
mov eax, dword [ebp - 0x10]
mov esi, edx
sub eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
sub eax, edi
add eax, edx
cdq
sub eax, edx
sar eax, 1
xor edx, edx
test eax, eax
setl dl
dec edx
and edx, eax
cmp ecx, 0x409
mov edi, edx
jg 0x4da0fe
mov dword [ebp - 4], 0x409
cmp ebx, 0x2b9
jg 0x4da10b
mov ebx, 0x2b9
mov eax, dword [0x645468]
push 9
push eax
call dword [sym.imp.user32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
mov edx, dword [0x645468]
push 1
push ebx
push ecx
push edi
push esi
push edx
call dword [sym.imp.user32.dll_MoveWindow]
mov ecx, dword [0x645864]
mov eax, dword [ecx]
push 0
push 0
push 0x5ef398
push 0x5fce90
call dword [eax + 0x3c]
push 0
push 0
push 0x232
call fcn.004917d0
add esp, 0xc
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x645468]
push 3
push ecx
call dword [sym.imp.user32.dll_ShowWindow]
mov ecx, dword [0x645864]
mov edx, dword [ecx]
push 0
push 0
push 0x5eb400
push 0x5fce90
call dword [edx + 0x3c]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4da190
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x645d28]
push ebx
mov ebx, dword [ebp + 8]
cmp eax, ebx
je 0x4da232
test ebx, ebx
je 0x4da21b
push esi
mov esi, dword [sym.imp.user32.dll_GetSystemMetrics]
push edi
push 0
call esi
push 1
mov edi, eax
call esi
push eax
push edi
push 0
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.user32.dll_SetRect]
mov ecx, dword [0x645468]
push 0
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.user32.dll_GetWindowLongA]
push eax
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.user32.dll_AdjustWindowRect]
mov eax, dword [0x645468]
push 9
push eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
push 1
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x10]
sub edx, ecx
push edx
push eax
mov eax, dword [0x645468]
push ecx
push eax
call dword [sym.imp.user32.dll_MoveWindow]
pop edi
pop esi
push 0
push 0
push 0x232
mov dword [0x645d28], ebx
call fcn.004917d0
add esp, 0xc
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f70e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7fbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi], 0x609cf8
or eax, 0xffffffff
xor ebx, ebx
lea edi, [esi + 0x20]
mov ecx, edi
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call fcn.004ef830
mov dword [edi + 4], eax
mov byte [eax + 0x35], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x50ed50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5daafa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 4]
push edi
xor edi, edi
mov dword [esi], 0x60e8f8
mov dword [ebp - 0x10], esi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 2
call fcn.00509910
mov dword [esi + 0x100], edi
mov dword [esi + 0x104], edi
mov dword [esi + 0x108], edi
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], esp
call dword [sym.imp.msvcp71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push edi
mov ecx, ebx
call fcn.004bb660
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi + 0x14], 0xffffffff
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x513640
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x513663
test al, 1
je 0x513663
and eax, 0xfffffffe
push eax
push edi
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov esi, dword [eax]
cmp esi, eax
je 0x5136a4
push ebx
mov ebx, dword [sym.imp.kernel32.dll_WritePrivateProfileStringA]
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x513699
push edi
lea ecx, [esi + 0x24]
call dword [sym.imp.msvcp71.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Myptr_void_]
push eax
lea ecx, [esi + 8]
call dword [sym.imp.msvcp71.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Myptr_void_]
push eax
push 0x5f1898
call ebx
mov ecx, dword [ebp + 0xc]
mov esi, dword [esi]
cmp esi, dword [ecx + 8]
jne 0x513676
pop ebx
pop edi
pop esi
pop ebp
ret 8