Function at 0x46bb70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4efa43
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x7c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x502070
mov eax, dword [ebp + 8]
push eax
call fcn.0048fcc0
add esp, 8
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x46bbbf
mov eax, 1
jmp 0x46be1f
push 2
push 0xffffff74
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.0044bc7a
add esp, 0xc
test eax, eax
je 0x46bbec
mov edx, dword [ebp - 0x70]
push edx
call fcn.0044d95c
add esp, 4
mov eax, 0xa
jmp 0x46be1f
mov eax, dword [ebp - 0x70]
push eax
call fcn.0044d3e3
add esp, 4
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x68], 0
jmp 0x46bc10
mov ecx, dword [ebp - 0x68]
add ecx, 1
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp + 0x18]
add edx, dword [ebp - 0x68]
movsx eax, byte [edx]
test eax, eax
je 0x46bc4e
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.0044f79d
add esp, 4
mov edx, dword [ebp + 0x18]
add edx, dword [ebp - 0x68]
movsx ecx, byte [edx]
cmp eax, ecx
je 0x46bc4c
mov edx, dword [ebp - 0x70]
push edx
call fcn.0044d95c
add esp, 4
mov eax, 0xb
jmp 0x46be1f
jmp 0x46bc07
lea eax, [ebp - 0xa6]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.0046a330
add esp, 8
lea edx, [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0x70]
push eax
call fcn.0046a330
add esp, 8
push 0
push 0
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.0044bc7a
add esp, 0xc
mov edx, dword [ebp - 0xd0]
push edx
call fcn.00448e99
add esp, 4
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x46bcb2
mov eax, dword [ebp - 0x70]
push eax
call fcn.0044d95c
add esp, 4
mov eax, 0xc
jmp 0x46be1f
mov ecx, dword [ebp - 0xd0]
push ecx
call fcn.00448e99
add esp, 4
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x46bcec
mov edx, dword [ebp - 0x74]
push edx
call fcn.00448dbc
add esp, 4
mov eax, dword [ebp - 0x70]
push eax
call fcn.0044d95c
add esp, 4
mov eax, 0xc
jmp 0x46be1f
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0xd0]
push edx
push 1
mov eax, dword [ebp - 0x74]
push eax
call fcn.0044df1b
add esp, 0x10
cmp eax, dword [ebp - 0xd0]
je 0x46bd3b
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00448dbc
add esp, 4
mov edx, dword [ebp - 0x74]
push edx
call fcn.00448dbc
add esp, 4
mov eax, dword [ebp - 0x70]
push eax
call fcn.0044d95c
add esp, 4
mov eax, 0xd
jmp 0x46be1f
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.0044d95c
add esp, 4
mov edx, dword [ebp - 0xd0]
push edx
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00448f70
add esp, 0xc
lea edx, [ebp - 0x64]
push edx
call fcn.0046a310
add esp, 4
push 2
mov eax, dword [ebp - 0xd0]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x74]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.0046a770
add esp, 0x10
mov eax, dword [ebp - 0x74]
push eax
call fcn.00448dbc
add esp, 4
lea ecx, [ebp - 0xf8]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.0046a2b0
add esp, 8
lea ecx, [ebp - 0x18]
call fcn.004483d0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xf8]
push ecx
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x18]
call fcn.004e22a0
test eax, eax
je 0x46bdee
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x6c]
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0xd0]
mov dword [edx], eax
mov dword [ebp - 0x78], 0
jmp 0x46be01
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00448dbc
add esp, 4
mov dword [ebp - 0x78], 0xe
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xfc], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00448410
mov eax, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x7c]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret