joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e960
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x644904]
push ebx
mov ebx, dword [sym.imp.MSVCR71.dll__snprintf]
push esi
mov dword [ebp - 4], eax
push edi
xor esi, esi
lea esp, [esp]
xor eax, eax
mov byte [ebp - 0x44], 0
mov ecx, 0xf
lea edi, [ebp - 0x43]
rep stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
push 0x5f1904
push 0x5f18f4
stosb byte es:[edi], al
lea eax, [ebp - 0x44]
push 0x40
push eax
call ebx
add esp, 0x14
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateMutexA]
test eax, eax
mov dword [0x645218], eax
je 0x42ea23
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42ea48
mov edx, dword [0x645218]
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
inc esi
cmp esi, 2
mov dword [0x645218], 0
jl 0x42e980
push 0x40
push 0
call fcn.0048cf40
add esp, 4
push eax
push 3
call fcn.0048cf40
add esp, 4
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.tengine.dll_int___cdecl_TD_MessageBoxW_struct_HWND_____wchar_t_const___wchar_t_const___unsigned_int_]
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
call fcn.005c8895
mov esp, ebp
pop ebp
ret
push 0x10
push 0x5f18ec
push 0x5f18d8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
call fcn.005c8895
mov esp, ebp
pop ebp
ret
mov eax, dword [0x645218]
test eax, eax
je 0x42e9ea
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, 1
pop ebx
call fcn.005c8895
mov esp, ebp
pop ebp
ret

Function at 0x42ea70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x42eac4
cmp byte [esi], 0
je 0x42eac4
mov ecx, esi
push edi
mov eax, 0xffffffff
lea edi, [ecx + 1]
jmp 0x42ea90
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x42ea90
sub ecx, edi
xor edx, edx
test ecx, ecx
jle 0x42eac0
push ebx
movzx edi, byte [edx + esi]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
mov ebx, dword [edi*4 + 0x63e4b0]
shr eax, 8
xor eax, ebx
inc edx
cmp edx, ecx
jl 0x42eaa0
pop ebx
pop edi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x42f180
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.MSVCR71.dll_strstr]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x5f1a70
push edi
call ebx
mov esi, eax
neg esi
sbb esi, esi
push 0x5f1a68
push edi
neg esi
call ebx
test eax, eax
setne al
push 0x5f1a60
push edi
mov byte [0x645474], al
call ebx
add esp, 0x18
test eax, eax
setne cl
pop edi
test esi, esi
pop esi
mov byte [0x645475], cl
pop ebx
jne 0x42f1f2
mov al, byte [0x645474]
test al, al
je 0x42f1f4
mov edx, dword [0x64546c]
push 0
push 0x42ead0
push 0
push 0x83
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
pop ebp
ret
push 0x10
push 0
call fcn.0048cf40
add esp, 4
push eax
push 2
call fcn.0048cf40
add esp, 4
push eax
push 0
call dword [sym.imp.tengine.dll_int___cdecl_TD_MessageBoxW_struct_HWND_____wchar_t_const___wchar_t_const___unsigned_int_]
add esp, 0x10
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
Function at 0x45afc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x644904]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov dword [ebp - 4], eax
je 0x45afe1
test ebx, ebx
jne 0x45aff6
push 0x5f7c34
push 0x3c
push 0x5f7c1c
call dword [sym.imp.tengine.dll_void___cdecl_tThrowAssertException_char_const___int__char_const__]
add esp, 0xc
push edi
push 0x5f7c10
push 0x5f7c08
lea eax, [ebp - 0x108]
push 0x104
push eax
call dword [sym.imp.MSVCR71.dll__snprintf]
add esp, 0x14
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x45b04e
push 0
lea edx, [ebp - 0x108]
push edx
mov ecx, ebx
call fcn.00573150
test al, al
je 0x45b04e
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
call fcn.005c8895
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x14]
mov ecx, dword [0x645868]
push esi
push edx
lea edx, [ebp - 0x10c]
push edx
mov dword [ebp - 0x10c], 0
mov eax, dword [ecx]
push edi
call dword [eax + 0x38]
mov esi, eax
test esi, esi
jbe 0x45b0b5
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x10c]
push edi
lea ecx, [esi + eax + 1]
push ecx
push eax
mov ecx, ebx
call fcn.00573010
mov ecx, dword [0x645868]
mov edx, dword [ecx]
movzx edi, al
mov eax, dword [ebp - 0x10c]
push esi
push eax
call dword [edx + 0x3c]
pop esi
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.005c8895
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor eax, eax
pop ebx
call fcn.005c8895
mov esp, ebp
pop ebp
ret
Function at 0x480910
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push esi
push edi
mov esi, ecx
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x14]
push eax
push edx
lea ecx, [esp + 0x10]
push ecx
push 0x5fbd14
push 0x5fbce4
push 0x80000002
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
mov eax, 1
je 0x48095a
mov eax, esi
pop edi
pop esi
pop ecx
ret

Function at 0x480960
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x48
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x40
call dword [sym.imp.kernel32.dll_GlobalMemoryStatusEx]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
shrd ecx, eax, 0xa
mov dword [esp], ecx
shr eax, 0xa
mov ecx, eax
and eax, 0x7fffffff
mov dword [esp + 4], eax
and ecx, 0x80000000
fild qword [esp]
mov dword [esp + 4], ecx
mov dword [esp], 0
fild qword [esp]
fchs
faddp st(1)
fmul dword [0x5fbd28]
add esp, 0x48
ret

Function at 0x486d90
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.kernel32.dll_SetEvent]
mov ecx, dword [esi + 8]
push 0x3e8
push ecx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
test eax, eax
je 0x486dc6
mov edx, dword [esi + 8]
push 0
push edx
call dword [sym.imp.kernel32.dll_TerminateThread]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
pop esi
ret

Function at 0x486ec1
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x18]
mov dword [esi], 0x5fcb24
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 ebx, dword [sym.imp.kernel32.dll_CreateEventA]
push 0
push 0
push 1
lea edi, [esi + 4]
push 0
mov dword [edi], 0
mov dword [esi + 8], 0
call ebx
push 0
push 0
push 0
push 0
mov dword [esi + 0xc], eax
call ebx
push edi
push 0
push esi
push 0x486dd0
push 0
push 0
mov dword [esi + 0x10], eax
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 8], eax
pop edi
mov eax, esi
pop esi
pop ebx
ret
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 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, 0x320
jl 0x4da18a
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 0x258
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, 0x320
mov edi, edx
jg 0x4da0fe
mov dword [ebp - 4], 0x320
cmp ebx, 0x258
jg 0x4da10b
mov ebx, 0x258
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