Function at 0x4f8cc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x6d005c]
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 0x4f9491
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 0x4f8d57
cmp dword [ebp - 0xf0], 0x6111101
jne 0x4f8d57
push 0
lea edx, [ebp - 0xec]
push edx
push 4
lea eax, [ebp - 0xf8]
push eax
push esi
call edi
test eax, eax
je 0x4f8d57
mov ecx, dword [ebp - 0xf8]
cmp ecx, dword [0x70a648]
je 0x4f8d71
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.0057a0a3
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 0x4f8d58
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1dc
mov ecx, 0x6df860
call fcn.00441d20
cmp dword [ebx + 0x1a], 0
mov esi, eax
je 0x4f8dcb
mov eax, dword [ebp - 0xdc]
xor ecx, ecx
cmp dword [esi + 0xe], eax
setne cl
test cl, 1
je 0x4f8dcb
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 + 0x1fa]
push edx
mov ecx, ebx
call fcn.004f8c80
test eax, eax
je 0x4f8dfc
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, 0x6df860
call fcn.00441d20
cmp dword [ebx + 0x1a], 0
mov esi, eax
je 0x4f8e32
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 + 0x1e], eax
mov edi, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc4]
push edi
push ecx
lea edx, [esi + 0x1fa]
push edx
mov ecx, ebx
call fcn.004f8c80
test eax, eax
je 0x4f8e63
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, 0x6df860
call fcn.00441d20
mov edi, dword [ebp - 0xb0]
mov esi, eax
mov eax, dword [ebp - 0xb4]
push edi
push eax
lea ecx, [esi + 0x1fa]
push ecx
mov ecx, ebx
call fcn.004f8c80
test eax, eax
je 0x4f8ea5
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 + 0x1be]
call fcn.0057aa60
cmp eax, 0x3d1
jne 0x4f8edc
fld dword [esi + 0x1c2]
call fcn.0057aa60
cmp eax, 0xbb
jne 0x4f8edc
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
push 0xd1
push 0x3d1
mov ecx, esi
call edx
cmp dword [ebx + 0x1a], 0
je 0x4f8f25
mov eax, dword [ebp - 0xac]
xor ecx, ecx
cmp dword [esi + 0xe], eax
setne cl
test cl, 1
je 0x4f8f08
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 0x4f8f10
push 1
jmp 0x4f8f1e
test al, 8
je 0x4f8f18
push 2
jmp 0x4f8f1e
test al, 0x10
je 0x4f8f25
push 3
mov ecx, esi
call fcn.00468d00
push 0xf1
mov ecx, 0x6df860
call fcn.00441d20
cmp dword [ebx + 0x1a], 0
mov esi, eax
mov eax, dword [ebp - 0x9c]
je 0x4f8f62
xor ecx, ecx
cmp dword [esi + 0xe], eax
setne cl
test cl, 1
je 0x4f8f62
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.0044b9e0
mov edi, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0xa4]
push edi
push ebx
lea ecx, [esi + 0x1fa]
push ecx
mov ecx, dword [ebp - 0xe8]
call fcn.004f8c80
test eax, eax
je 0x4f8f9c
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push edi
push ebx
mov ecx, esi
call eax
fld dword [esi + 0x1be]
call fcn.0057aa60
cmp eax, 0x1d0
jne 0x4f8fcf
fld dword [esi + 0x1c2]
call fcn.0057aa60
cmp eax, 0x2d6
jne 0x4f8fcf
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x24]
push 0x1a6
mov ecx, esi
call eax
push 0x131
mov ecx, 0x6df860
call fcn.00441d20
mov edi, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x94]
push edi
mov esi, eax
push ebx
lea ecx, [esi + 0x1fa]
push ecx
mov ecx, dword [ebp - 0xe8]
call fcn.004f8c80
test eax, eax
je 0x4f900f
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 + 0x1a], 0
je 0x4f90b1
mov eax, dword [ebp - 0x8c]
xor edx, edx
cmp dword [esi + 0xe], eax
setne dl
test dl, 1
je 0x4f9045
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 0x4f904d
push 1
jmp 0x4f905b
test al, 8
je 0x4f9055
push 2
jmp 0x4f905b
test al, 0x10
je 0x4f9062
push 4
mov ecx, esi
call fcn.004cffd0
mov ebx, dword [ebp - 0x88]
mov ecx, esi
call fcn.004cfb40
movzx edi, al
cmp ebx, edi
je 0x4f909c
push 0x40
mov ecx, esi
push 0
cmp ebx, edi
jle 0x4f908d
push 0x13f
call fcn.004d0330
inc edi
jmp 0x4f9098
push 0x140
call fcn.004d0330
dec edi
cmp edi, ebx
jne 0x4f9076
test dword [ebp - 0x8c], 0x100
jne 0x4f90b1
push 0
mov ecx, esi
call fcn.004cfba0
push 0x68a
mov ecx, 0x6df860
call fcn.00441d20
test eax, eax
je 0x4f90e6
mov ecx, dword [ebp - 0xe8]
cmp dword [ecx + 0x1a], 0
je 0x4f90e6
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, 0x6df860
call fcn.00441d20
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 + 0x1fa]
push eax
call fcn.004f8c80
test eax, eax
je 0x4f9123
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 + 0x1a], 0
je 0x4f916e
mov eax, dword [ebp - 0x7c]
xor ecx, ecx
cmp dword [esi + 0xe], eax
setne cl
test cl, 1
je 0x4f914f
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 0x4f9157
push 1
jmp 0x4f9165
test al, 8
je 0x4f915f
push 2
jmp 0x4f9165
test al, 0x10
je 0x4f916e
push 3
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
push 0x60
mov ecx, 0x6df860
call fcn.00441d20
cmp dword [edi + 0x1a], 0
mov esi, eax
je 0x4f919f
mov eax, dword [ebp - 0x6c]
xor ecx, ecx
cmp dword [esi + 0xe], eax
setne cl
test cl, 1
je 0x4f919f
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 + 0x1fa]
push ecx
mov ecx, dword [ebp - 0xe8]
call fcn.004f8c80
test eax, eax
je 0x4f91c8
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push edi
push ebx
mov ecx, esi
call eax
push 0xcb
mov ecx, 0x6df860
call fcn.00441d20
mov edi, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x64]
push edi
mov esi, eax
push ebx
lea ecx, [esi + 0x1fa]
push ecx
mov ecx, dword [ebp - 0xe8]
call fcn.004f8c80
test eax, eax
je 0x4f9202
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 + 0x1a], 0
je 0x4f9272
mov eax, dword [ebp - 0x58]
mov edx, dword [esi + 0x21e]
mov dword [edx + 0x2a0], eax
mov eax, dword [ebp - 0x5c]
xor ecx, ecx
cmp dword [esi + 0xe], eax
setne cl
test cl, 1
je 0x4f923d
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 0x4f9272
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 0x4f9257
push 1
jmp 0x4f9265
test al, 0x40
je 0x4f925f
push 2
jmp 0x4f9265
test al, al
jns 0x4f9272
push 3
mov ecx, dword [0x6d2294]
mov edx, dword [ecx]
mov eax, dword [edx + 0x68]
call eax
push 0x340
mov ecx, 0x6df860
call fcn.00441d20
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x54]
push edi
mov esi, eax
push ebx
lea ecx, [esi + 0x1fa]
push ecx
mov ecx, dword [ebp - 0xe8]
call fcn.004f8c80
test eax, eax
je 0x4f92ac
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 + 0x1a], 0
je 0x4f92f7
mov eax, dword [ebp - 0x4c]
xor edx, edx
cmp dword [esi + 0xe], eax
setne dl
test dl, 1
je 0x4f92d8
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 0x4f92e0
push 1
jmp 0x4f92ee
test al, 8
je 0x4f92e8
push 2
jmp 0x4f92ee
test al, 0x10
je 0x4f92f7
push 3
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
push 0x5ca
mov ecx, 0x6df860
call fcn.00441d20
mov edi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x44]
push edi
mov esi, eax
push ebx
lea ecx, [esi + 0x1fa]
push ecx
mov ecx, dword [ebp - 0xe8]
call fcn.004f8c80
test eax, eax
je 0x4f9331
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 + 0x1a], 0
je 0x4f935a
mov eax, dword [ebp - 0x3c]
xor edx, edx
cmp dword [esi + 0xe], eax
setne dl
test dl, 1
je 0x4f935a
mov edx, dword [esi]
and eax, 1
push eax
mov eax, dword [edx + 8]
mov ecx, esi
call eax
push 0x563
mov ecx, 0x6df860
call fcn.00441d20
mov esi, eax
test esi, esi
je 0x4f93c1
mov edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
push edi
push ebx
lea ecx, [esi + 0x1fa]
push ecx
mov ecx, dword [ebp - 0xe8]
call fcn.004f8c80
test eax, eax
je 0x4f9398
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 + 0x1a], 0
je 0x4f93c1
mov eax, dword [ebp - 0x2c]
xor edx, edx
cmp dword [esi + 0xe], eax
setne dl
test dl, 1
je 0x4f93c1
mov edx, dword [esi]
and eax, 1
push eax
mov eax, dword [edx + 8]
mov ecx, esi
call eax
push 0x20d
mov ecx, 0x6df860
call fcn.00441d20
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
push edi
mov esi, eax
push ebx
lea ecx, [esi + 0x1fa]
push ecx
mov ecx, dword [ebp - 0xe8]
call fcn.004f8c80
test eax, eax
je 0x4f93fb
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 + 0x1a], 0
je 0x4f9433
test byte [ebp - 0x1c], 1
mov ecx, 0x6d2330
je 0x4f9416
push 0
jmp 0x4f9418
push 1
call fcn.00470f70
test byte [ebp - 0x18], 1
mov ecx, 0x6d2330
je 0x4f942c
push 0
jmp 0x4f942e
push 1
call fcn.00470f90
mov eax, dword [ebp - 8]
mov dword [ebp - 0xf4], eax
mov ecx, 0x6df860
test eax, eax
jne 0x4f944c
push 0x747
jmp 0x4f9451
push 0x75a
call fcn.00441d20
mov esi, eax
test esi, esi
je 0x4f9490
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xe8]
push edi
push ebx
lea edx, [esi + 0x1fa]
push edx
call fcn.004f8c80
test eax, eax
je 0x4f9485
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 [0x6ee738], eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0057a0a3
mov esp, ebp
pop ebp
ret 4