Function at 0x488610
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov dword [eax + 0x38], eax
mov ebp, dword [esp + 0x94]
mov edi, dword [esp + 0x90]
mov dword [eax + 0x14], eax
mov ecx, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
mov dword [eax + 0x18], 0
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x98]
xor ebp, 1
mov dword [esp + 0x38], ecx
mov esi, dword [esp + 0xac]
or edi, ebp
lea ebp, [eax + 0x38]
mov dword [esp + 0x3c], ebx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 0x30], ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x70]
mov dword [eax + 0xc], ebp
mov ebp, dword [esp + 0x78]
mov dword [eax + 8], edi
mov ebx, dword [esp + 0xa8]
mov dword [eax + 0x10], ebp
lea ebp, [eax + 0xc8]
mov dword [eax + 0x20], ebp
mov dword [eax + 0x1c], 0
mov dword [eax + 0xc8], 0
mov dword [eax + 0xd0], 1
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0xb0]
mov dword [eax], edx
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], ebp
mov dword [eax + 0x40], edi
test edi, edi
je 0x4888b1
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov dword [eax + 0x48], edi
mov edi, dword [esp + 0x7c]
mov dword [eax + 0x4c], ebp
mov dword [eax + 0x50], edi
mov edi, dword [esp + 0x80]
mov dword [eax + 0x54], edi
mov edi, dword [esp + 0x84]
mov dword [eax + 0x58], edi
mov edi, dword [esp + 0x88]
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], edi
mov edi, dword [esp + 0x8c]
mov dword [eax + 0x5c], edi
mov edi, dword [esp + 0x98]
mov ebp, dword [esp + 0x3c]
mov dword [eax + 0x6c], 0
mov dword [eax + 0x68], edi
mov edi, dword [esp + 0x38]
mov dword [eax + 0x74], ebp
mov ebp, dword [esp + 0x2c]
mov dword [eax + 0x70], edi
mov edi, dword [esp + 0x28]
mov dword [eax + 0x7c], ebp
mov dword [eax + 0x78], edi
mov edx, dword [ecx]
mov dword [eax + 0x80], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x84], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x88], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x8c], edx
mov edx, dword [ebx]
mov dword [eax + 0x90], edx
mov edx, dword [ebx + 4]
mov dword [eax + 0x94], edx
mov edx, dword [ebx + 8]
mov dword [eax + 0x98], edx
mov edx, dword [ebx + 0xc]
mov dword [eax + 0x9c], edx
mov edx, dword [esi]
mov dword [eax + 0xa0], edx
mov edx, dword [esi + 4]
mov dword [eax + 0xa4], edx
mov edx, dword [esi + 8]
mov dword [eax + 0xa8], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xb0], 0
mov dword [eax + 0xac], edx
mov edx, dword [esp + 0x80]
and edx, dword [esp + 0x84]
and edx, dword [esp + 0x88]
mov dword [eax + 0xb4], 0
mov dword [eax + 0xb8], 1
and edx, 1
mov dword [eax + 0xbc], 0
mov dword [eax + 0xc0], 1
mov dword [eax + 0xc4], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0x100], 0
mov dword [eax + 0x104], 0
mov dword [eax + 0x108], 0
mov dword [eax + 0x10c], 0
mov dword [eax + 0x110], 0
mov dword [eax + 0x114], 0
mov dword [eax + 0x118], 0
jne 0x488910
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esp + 0x7c]
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x28], 0xffffffff
mov dword [eax + 0x54], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x2c], 0xffffffff
mov dword [eax + 0x58], edi
mov edi, dword [esp + 0x88]
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], edi
mov edi, dword [esp + 0x8c]
mov dword [eax + 0x5c], edi
jmp 0x48872d
mov esi, eax
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 0
mov dword [esp + 4], eax
mov dword [esp], esi
mov dword [esp + 0x4c], 0
call fcn.004882e0
mov ebx, eax
mov eax, edx
or eax, ebx
jne 0x488a10
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00496fc0
mov ebx, eax
mov eax, edx
or eax, ebx
jne 0x488a90
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x4888a9
mov eax, dword [esi + 0x30]
mov edx, dword [eax + 0x30]
mov dword [eax + 0xe0], ecx
mov dword [eax + 0xc8], edx
mov edx, dword [eax + 0x34]
mov dword [eax + 0x34], ecx
mov dword [eax + 0xcc], edx
mov edx, dword [eax + 0x38]
mov dword [eax + 0xd0], edx
mov edx, dword [eax + 0x3c]
mov dword [eax + 0xd4], edx
mov edx, dword [eax + 0x40]
mov dword [eax + 0xd8], edx
mov edx, dword [eax + 0x44]
mov dword [eax + 0xdc], edx
movzx edx, word [ecx + 4]
mov dword [esi + 0x2c], 0
mov ebx, edx
mov dword [eax + 8], 1
and ebx, 1
mov dword [eax + 0x18], ebx
mov ebx, edx
sar ebx, 1
and ebx, 1
mov dword [eax + 0x1c], ebx
mov ebx, edx
sar edx, 5
sar ebx, 2
and edx, 1
and ebx, 1
mov dword [eax + 0x24], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 0x20], ebx
mov ebx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x10]
mov dword [eax + 0xb4], edx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], ecx
mov dword [eax + 0xb0], 0
jmp 0x4888a9
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.0041d490
mov dword [esp], 2
mov esi, dword [fcn.004a1b90]
mov edi, eax
call esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x54da40
mov dword [esp + 4], str.__s__Error_while_getting_cluster_stream_for_suspected_FAT_directory:__lu___s_
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x54da76
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call esi
mov dword [esp], eax
call sub.msvcrt.dll_fflush
jmp 0x4888a9
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.0041d490
mov dword [esp], 2
mov esi, dword [fcn.004a1b90]
mov edi, eax
call esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x54da40
mov dword [esp + 4], str.__s__Error_while_validating_suspected_FAT_directory:__lu___s_
jmp 0x488a45