Function at 0x438ed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
mov esi, eax
cmp byte [esi + 0x12828], 0
push edi
jne 0x438f05
mov ecx, dword [esi + 4]
push ecx
push 1
lea eax, [esi + 0xc]
push 4
push eax
call fcn.0047ed9f
add esp, 0x10
cmp eax, 1
jae 0x438f34
jmp fcn.00437b20
cmp dword [esi + 0x12844], 4
jae 0x438f13
jmp fcn.00437b20
mov eax, dword [esi + 0x12848]
mov edx, dword [esi + 0x12840]
mov ecx, dword [eax + edx]
add eax, 4
mov dword [esi + 0xc], ecx
mov dword [esi + 0x1283c], ecx
mov dword [esi + 0x12848], eax
cmp dword [esi + 0xc], 0
je 0x439125
call fcn.004386c0
mov edx, esi
call fcn.00437ec0
push 0xfc4
lea eax, [esi + 0x18]
push 0x20
push eax
call fcn.0047fa50
add esp, 0xc
cmp dword [esi + 0xc], 0
mov dword [esp + 0x10], 0xfc4
mov dword [esp + 0x14], 0
jbe 0x439125
call fcn.00438740
mov ebx, eax
cmp ebx, 0x100
jge 0x43901e
cmp byte [esi + 0x12828], 0
jne 0x438fa2
mov eax, dword [esi + 8]
push eax
push ebx
call fcn.0047c276
add esp, 8
jmp 0x439000
mov eax, dword [esi + 0x12830]
test eax, eax
lea edi, [esi + 0x1282c]
mov byte [esp + 0xf], bl
jne 0x438fba
xor edx, edx
jmp 0x438fbf
mov edx, dword [edi + 8]
sub edx, eax
test eax, eax
je 0x438fd9
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x438fd9
mov eax, dword [edi + 8]
mov byte [eax], bl
add eax, 1
mov dword [edi + 8], eax
jmp 0x439000
mov ecx, dword [edi + 8]
cmp eax, ecx
mov dword [esp + 0x1c], ecx
jbe 0x438fed
call fcn.0047be2e
mov ecx, dword [esp + 0x1c]
push ecx
push edi
lea ecx, [esp + 0x17]
push ecx
lea edx, [esp + 0x34]
push edx
mov eax, edi
call fcn.00439500
mov eax, dword [esp + 0x10]
mov byte [esi + eax + 0x18], bl
add eax, 1
and eax, 0xfff
add dword [esp + 0x14], 1
mov dword [esp + 0x10], eax
jmp 0x439109
mov eax, esi
call fcn.004388d0
mov edi, dword [esp + 0x10]
sub edi, eax
sub edi, 1
add ebx, 0xffffff03
and edi, 0xfff
test ebx, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], 0
jle 0x439109
add dword [esp + 0x14], ebx
mov eax, dword [esp + 0x18]
add eax, edi
and eax, 0xfff
cmp byte [esi + 0x12828], 0
movzx ebx, byte [eax + esi + 0x18]
jne 0x43907e
mov ecx, dword [esi + 8]
push ecx
push ebx
call fcn.0047c276
add esp, 8
jmp 0x4390e0
mov eax, dword [esi + 0x12830]
test eax, eax
lea edi, [esi + 0x1282c]
mov byte [esp + 0xf], bl
jne 0x439096
xor edx, edx
jmp 0x43909b
mov edx, dword [edi + 8]
sub edx, eax
test eax, eax
je 0x4390b5
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x4390b5
mov eax, dword [edi + 8]
mov byte [eax], bl
add eax, 1
mov dword [edi + 8], eax
jmp 0x4390dc
mov ecx, dword [edi + 8]
cmp eax, ecx
mov dword [esp + 0x20], ecx
jbe 0x4390c9
call fcn.0047be2e
mov ecx, dword [esp + 0x20]
push ecx
push edi
lea edx, [esp + 0x17]
push edx
lea eax, [esp + 0x3c]
push eax
mov eax, edi
call fcn.00439500
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov byte [esi + eax + 0x18], bl
add eax, 1
and eax, 0xfff
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
jl 0x439056
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jbe 0x43911c
add eax, 0x400
mov dword [esi + 0x14], eax
cmp ecx, dword [esi + 0xc]
jb 0x438f77
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret