Function at 0x10008af0
Capabilities:
Read file on windows

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
push 0x1389
xor ebp, ebp
lea edi, [esi + 0x3209]
push ebp
push edi
call fcn.10013630
push 0xc9
lea eax, [esi + 0x5d25]
push ebp
push eax
call fcn.10013630
push 0x401
lea eax, [esi + 0x5dee]
push ebp
push eax
call fcn.10013630
add esp, 0x24
cmp dword [esi + 0x3168], ebp
jne 0x10008b40
mov dword [esi + 0x318c], ebp
mov ecx, dword [esi + 0x3140]
push ecx
call fcn.100179fa
add esp, 4
mov dword [esi + 0x3134], eax
cmp eax, 0xffffffff
jne 0x10008b69
call fcn.1000cfe0
mov eax, dword [eax]
cmp eax, ebp
jne 0x10008d8e
mov edx, dword [esi + 0x3140]
push ebp
push ebp
push edx
call fcn.10016cec
add esp, 0xc
cmp eax, 0xffffffff
jne 0x10008b8e
call fcn.1000cfe0
mov eax, dword [eax]
cmp eax, ebp
jne 0x10008d8e
mov eax, dword [esi + 0x3140]
push ebx
push 0x60
lea ebx, [esi + 0x31a9]
push ebx
push eax
call fcn.10016b7a
add esp, 0xc
cmp eax, 0xffffffff
jne 0x10008bbb
call fcn.1000cfe0
mov eax, dword [eax]
cmp eax, ebp
jne 0x10008d8d
mov eax, dword [esi + 0x3134]
cmp eax, ebp
jg 0x10008bcf
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
ret
cmp eax, 0x1388
push esi
jl 0x10008c0b
add eax, 0xffffec78
push eax
mov dword [esi + 0x591c], eax
call fcn.1000bb20
add esp, 8
cmp eax, ebp
jne 0x10008d8d
push esi
push edi
push 0x1388
call fcn.1000bb50
add esp, 0xc
cmp eax, ebp
je 0x10008c3c
pop ebx
pop edi
pop esi
pop ebp
ret
push ebp
mov dword [esi + 0x591c], ebp
call fcn.1000bb20
add esp, 8
cmp eax, ebp
jne 0x10008d8d
movzx ecx, word [esi + 0x3134]
push esi
push edi
push ecx
call fcn.1000bb50
add esp, 0xc
cmp eax, ebp
jne 0x10008d8d
movzx ecx, word [esi + 0x31b1]
mov edx, dword [esi + 0x31e5]
movzx eax, word [esi + 0x31bf]
add eax, ecx
mov dword [esi + 0x3148], edx
movzx edx, word [esi + 0x31bd]
shl eax, 4
add eax, edx
mov dword [esi + 0x5920], eax
movzx eax, word [ebx]
mov ecx, 0x4d5a
mov edi, 1
mov dword [esi + 0x3154], ebp
mov dword [esi + 0x3158], ebp
mov dword [esi + 0x315c], ebp
mov dword [esi + 0x3160], edi
cmp ax, cx
je 0x10008c9e
mov edx, 0x5a4d
cmp ax, dx
jne 0x10008cc4
mov ebx, esi
mov dword [esi + 0x3160], ebp
mov dword [esi + 0x3158], edi
call fcn.10008710
mov dword [esi + 0x3154], eax
cmp eax, ebp
je 0x10008cc4
push esi
call fcn.10008df0
add esp, 4
cmp dword [esi + 0x31a9], 0xe011cfd0
jne 0x10008ce2
cmp dword [esi + 0x31ad], 0xe11ab1a1
jne 0x10008ce2
mov dword [esi + 0x315c], edi
cmp dword [esi + 0x3154], ebp
je 0x10008d83
mov eax, dword [esi + 0x314c]
push esi
push eax
call fcn.100086d0
push esi
push eax
call fcn.1000bb20
mov edi, eax
add esp, 0x10
cmp edi, ebp
jne 0x10008d26
push esi
lea ecx, [esi + 0x5924]
push ecx
push 0x400
call fcn.1000bb50
mov edi, eax
add esp, 0xc
cmp edi, ebp
je 0x10008d3b
push 0x401
lea edx, [esi + 0x5924]
push ebp
push edx
call fcn.10013630
add esp, 0xc
mov eax, dword [esi + 0x314c]
push esi
push eax
call fcn.10009030
push esi
push eax
call fcn.1000bb20
mov ebx, eax
add esp, 0x10
cmp ebx, ebp
jne 0x10008d6f
push esi
lea eax, [esi + 0x5dee]
push eax
push 0x400
call fcn.1000bb50
add esp, 0xc
mov ebx, eax
call fcn.100089c0
cmp edi, ebp
je 0x10008d83
cmp ebx, ebp
je 0x10008d83
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret
push esi
push ebp
call fcn.1000bb20
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
ret