joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445580
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x38
mov dword [0x66c0e0], 0
mov dword [0x66c0a8], eax
push edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [esp + 4]
mov dword [0x66c0d8], eax
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
mov dword [0x66c0bc], edx
mov edx, dword [0x66c0d8]
add ecx, eax
push edx
mov dword [0x66c0a0], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [0x66c0a4], eax
mov eax, dword [0x66c0d8]
push 0x1e
push 0x12c
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [0x66c0a4]
push eax
push ecx
mov dword [0x66c0d4], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [0x66c0a4]
push 1
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [0x66c0a4]
push 0
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x66c0e4
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, 0x66c0e4
or ecx, 0xffffffff
xor eax, eax
mov dl, 0x5c
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + 0x66c0e3], dl
je 0x44566d
mov edi, 0x66c0e4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov edi, 0x66c0e4
mov byte [ecx + 0x66c0e3], dl
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
mov byte [ecx + 0x66c0e4], al
call fcn.0040b4d0
test eax, eax
pop edi
jne 0x445681
mov dword [0x66c0e0], 1
call fcn.004434d0
call fcn.00441960
test eax, eax
jne 0x445699
mov dword [0x66c0e0], 1
call fcn.00441e00
call fcn.00433bf0
call fcn.0041b7e0
call fcn.00423350
call fcn.00422510
test eax, eax
jne 0x4456c0
mov dword [0x66c0e0], 1
mov ecx, dword [0x66c0a8]
push ecx
mov ecx, 0x6694d0
call fcn.0043cc90
call fcn.00407ac0
call fcn.00401000
call fcn.00401930
call fcn.00441e20
push 0
push 0x3fa110a1
push 0x37f38c54
push eax
mov dword [0x66c0cc], eax
call fcn.00441e90
add esp, 0x48
ret

Function at 0x445d50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47e608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov al, byte [esp + 0x2c]
push ebx
xor ebx, ebx
push esi
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
lea edx, [esp + 0xc]
push eax
push edx
mov dword [esp + 0x34], ebx
call fcn.00445e20
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x445dbf
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x445db6
cmp al, 0xff
je 0x445db6
dec al
mov byte [ecx], al
jmp 0x445dbf
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x447770
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47e9a8
push eax
mov dword fs:[0], esp
sub esp, 0x38
push edi
mov edi, ecx
push 0x1777
mov ecx, dword [edi + 0xc]
call fcn.0044d9b0
test eax, eax
jne 0x4477b3
mov eax, 0xffffff9a
pop edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 4
push ebx
push esi
push 1
push str.LOBBY.CHAT
lea ecx, [esp + 0x14]
call fcn.0044b130
mov al, byte [esp + 0x54]
mov cl, byte [esp + 0x54]
xor ebx, ebx
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x34], cl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0xc], 0x4859e4
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0xc]
push edx
mov dword [esp + 0x50], ebx
call fcn.0044c1a0
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 4]
push 1
push edx
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
call dword [eax + 0x14]
mov esi, eax
mov ecx, edi
push esi
call fcn.00449640
cmp esi, ebx
mov edi, eax
je 0x447835
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0xc], 0x4859e4
je 0x44786a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x447861
cmp al, 0xff
je 0x447861
dec al
mov byte [ecx], al
jmp 0x44786a
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], ebx
cmp eax, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
je 0x44789b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x447892
cmp al, 0xff
je 0x447892
dec al
mov byte [ecx], al
jmp 0x44789b
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0044b390
mov ecx, dword [esp + 0x44]
pop esi
mov eax, edi
pop ebx
pop edi
mov dword fs:[0], ecx
add esp, 0x44
ret 4
Function at 0x447a20
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47ea08
push eax
mov dword fs:[0], esp
sub esp, 0x38
push edi
mov edi, ecx
push 0x1777
mov ecx, dword [edi + 0xc]
call fcn.0044d9b0
test eax, eax
jne 0x447a63
mov eax, 0xffffff9a
pop edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 8
push ebx
push esi
push 1
push str.LOBBY.CHAT
lea ecx, [esp + 0x14]
call fcn.0044b130
mov al, byte [esp + 0x58]
mov cl, byte [esp + 0x58]
xor ebx, ebx
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x34], cl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0xc], 0x4859e4
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0xc]
push edx
mov dword [esp + 0x50], ebx
call fcn.0044c1a0
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0xc]
push eax
call fcn.0044d560
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 4]
push 1
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
call dword [edx + 0x14]
mov esi, eax
mov ecx, edi
push esi
call fcn.00449640
cmp esi, ebx
mov edi, eax
je 0x447af3
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0xc]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0xc], 0x4859e4
je 0x447b28
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x447b1f
cmp al, 0xff
je 0x447b1f
dec al
mov byte [ecx], al
jmp 0x447b28
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], ebx
cmp eax, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
je 0x447b59
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x447b50
cmp al, 0xff
je 0x447b50
dec al
mov byte [ecx], al
jmp 0x447b59
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0044b390
mov ecx, dword [esp + 0x44]
pop esi
mov eax, edi
pop ebx
pop edi
mov dword fs:[0], ecx
add esp, 0x44
ret 8
Function at 0x447fe0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47eae8
push eax
mov dword fs:[0], esp
sub esp, 0x38
push esi
mov esi, ecx
push 0x17d6
mov ecx, dword [esi + 0xc]
call fcn.0044d9b0
test eax, eax
jne 0x448023
mov eax, 0xffffff9a
pop esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 0x10
push ebx
push ebp
push 1
push str.SESSION.JOIN
lea ecx, [esp + 0x14]
call fcn.0044b130
mov al, byte [esp + 0x5c]
mov cl, byte [esp + 0x5c]
xor ebx, ebx
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x34], cl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0xc], 0x485a04
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0xc]
push edx
mov dword [esp + 0x50], ebx
call fcn.0044d560
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0xc]
push eax
call fcn.0044c1a0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push ecx
lea eax, [esp + 0x10]
push edx
push eax
mov ecx, esi
call fcn.00449900
mov ebp, eax
cmp ebp, ebx
jne 0x4480b0
mov ecx, dword [esi + 0xc]
push 0x1d4c
call fcn.0044db70
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0xc], 0x485a04
je 0x4480e5
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4480dc
cmp al, 0xff
je 0x4480dc
dec al
mov byte [ecx], al
jmp 0x4480e5
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], ebx
cmp eax, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
je 0x448116
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x44810d
cmp al, 0xff
je 0x44810d
dec al
mov byte [ecx], al
jmp 0x448116
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0044b390
mov ecx, dword [esp + 0x44]
mov eax, ebp
pop ebp
pop ebx
pop esi
mov dword fs:[0], ecx
add esp, 0x44
ret 0x10
Function at 0x4485c0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47ebc8
push eax
mov dword fs:[0], esp
sub esp, 0x38
push edi
mov edi, ecx
push 0x1d4f
mov ecx, dword [edi + 0xc]
call fcn.0044d9b0
test eax, eax
jne 0x448603
mov eax, 0xffffff9a
pop edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 8
push ebx
push esi
push 1
push str.SESSION.KICK
lea ecx, [esp + 0x14]
call fcn.0044b130
mov al, byte [esp + 0x54]
mov cl, byte [esp + 0x54]
xor ebx, ebx
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x34], cl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0xc], 0x485a34
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0xc]
push edx
mov dword [esp + 0x50], ebx
call fcn.0044d560
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0xc]
push eax
call fcn.0044c1a0
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 4]
push 1
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
call dword [edx + 0x14]
mov esi, eax
mov ecx, edi
push esi
call fcn.00449640
cmp esi, ebx
mov edi, eax
je 0x448693
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0xc]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0xc], 0x485a34
je 0x4486c8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4486bf
cmp al, 0xff
je 0x4486bf
dec al
mov byte [ecx], al
jmp 0x4486c8
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], ebx
cmp eax, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
je 0x4486f9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4486f0
cmp al, 0xff
je 0x4486f0
dec al
mov byte [ecx], al
jmp 0x4486f9
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0044b390
mov ecx, dword [esp + 0x44]
pop esi
mov eax, edi
pop ebx
pop edi
mov dword fs:[0], ecx
add esp, 0x44
ret 8
Function at 0x448fc0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47ed78
push eax
mov dword fs:[0], esp
sub esp, 0x38
push edi
mov edi, ecx
push 0x7d1
mov ecx, dword [edi + 0xc]
call fcn.0044d9b0
test eax, eax
jne 0x449003
mov eax, 0xffffff9a
pop edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 8
push ebx
push esi
push 1
push str.PLAYER.SETPROP
lea ecx, [esp + 0x14]
call fcn.0044b130
mov al, byte [esp + 0x54]
mov cl, byte [esp + 0x54]
xor ebx, ebx
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x34], cl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0xc], 0x485a94
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0xc]
push edx
mov dword [esp + 0x50], ebx
call fcn.0044d560
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0xc]
push eax
call fcn.0044c1a0
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 4]
push 1
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
call dword [edx + 0x14]
mov esi, eax
mov ecx, edi
push esi
call fcn.00449640
cmp esi, ebx
mov edi, eax
je 0x449093
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0xc]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0xc], 0x485a94
je 0x4490c8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4490bf
cmp al, 0xff
je 0x4490bf
dec al
mov byte [ecx], al
jmp 0x4490c8
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], ebx
cmp eax, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
je 0x4490f9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4490f0
cmp al, 0xff
je 0x4490f0
dec al
mov byte [ecx], al
jmp 0x4490f9
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0044b390
mov ecx, dword [esp + 0x44]
pop esi
mov eax, edi
pop ebx
pop edi
mov dword fs:[0], ecx
add esp, 0x44
ret 8
Function at 0x449480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47ee41
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x30], 0
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x34], 1
call dword [sym.imp.MSVCP60.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__]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 2
push ecx
lea ecx, [esp + 0x28]
call fcn.0044ac50
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
push edx
push eax
lea ecx, [edi + 0x28]
mov byte [esp + 0x38], 3
call fcn.0044a570
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0xc]
push ecx
mov byte [esp + 0x34], 1
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x14]
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x30], 0
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [edi + 0x1c]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov edx, dword [esi]
add esp, 8
mov ecx, esi
call dword [edx + 4]
push esi
mov dword [edi + 0x1c], eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x2c
ret 8
Function at 0x462e10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x480799
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call dword [sym.imp.MSVCP60.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_void_]
mov ebx, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
lea ecx, [esp + 0x10]
mov dword [esi + 0x34], eax
call ebx
mov eax, dword [sym.imp.MSVCP60.dll_class_std::locale::_Locimp__std::locale::_Locimp::_Global]
lea ecx, [esp + 0xc]
mov edi, dword [eax]
call ebx
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x462e5f
inc eax
mov dword [edi + 4], eax
mov edi, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [esp + 0xc]
call edi
lea ecx, [esp + 0x10]
call edi
lea ecx, [esi + 4]
lea edx, [esi + 0x14]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x18]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], ecx
lea eax, [esi + 8]
lea edx, [esi + 0x24]
lea ecx, [esi + 0x28]
mov dword [esi + 0x10], eax
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], ecx
mov dword [eax], 0
mov edx, dword [esi + 0x20]
mov dword [edx], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov ecx, dword [esi + 0xc]
mov dword [ecx], 0
mov edx, dword [esi + 0x1c]
mov dword [edx], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push 2
push 0
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x30], 0
mov dword [esi], 0x485ab8
call dword [sym.imp.MSVCP60.dll_protected:_void___thiscall_std::strstreambuf::_Init_int__char___char___int_]
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x46d280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x482419
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call dword [sym.imp.MSVCP60.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_void_]
mov ebx, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
lea ecx, [esp + 0x10]
mov dword [esi + 0x34], eax
call ebx
mov eax, dword [sym.imp.MSVCP60.dll_class_std::locale::_Locimp__std::locale::_Locimp::_Global]
lea ecx, [esp + 0xc]
mov edi, dword [eax]
call ebx
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x46d2cf
inc eax
mov dword [edi + 4], eax
mov edi, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [esp + 0xc]
call edi
lea ecx, [esp + 0x10]
call edi
lea ecx, [esi + 4]
lea edx, [esi + 0x14]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x18]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], ecx
lea eax, [esi + 8]
lea edx, [esi + 0x24]
lea ecx, [esi + 0x28]
mov dword [esi + 0x10], eax
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], ecx
mov dword [eax], 0
mov edx, dword [esi + 0x20]
mov dword [edx], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov ecx, dword [esi + 0xc]
mov dword [ecx], 0
mov edx, dword [esi + 0x1c]
mov dword [edx], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov ecx, dword [esp + 0x28]
push 0
push 0
push 0
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
mov dword [esi], 0x485ab8
call dword [sym.imp.MSVCP60.dll_protected:_void___thiscall_std::strstreambuf::_Init_int__char___char___int_]
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402e7f
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0040302f
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x402f7d
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x402f20
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x402f63
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x402f37
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x402f52
test al, 0x40
je 0x402f49
mov ecx, dword [edi + 0x20]
jmp 0x402f50
test al, 0x80
je 0x402f63
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x402f63
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x402eef
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x40f890
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4749fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004694c1
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40f912
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004670d7
mov eax, dword [eax]
push 0x4b01f0
push eax
call fcn.00459f44
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046974c
test bl, bl
je 0x40f912
push 0x4b01f0
lea ecx, [esp + 0xc]
call fcn.00469adc
push 0x4b3d58
lea ecx, [esp + 0xc]
call fcn.00469adc
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40f94e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046974c
jmp 0x40fa19
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40f9d2
lea edx, [esp + 0x7c]
push 0x4b3d54
push edx
call fcn.00459f44
add esp, 8
test eax, eax
je 0x40f9d2
lea eax, [esp + 0x7c]
push 0x4b3d50
push eax
call fcn.00459f44
add esp, 8
test eax, eax
je 0x40f9d2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40f962
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0046974c
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4106a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x410702
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc