joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e610
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5445f4
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push ebx
mov ebp, ecx
call fcn.0046cb90
test eax, eax
jne 0x46e69a
push esi
push 0xbc
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov dword [esp + 0x30], 0
je 0x46e663
mov ecx, eax
call fcn.0046dda0
mov esi, eax
jmp 0x46e665
xor esi, esi
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
push ebx
mov ecx, esi
mov dword [esp + 0x3c], 0xffffffff
call fcn.004a5760
test eax, eax
jge 0x46e6ad
test esi, esi
je 0x46e697
mov ecx, esi
call fcn.0046df30
push esi
call sub.MFC71.DLL_operator_delete_1
add esp, 4
xor eax, eax
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
mov edx, dword [esi]
test edx, edx
je 0x46e697
mov eax, edx
push edi
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46e6c0
sub eax, edi
inc eax
cmp eax, 0x7fffffff
pop edi
ja 0x46e6da
push ebx
push eax
push edx
call fcn.004126e0
mov edx, dword [esi]
push edx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push eax
lea ecx, [ebp + 0x10c]
mov dword [esp + 0x34], 1
call fcn.0046e330
lea ecx, [esp + 0xc]
mov dword [eax], esi
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 eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc

Function at 0x46fa10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x544719
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push ebx
push esi
push edi
mov esi, ecx
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push eax
lea ecx, [esp + 0x3c]
lea edi, [esi + 0x104]
push ecx
mov ecx, edi
mov dword [esp + 0x38], 0
call fcn.004714c0
lea ecx, [esp + 0xc]
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 ebx, dword [esp + 0x38]
cmp ebx, dword [esi + 0x108]
jne 0x46fa8b
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
mov esi, dword [ebx + 0x28]
test esi, esi
je 0x46faa2
mov ecx, esi
call fcn.0046f990
push esi
call sub.MFC71.DLL_operator_delete_1
add esp, 4
push ebx
lea edx, [esp + 0x3c]
push edx
mov ecx, edi
call fcn.0046f040
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x471390
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
mov edx, dword [esp + 4]
push 0xffffffffffffffff
push 0x545ab9
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
push edi
mov edi, 0x104
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [edx + eax]
test cl, cl
je 0x4713cf
mov byte [eax], cl
inc eax
dec edi
jne 0x4713c0
jmp 0x4713d3
test edi, edi
jne 0x4713d4
dec eax
push esi
lea ecx, [esp + 0xc]
mov byte [eax], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push eax
lea ecx, [esi + 0x11c]
mov dword [esp + 0x30], 0
call fcn.004abcb0
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 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 + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x476170
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x204
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x5da0f4
push ebx
mov esi, ecx
call dword [sym.imp.MSVCR71.dll_fopen]
add esp, 8
test eax, eax
mov dword [esi + 0x5ac], eax
je 0x4762da
mov edi, dword [sym.imp.MSVCR71.dll_fseek]
push 2
push 0
push eax
call edi
mov eax, dword [esi + 0x5ac]
push eax
call dword [sym.imp.MSVCR71.dll_ftell]
mov ecx, dword [esi + 0x5ac]
push 0
push 0
push ecx
mov dword [esi + 0x5a0], eax
call edi
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x18], edx
lea eax, [esi + 0x20]
mov edx, ebx
add esp, 0x1c
mov edi, 0x104
sub edx, eax
mov cl, byte [edx + eax]
test cl, cl
je 0x4761f2
mov byte [eax], cl
inc eax
dec edi
jne 0x4761e3
jmp 0x4761f6
test edi, edi
jne 0x4761f7
dec eax
mov byte [eax], 0
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x3f
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x110], 0
mov ecx, 0x3f
lea edi, [esp + 0x111]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push ebx
call dword [sym.imp.MSVCR71.dll__splitpath]
lea edx, [esp + 0x24]
push str.param
push edx
call dword [sym.imp.MSVCR71.dll__stricmp]
mov eax, dword [esi + 0x18]
add esp, 0x1c
test eax, eax
je 0x4762b8
mov eax, dword [esi + 0x5ac]
push eax
push 1
lea ecx, [esp + 0x14]
push 4
push ecx
call dword [sym.imp.MSVCR71.dll_fread]
mov eax, dword [esp + 0x1c]
add esp, 0x10
test eax, eax
jle 0x4762c6
cmp eax, 5
jg 0x4762c6
push 0
mov dword [esi + 0x1c], eax
mov ecx, dword [eax*4 + 0x5df2e4]
imul eax, eax, 0x1c
push 0
push 0x10
push ecx
push 0x5df2c8
push ecx
lea ecx, [eax + 0x2aac9ec]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edx, dword [esi + 0x1c]
push eax
push edx
lea ecx, [esi + 0x124]
call fcn.0047f590
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x5ac]
push 0
push 0
push eax
call dword [sym.imp.MSVCR71.dll_fseek]
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x478540
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x54610b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x1c], 3
call fcn.004784e0
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 2
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 eax, dword [esi + 0x30]
mov ecx, dword [eax]
lea edi, [esi + 0x2c]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x28], 1
call fcn.00477eb0
mov eax, dword [edi + 4]
push eax
call sub.MFC71.DLL_operator_delete_1
xor ebx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x20]
add esp, 4
cmp eax, ebx
je 0x4785bb
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov ecx, esi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esp + 0x1c], 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 + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x47b720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x546179
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::iterator___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x30]
mov esi, eax
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::iterator___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
mov edi, eax
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::iterator___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
mov ecx, dword [sym.imp.MSVCR71.dll_tolower]
mov edx, dword [esi]
push ecx
mov ecx, dword [edi]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00402c40
add esp, 0x14
lea ecx, [esp + 0x2c]
push ecx
mov ecx, 0x2a54258
call fcn.00499220
cmp eax, dword [0x2a5425c]
mov dword [esp + 0xc], eax
je 0x47b7ca
add eax, 0xc
push eax
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator__char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
test al, al
jne 0x47b7ca
lea eax, [esp + 0xc]
jmp 0x47b7d7
mov eax, dword [0x2a5425c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
mov eax, dword [eax]
cmp eax, dword [0x2a5425c]
jne 0x47b809
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x1c
mov ecx, dword [ebx + 4]
add eax, 0x28
push eax
push ecx
call fcn.00535d70
test eax, eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
jne 0x47b7ed
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 + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x1c
Function at 0x47d5a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x546509
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x30]
push esi
push edi
mov edi, dword [esp + 0x40]
push edi
push ecx
push ebx
call fcn.0047d480
mov esi, eax
cmp esi, 0xffffffff
jne 0x47d5d5
mov esi, dword [ebx + 0x14]
mov eax, esi
sub eax, edi
push eax
push edi
push ebx
lea ecx, [esp + 0x18]
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___unsigned_int__unsigned_int_]
mov ecx, dword [esp + 0x3c]
push eax
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0xc]
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]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x4846a0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov dword [esi], eax
mov cx, word [edi + 4]
mov word [esi + 4], cx
mov dx, word [edi + 6]
mov word [esi + 6], dx
mov ax, word [edi + 8]
mov word [esi + 8], ax
mov cx, word [edi + 0xa]
mov word [esi + 0xa], cx
mov dx, word [edi + 0xc]
mov word [esi + 0xc], dx
mov ax, word [edi + 0xe]
mov word [esi + 0xe], ax
mov cx, word [edi + 0x10]
mov word [esi + 0x10], cx
mov dx, word [edi + 0x12]
mov word [esi + 0x12], dx
mov ax, word [edi + 0x14]
mov word [esi + 0x14], ax
mov cx, word [edi + 0x16]
mov ebp, edi
mov word [esi + 0x16], cx
lea eax, [esi + 0x18]
sub ebp, esi
mov ecx, 0xb
lea ebx, [ebx]
mov dx, word [eax + ebp]
mov word [eax], dx
add eax, 2
dec ecx
jne 0x484710
lea ebx, [esi + 0x30]
mov dword [esp + 0x14], 0xa
lea eax, [ebx + ebp]
push eax
mov ecx, ebx
call fcn.004b9db0
mov eax, dword [esp + 0x14]
add ebx, 0x30
dec eax
mov dword [esp + 0x14], eax
jne 0x484728
mov ecx, dword [edi + 0x210]
pop edi
mov dword [esi + 0x210], ecx
mov eax, esi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x48f640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54740e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
lea ebp, [esi + 0x1174]
mov ecx, ebp
mov dword [esp + 0xc], esi
mov dword [esi], 0x5dfc7c
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 6
mov dword [esi + 0x24], 0x16
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
call fcn.0048f190
mov dword [ebp + 4], eax
mov byte [eax + 0xe], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
lea ebp, [esi + 0x1198]
mov ecx, ebp
mov dword [esp + 0x18], edi
call fcn.0048f190
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x10]
mov byte [eax + 0xe], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
mov dword [esi + 0x11c8], edi
mov dword [esi + 0x11cc], edi
mov dword [esi + 0x11d0], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x49a620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x547cd6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov eax, dword [esp + 0x88]
push ebx
push eax
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
xor ebx, ebx
push str.Config.ini
lea ecx, [esp + 8]
mov dword [esp + 0x88], ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x5d3e5c
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x30]
call fcn.0047e760
push ebx
push 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x8c], 1
mov dword [esp + 0x10], ebx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetString]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x38]
call fcn.0047e9c0
cmp al, bl
je 0x49a790
lea ecx, [esp + 8]
push ecx
push 1
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push str.dwCryptKey
mov dword [esp + 0xa4], ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push str.GAME_SET
mov byte [esp + 0xcc], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x58]
mov byte [esp + 0xc8], 1
call fcn.0042a480
push 0x64436c
push 1
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push str.bEngineDebug
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push str.GAME_SET
mov byte [esp + 0xcc], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x58]
mov byte [esp + 0xc8], 1
call fcn.0042c4e0
cmp dword [esp + 8], 0x5c31589
jne 0x49a763
mov dword [0x644368], ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], bl
call fcn.0047ef40
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ebx
add esp, 0x84
ret
push str.CCrypt::LoadSetting_Cant_Load_Setting_File
call fcn.00463a70
add esp, 4
jmp 0x49a763
Function at 0x49a930
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.MSVCR71.dll_fread]
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
mov eax, dword [esi + 4]
push eax
push 1
lea ebx, [edi + 4]
push 0x114
push ebx
call ebp
mov ecx, dword [esp + 0x24]
add edi, 8
push edi
push ecx
call dword [sym.imp.MSVCR71.dll__stricmp]
add esp, 0x18
test eax, eax
je 0x49a9af
jmp 0x49a970
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x114]
test eax, eax
mov byte [edi], 0
je 0x49a9bb
push 0
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.MSVCR71.dll_fseek]
mov ecx, dword [esi + 4]
push ecx
push 1
push 0x114
push ebx
call ebp
mov edx, dword [esp + 0x30]
push edi
push edx
call dword [sym.imp.MSVCR71.dll__stricmp]
add esp, 0x24
test eax, eax
jne 0x49a970
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
Function at 0x49b330
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push ebx
mov ebx, ecx
call fcn.0049ae10
mov eax, dword [esp + 0x20]
push 0x5e0c28
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
add esp, 8
test eax, eax
mov dword [ebx + 4], eax
je 0x49b394
push esi
push edi
push eax
push 1
lea ecx, [esp + 0x14]
push 0x15
push ecx
call dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
mov edi, str.RANPACKAGEFILESYSTEM
lea esi, [esp + 0xc]
mov ecx, 0x15
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
pop edi
pop esi
je 0x49b39d
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
mov dword [ebx + 4], 0
xor eax, eax
pop ebx
add esp, 0x18
ret 4
push 0x5d3c5c
mov ecx, ebx
call fcn.0049b000
mov eax, 1
pop ebx
add esp, 0x18
ret 4
Function at 0x49b3c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x310
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x49b3dc
xor eax, eax
pop esi
add esp, 0x310
ret 4
lea eax, [esp + 0x110]
lea edx, [esi + 0x13c]
mov ecx, eax
push edi
mov edi, 0x104
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x49b402
mov byte [eax], cl
inc eax
dec edi
jne 0x49b3f3
jmp 0x49b406
test edi, edi
jne 0x49b407
dec eax
mov edi, dword [esp + 0x31c]
push edi
lea edx, [esp + 0x14]
push edx
mov ecx, esi
mov byte [eax], 0
call fcn.0049ab60
mov al, byte [esp + 0x10]
test al, al
je 0x49b432
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0049b000
push ebx
push edi
lea ecx, [esp + 0x220]
push ecx
mov ecx, esi
call fcn.0049aab0
mov eax, dword [esi + 0xc]
mov edi, dword [eax]
cmp edi, eax
je 0x49b477
mov ebx, dword [sym.imp.MSVCR71.dll__stricmp]
mov eax, dword [edi + 8]
cmp dword [eax + 4], 1
jne 0x49b470
add eax, 8
push eax
lea edx, [esp + 0x220]
push edx
call ebx
add esp, 8
test eax, eax
je 0x49b477
mov edi, dword [edi]
cmp edi, dword [esi + 0xc]
jne 0x49b452
cmp edi, dword [esi + 0xc]
jne 0x49b48a
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x310
ret 4
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x118]
mov edx, dword [esi + 4]
push ebp
push 0
add ecx, 0x114
push ecx
push edx
call dword [sym.imp.MSVCR71.dll_fseek]
mov eax, dword [edi + 8]
mov ebx, dword [eax + 0x108]
push ebx
call sub.MFC71.DLL_operator_new
mov ecx, dword [esi + 4]
push ecx
push 1
mov ebp, eax
push ebx
push ebp
call dword [sym.imp.MSVCR71.dll_fread]
mov edx, dword [edi + 8]
mov eax, dword [edx + 0x10c]
push eax
mov dword [esp + 0x38], eax
call sub.MFC71.DLL_operator_new
add esp, 0x24
push ebx
push ebp
lea ecx, [esp + 0x1c]
push ecx
push eax
mov dword [esp + 0x20], eax
call fcn.00536830
test eax, eax
push ebp
je 0x49b513
call sub.MFC71.DLL_operator_delete
mov edx, dword [esp + 0x14]
push edx
call sub.MFC71.DLL_operator_delete
add esp, 8
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x310
ret 4
call sub.MFC71.DLL_operator_delete
mov eax, dword [edi + 8]
mov ecx, dword [eax + 4]
mov dword [esi + 0x18], ecx
mov edi, dword [edi + 8]
add esp, 4
add edi, 8
mov edx, 0x100
lea eax, [esi + 0x1c]
mov cl, byte [edi]
test cl, cl
je 0x49b543
mov byte [eax], cl
inc eax
inc edi
dec edx
jne 0x49b532
xor ecx, ecx
jmp 0x49b549
xor ecx, ecx
cmp edx, ecx
jne 0x49b54a
dec eax
mov edx, dword [esp + 0x10]
mov byte [eax], 0
mov eax, dword [esp + 0x14]
mov dword [esi + 0x120], eax
mov dword [esi + 0x134], eax
mov al, byte [esp + 0x18]
test al, al
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x124], ecx
mov dword [esi + 0x128], ecx
mov dword [esi + 0x130], edx
mov dword [esi + 0x138], ecx
je 0x49b596
lea eax, [esp + 0x11c]
push eax
mov ecx, esi
call fcn.0049b000
pop ebp
pop ebx
pop edi
lea eax, [esi + 0x14]
pop esi
add esp, 0x310
ret 4