Function at 0x485110
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x50533a
mov eax, dword fs:[0]
push eax
mov eax, 0x4268
call fcn.004b70d0
mov eax, dword [0x54c494]
xor eax, esp
mov dword [esp + 0x4264], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54c494]
xor eax, esp
push eax
lea eax, [esp + 0x427c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x428c]
test edi, edi
mov ebp, dword [esp + 0x4290]
mov dword [esp + 0x20], edi
jne 0x48517c
push 0x516bc0
push 0x169
push str...FATDirectoryEntry.cpp
call fcn.00407f63
add esp, 0xc
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
mov ecx, edi
call edx
mov esi, eax
test esi, esi
jne 0x4851a2
push 0x519c60
push 0x16b
push str...FATDirectoryEntry.cpp
call fcn.00407f63
add esp, 0xc
push edi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x24]
push eax
push esi
mov byte [esp + 0x28e], 0
mov byte [esp + 0x28c], 0
mov dword [esp + 0x288], 0
mov dword [ebp], 0
call fcn.004837c0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x48524a
mov bl, 0x19
lea ebx, [ebx]
cmp byte [esp + 0x14], bl
je 0x485260
cmp byte [esp + 0x38], 0
je 0x485660
mov al, byte [esp + 0x43]
mov cl, al
and cl, 0xf
cmp cl, 0xf
jne 0x4852fd
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x74]
push eax
call fcn.00483f00
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x2c]
push edx
push esi
call fcn.004837c0
mov edi, eax
add esp, 0x20
test edi, edi
je 0x4851f0
push str.EOF_reading_packet_header
push 1
call fcn.004438d0
add esp, 8
mov eax, edi
jmp 0x485662
push 0xc0
call fcn.00487d37
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x4284], 0
je 0x48528e
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, eax
call fcn.00484690
jmp 0x485290
xor eax, eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push ecx
push edx
mov ecx, eax
mov dword [esp + 0x4290], 0xffffffff
mov dword [ebp], eax
call fcn.004835e0
mov eax, dword [ebp]
lea ecx, [eax + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x54]
push 0
call edx
movzx ecx, word [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
push 1
sub edx, ecx
push 0
push edx
mov ecx, esi
call eax
test eax, eax
je 0x485660
push str.Could_not_seek_while_skipping_deleted_record
push 1
call fcn.004438d0
add esp, 8
mov eax, 0xfffffffe
jmp 0x485662
test al, 0x10
push 0xc0
je 0x485333
call fcn.00487d37
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x4284], 1
je 0x48532f
push ebx
mov ecx, eax
call fcn.00485e10
jmp 0x485362
xor eax, eax
jmp 0x485362
call fcn.00487d37
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x4284], 2
je 0x48535c
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, eax
call fcn.00484690
jmp 0x48535e
xor eax, eax
mov ebx, dword [esp + 0x20]
cmp byte [esp + 0x276], 1
mov dword [ebp], eax
mov eax, dword [esp + 0x270]
sete dl
lea ecx, [esp + 0x38]
mov dword [esp + 0x4284], 0xffffffff
push edx
push eax
push ecx
mov ecx, dword [ebp]
call fcn.00484aa0
test eax, eax
je 0x4853b5
mov ecx, dword [ebp]
test ecx, ecx
je 0x4853a4
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [ebp], 0
mov eax, 0xfffffffe
jmp 0x485662
mov eax, dword [ebp]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x78], ecx
mov dword [eax + 0x7c], edx
cmp dword [esp + 0x54], 0
mov byte [esp + 0x276], 0
je 0x485660
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 0xa
push 1
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call edx
cmp eax, 0xa
jne 0x4854d6
mov al, byte [esp + 0x14]
cmp al, 2
je 0x485471
cmp al, 0x15
je 0x485471
cmp byte [esp + 0x4294], 0
je 0x485505
mov ecx, dword [ebx + 0x38]
cmp word [ecx + 0x280], 0x190
mov al, 0xca
jb 0x485420
mov al, 0x2f
movsx edi, al
mov edx, dword [esi]
mov edx, dword [edx + 4]
push 0x4000
push 1
lea eax, [esp + 0x280]
push eax
mov ecx, esi
call edx
push 0x4000
lea eax, [esp + 0x27c]
push edi
push eax
call fcn.004b7520
add esp, 0xc
test eax, eax
je 0x485423
mov edi, dword [esi]
lea ecx, [esp + 0x4278]
sub eax, ecx
sub eax, 6
cdq
push 1
push edx
mov edx, dword [edi + 0x10]
push eax
mov ecx, esi
call edx
jmp 0x4854bb
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
call edx
test edx, edx
jl 0x485496
jg 0x485487
cmp eax, 0x7fff0000
jbe 0x485496
push str.About_to_exceed_2_Gb
push 1
call fcn.004438d0
add esp, 8
movzx eax, word [esp + 0x1c]
mov edi, dword [esi]
cdq
push 1
push edx
push eax
mov eax, dword [edi + 0x10]
mov ecx, esi
call eax
test eax, eax
jne 0x485542
cmp byte [esp + 0x15], al
jne 0x48557d
mov edx, dword [esi]
mov edx, dword [edx + 4]
push 0xa
push 1
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call edx
cmp eax, 0xa
je 0x4853f4
mov ecx, dword [ebp]
test ecx, ecx
je 0x4854e5
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
push str.EOF_reading_packet_header__2_
push 1
mov dword [ebp], 0
call fcn.004438d0
add esp, 8
mov eax, 0xfffffffe
jmp 0x485662
mov ecx, dword [ebp]
test ecx, ecx
je 0x485518
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov al, byte [esp + 0x14]
movzx ecx, byte [esp + 0x15]
push ecx
movzx edx, al
push edx
push str.Invalid_header__2___type__d_subtype__d
push 1
mov dword [ebp], 0
call fcn.004438d0
add esp, 0x10
mov eax, 0xfffffffe
jmp 0x485662
mov ecx, dword [ebp]
test ecx, ecx
je 0x485551
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
movzx eax, word [esp + 0x1c]
movzx ecx, byte [esp + 0x14]
push eax
push ecx
push str.EOF_seeking_over_data_block__type__d_length__d
push 1
mov dword [ebp], 0
call fcn.004438d0
add esp, 0x10
mov eax, 0xfffffffe
jmp 0x485662
mov ecx, ebx
call fcn.00446ba0
test al, al
je 0x485660
mov edx, dword [esi]
mov edx, dword [edx + 4]
push 0xa
push 1
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call edx
cmp eax, 0xa
je 0x4855d2
mov ecx, dword [ebp]
test ecx, ecx
je 0x4855b2
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
push str.EOF_reading_CRC_packet_header
push 1
mov dword [ebp], 0
call fcn.004438d0
add esp, 8
mov eax, 0xfffffffe
jmp 0x485662
cmp byte [esp + 0x14], 3
je 0x485611
mov ecx, dword [ebp]
test ecx, ecx
je 0x4855e8
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
movzx eax, byte [esp + 0x15]
movzx ecx, byte [esp + 0x14]
push eax
push ecx
push str.Invalid_CRC_header__type__d_subtype__d
push 1
mov dword [ebp], 0
call fcn.004438d0
add esp, 0x10
mov eax, 0xfffffffe
jmp 0x485662
movzx eax, word [esp + 0x1c]
mov edi, dword [esi]
cdq
push 1
push edx
mov edx, dword [edi + 0x10]
push eax
mov ecx, esi
call edx
test eax, eax
je 0x485660
mov ecx, dword [ebp]
test ecx, ecx
je 0x485637
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
movzx eax, word [esp + 0x1c]
movzx ecx, byte [esp + 0x14]
push eax
push ecx
push str.EOF_seeking_over_CRC_block__type__d_length__d
push 1
mov dword [ebp], 0
call fcn.004438d0
add esp, 0x10
mov eax, 0xfffffffe
jmp 0x485662
xor eax, eax
mov ecx, dword [esp + 0x427c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4264]
xor ecx, esp
call fcn.004b596a
add esp, 0x4274
ret