Function at 0x4f9600
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x6c0558]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov ebx, ecx
push eax
mov dword [ebp - 0xe8], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4f9dd1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0xec]
push eax
push 4
lea ecx, [ebp - 0xf0]
push ecx
push esi
call edi
test eax, eax
je 0x4f9697
cmp dword [ebp - 0xf0], 0x6111101
jne 0x4f9697
push 0
lea edx, [ebp - 0xec]
push edx
push 4
lea eax, [ebp - 0xf8]
push eax
push esi
call edi
test eax, eax
je 0x4f9697
mov ecx, dword [ebp - 0xf8]
cmp ecx, dword [0x6f1fa4]
je 0x4f96b1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ad52
mov esp, ebp
pop ebp
ret 4
push 0
lea edx, [ebp - 0xec]
push edx
push 0xe0
lea eax, [ebp - 0xe4]
push eax
push esi
call edi
push esi
test eax, eax
je 0x4f9698
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1dc
mov ecx, 0x6b1410
call fcn.00441400
cmp dword [ebx + 0x1c], 0
mov esi, eax
je 0x4f970b
mov eax, dword [ebp - 0xdc]
xor ecx, ecx
cmp dword [esi + 0x10], eax
setne cl
test cl, 1
je 0x4f970b
mov edx, dword [esi]
and eax, 1
push eax
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edi, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xe4]
push edi
push ecx
lea edx, [esi + 0x200]
push edx
mov ecx, ebx
call fcn.004f95c0
test eax, eax
je 0x4f973c
mov ecx, dword [ebp - 0xe4]
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
push edi
push ecx
mov ecx, esi
call edx
push 0x53b
mov ecx, 0x6b1410
call fcn.00441400
cmp dword [ebx + 0x1c], 0
mov esi, eax
je 0x4f9772
mov ecx, dword [ebp - 0xbc]
mov eax, dword [esi]
mov edx, dword [eax + 8]
and ecx, 1
push ecx
mov ecx, esi
call edx
mov eax, dword [ebp - 0xbc]
and eax, 1
mov dword [ebx + 0x20], eax
mov edi, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc4]
push edi
push ecx
lea edx, [esi + 0x200]
push edx
mov ecx, ebx
call fcn.004f95c0
test eax, eax
je 0x4f97a3
mov ecx, dword [ebp - 0xc4]
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
push edi
push ecx
mov ecx, esi
call edx
push 0x1d4
mov ecx, 0x6b1410
call fcn.00441400
mov edi, dword [ebp - 0xb0]
mov esi, eax
mov eax, dword [ebp - 0xb4]
push edi
push eax
lea ecx, [esi + 0x200]
push ecx
mov ecx, ebx
call fcn.004f95c0
test eax, eax
je 0x4f97e5
mov edx, dword [esi]
mov eax, dword [ebp - 0xb4]
mov edx, dword [edx + 0x24]
push edi
push eax
mov ecx, esi
call edx
fld dword [esi + 0x1c4]
call fcn.0057ad70
cmp eax, 0x3d1
jne 0x4f981c
fld dword [esi + 0x1c8]
call fcn.0057ad70
cmp eax, 0xbb
jne 0x4f981c
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
push 0xd1
push 0x3d1
mov ecx, esi
call edx
cmp dword [ebx + 0x1c], 0
je 0x4f9865
mov eax, dword [ebp - 0xac]
xor ecx, ecx
cmp dword [esi + 0x10], eax
setne cl
test cl, 1
je 0x4f9848
mov edx, dword [esi]
and eax, 1
push eax
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, dword [ebp - 0xac]
test al, 4
je 0x4f9850
push 1
jmp 0x4f985e
test al, 8
je 0x4f9858
push 2
jmp 0x4f985e
test al, 0x10
je 0x4f9865
push 3
mov ecx, esi
call fcn.00469d70
push 0xf1
mov ecx, 0x6b1410
call fcn.00441400
cmp dword [ebx + 0x1c], 0
mov esi, eax
mov eax, dword [ebp - 0x9c]
je 0x4f98a2
xor ecx, ecx
cmp dword [esi + 0x10], eax
setne cl
test cl, 1
je 0x4f98a2
mov edx, dword [esi]
and eax, 1
push eax
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, dword [ebp - 0x9c]
and eax, 2
push eax
mov ecx, esi
call fcn.0044c640
mov edi, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0xa4]
push edi
push ebx
lea ecx, [esi + 0x200]
push ecx
mov ecx, dword [ebp - 0xe8]
call fcn.004f95c0
test eax, eax
je 0x4f98dc
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push edi
push ebx
mov ecx, esi
call eax
fld dword [esi + 0x1c4]
call fcn.0057ad70
cmp eax, 0x1d0
jne 0x4f990f
fld dword [esi + 0x1c8]
call fcn.0057ad70
cmp eax, 0x2d6
jne 0x4f990f
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x24]
push 0x1a6
mov ecx, esi
call eax
push 0x131
mov ecx, 0x6b1410
call fcn.00441400
mov edi, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x94]
push edi
mov esi, eax
push ebx
lea ecx, [esi + 0x200]
push ecx
mov ecx, dword [ebp - 0xe8]
call fcn.004f95c0
test eax, eax
je 0x4f994f
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push edi
push ebx
mov ecx, esi
call eax
mov ecx, dword [ebp - 0xe8]
cmp dword [ecx + 0x1c], 0
je 0x4f99f1
mov eax, dword [ebp - 0x8c]
xor edx, edx
cmp dword [esi + 0x10], eax
setne dl
test dl, 1
je 0x4f9985
mov edx, dword [esi]
and eax, 1
push eax
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, dword [ebp - 0x8c]
test al, 4
je 0x4f998d
push 1
jmp 0x4f999b
test al, 8
je 0x4f9995
push 2
jmp 0x4f999b
test al, 0x10
je 0x4f99a2
push 4
mov ecx, esi
call fcn.004d0ee0
mov ebx, dword [ebp - 0x88]
mov ecx, esi
call fcn.004d0a00
movzx edi, al
cmp ebx, edi
je 0x4f99dc
push 0x40
mov ecx, esi
push 0
cmp ebx, edi
jle 0x4f99cd
push 0x13f
call fcn.004d1360
inc edi
jmp 0x4f99d8
push 0x140
call fcn.004d1360
dec edi
cmp edi, ebx
jne 0x4f99b6
test dword [ebp - 0x8c], 0x100
jne 0x4f99f1
push 0
mov ecx, esi
call fcn.004d0a60
push 0x68a
mov ecx, 0x6b1410
call fcn.00441400
test eax, eax
je 0x4f9a26
mov ecx, dword [ebp - 0xe8]
cmp dword [ecx + 0x1c], 0
je 0x4f9a26
mov ecx, dword [ebp - 0x8c]
mov edx, dword [eax]
mov edx, dword [edx + 8]
and ecx, 0x100
push ecx
mov ecx, eax
call edx
push 0xf7
mov ecx, 0x6b1410
call fcn.00441400
mov edi, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xe8]
push edi
mov esi, eax
push ebx
lea eax, [esi + 0x200]
push eax
call fcn.004f95c0
test eax, eax
je 0x4f9a63
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push edi
push ebx
mov ecx, esi
call eax
mov edi, dword [ebp - 0xe8]
cmp dword [edi + 0x1c], 0
je 0x4f9aae
mov eax, dword [ebp - 0x7c]
xor ecx, ecx
cmp dword [esi + 0x10], eax
setne cl
test cl, 1
je 0x4f9a8f
mov edx, dword [esi]
and eax, 1
push eax
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, dword [ebp - 0x7c]
test al, 4
je 0x4f9a97
push 1
jmp 0x4f9aa5
test al, 8
je 0x4f9a9f
push 2
jmp 0x4f9aa5
test al, 0x10
je 0x4f9aae
push 3
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
push 0x60
mov ecx, 0x6b1410
call fcn.00441400
cmp dword [edi + 0x1c], 0
mov esi, eax
je 0x4f9adf
mov eax, dword [ebp - 0x6c]
xor ecx, ecx
cmp dword [esi + 0x10], eax
setne cl
test cl, 1
je 0x4f9adf
mov edx, dword [esi]
and eax, 1
push eax
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edi, dword [ebp - 0x70]
mov ebx, dword [ebp - 0x74]
push edi
push ebx
lea ecx, [esi + 0x200]
push ecx
mov ecx, dword [ebp - 0xe8]
call fcn.004f95c0
test eax, eax
je 0x4f9b08
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push edi
push ebx
mov ecx, esi
call eax
push 0xcb
mov ecx, 0x6b1410
call fcn.00441400
mov edi, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x64]
push edi
mov esi, eax
push ebx
lea ecx, [esi + 0x200]
push ecx
mov ecx, dword [ebp - 0xe8]
call fcn.004f95c0
test eax, eax
je 0x4f9b42
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push edi
push ebx
mov ecx, esi
call eax
mov ecx, dword [ebp - 0xe8]
cmp dword [ecx + 0x1c], 0
je 0x4f9bb2
mov eax, dword [ebp - 0x58]
mov edx, dword [esi + 0x224]
mov dword [edx + 0x2a8], eax
mov eax, dword [ebp - 0x5c]
xor ecx, ecx
cmp dword [esi + 0x10], eax
setne cl
test cl, 1
je 0x4f9b7d
mov edx, dword [esi]
and eax, 1
push eax
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, dword [ebp - 0x5c]
test al, 4
je 0x4f9bb2
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
push 1
mov ecx, esi
call eax
mov al, byte [ebp - 0x5c]
test al, 0x20
je 0x4f9b97
push 1
jmp 0x4f9ba5
test al, 0x40
je 0x4f9b9f
push 2
jmp 0x4f9ba5
test al, al
jns 0x4f9bb2
push 3
mov ecx, dword [0x6c277c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x68]
call eax
push 0x340
mov ecx, 0x6b1410
call fcn.00441400
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x54]
push edi
mov esi, eax
push ebx
lea ecx, [esi + 0x200]
push ecx
mov ecx, dword [ebp - 0xe8]
call fcn.004f95c0
test eax, eax
je 0x4f9bec
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push edi
push ebx
mov ecx, esi
call eax
mov ecx, dword [ebp - 0xe8]
cmp dword [ecx + 0x1c], 0
je 0x4f9c37
mov eax, dword [ebp - 0x4c]
xor edx, edx
cmp dword [esi + 0x10], eax
setne dl
test dl, 1
je 0x4f9c18
mov edx, dword [esi]
and eax, 1
push eax
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, dword [ebp - 0x4c]
test al, 4
je 0x4f9c20
push 1
jmp 0x4f9c2e
test al, 8
je 0x4f9c28
push 2
jmp 0x4f9c2e
test al, 0x10
je 0x4f9c37
push 3
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
push 0x5ca
mov ecx, 0x6b1410
call fcn.00441400
mov edi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x44]
push edi
mov esi, eax
push ebx
lea ecx, [esi + 0x200]
push ecx
mov ecx, dword [ebp - 0xe8]
call fcn.004f95c0
test eax, eax
je 0x4f9c71
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push edi
push ebx
mov ecx, esi
call eax
mov ecx, dword [ebp - 0xe8]
cmp dword [ecx + 0x1c], 0
je 0x4f9c9a
mov eax, dword [ebp - 0x3c]
xor edx, edx
cmp dword [esi + 0x10], eax
setne dl
test dl, 1
je 0x4f9c9a
mov edx, dword [esi]
and eax, 1
push eax
mov eax, dword [edx + 8]
mov ecx, esi
call eax
push 0x563
mov ecx, 0x6b1410
call fcn.00441400
mov esi, eax
test esi, esi
je 0x4f9d01
mov edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
push edi
push ebx
lea ecx, [esi + 0x200]
push ecx
mov ecx, dword [ebp - 0xe8]
call fcn.004f95c0
test eax, eax
je 0x4f9cd8
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push edi
push ebx
mov ecx, esi
call eax
mov ecx, dword [ebp - 0xe8]
cmp dword [ecx + 0x1c], 0
je 0x4f9d01
mov eax, dword [ebp - 0x2c]
xor edx, edx
cmp dword [esi + 0x10], eax
setne dl
test dl, 1
je 0x4f9d01
mov edx, dword [esi]
and eax, 1
push eax
mov eax, dword [edx + 8]
mov ecx, esi
call eax
push 0x20d
mov ecx, 0x6b1410
call fcn.00441400
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
push edi
mov esi, eax
push ebx
lea ecx, [esi + 0x200]
push ecx
mov ecx, dword [ebp - 0xe8]
call fcn.004f95c0
test eax, eax
je 0x4f9d3b
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push edi
push ebx
mov ecx, esi
call eax
mov ecx, dword [ebp - 0xe8]
cmp dword [ecx + 0x1c], 0
je 0x4f9d73
test byte [ebp - 0x1c], 1
mov ecx, 0x6c2818
je 0x4f9d56
push 0
jmp 0x4f9d58
push 1
call fcn.004722e0
test byte [ebp - 0x18], 1
mov ecx, 0x6c2818
je 0x4f9d6c
push 0
jmp 0x4f9d6e
push 1
call fcn.00472300
mov eax, dword [ebp - 8]
mov dword [ebp - 0xf4], eax
mov ecx, 0x6b1410
test eax, eax
jne 0x4f9d8c
push 0x747
jmp 0x4f9d91
push 0x75a
call fcn.00441400
mov esi, eax
test esi, esi
je 0x4f9dd0
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xe8]
push edi
push ebx
lea edx, [esi + 0x200]
push edx
call fcn.004f95c0
test eax, eax
je 0x4f9dc5
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
push edi
push ebx
mov ecx, esi
call edx
mov eax, dword [ebp - 0xf4]
mov dword [0x6d6808], eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0057ad52
mov esp, ebp
pop ebp
ret 4