Function at 0x46ce00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bcae6
mov eax, dword fs:[0]
push eax
mov eax, 0x102c
call fcn.004ce9e0
mov eax, dword [0x6441a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push ebx
push edi
call fcn.00468570
add esp, 8
test al, al
jne 0x46cfcb
xor eax, eax
mov dword [ebp - 0x1028], 0
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 7
mov word [ebp - 0x1028], ax
mov ecx, dword [edi + 0x10]
mov dword [ebp - 4], eax
test ecx, ecx
je 0x46ceb2
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x46ce8d
mov eax, dword [edi]
mov dword [ebp - 0x1030], eax
jmp 0x46ce93
mov dword [ebp - 0x1030], edi
lea esi, [ecx + eax]
call fcn.00473d90
push eax
lea eax, [ebp - 0x1028]
push eax
push esi
push dword [ebp - 0x1030]
call fcn.004732e0
add esp, 0x10
push 0
lea eax, [ebp - 0x1028]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x1038]
push eax
call fcn.00478bf0
mov eax, dword [ebp - 0x1038]
add esp, 0xc
test eax, eax
je 0x46cee7
mov byte [ebp - 0x1029], 0
cmp eax, 1
jne 0x46ceee
mov byte [ebp - 0x1029], 1
mov edx, dword [ebp - 0x1014]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x46cf35
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46cf2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d0e9
push edx
push ecx
call fcn.004ce396
add esp, 8
cmp byte [ebp - 0x1029], 0
jne 0x46cfcb
push 0
push edi
lea ecx, [ebp - 0x1028]
call fcn.004683e0
lea eax, [ebp - 0x1028]
mov dword [ebp - 4], 2
push 0
push eax
call fcn.00477e30
add esp, 8
test eax, eax
jne 0x46cf7f
test edx, edx
jne 0x46cf7f
lea ecx, [ebp - 0x1028]
call fcn.00402360
mov al, 1
jmp 0x46cfcd
lea ecx, [ebp - 0x1028]
call fcn.00402360
cmp dword [edi + 0x14], 0x10
jb 0x46cf92
mov edi, dword [edi]
push 0x62bf20
push edi
call fcn.004723f0
mov esi, eax
add esp, 8
test esi, esi
je 0x46cfcb
cmp dword [ebx + 0x14], 0x10
jb 0x46cfae
mov ebx, dword [ebx]
push 0x5c1db4
push ebx
call fcn.004723f0
mov edi, eax
add esp, 8
test edi, edi
jne 0x46cfeb
push esi
call fcn.004d8756
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cdf2e
mov esp, ebp
pop ebp
ret 8
push 2
push 0
push esi
call fcn.004dbf88
push esi
call fcn.004dba5d
push edi
mov dword [ebp - 0x1034], eax
call fcn.004dba5d
push 0
mov ebx, eax
push 0
push esi
mov dword [ebp - 0x1030], ebx
call fcn.004dbf88
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.004d00d0
push esi
call fcn.004dbc1b
add esp, 0x30
test eax, eax
jne 0x46d09a
nop dword [eax]
push esi
push 0x1000
lea eax, [ebp - 0x1010]
push 1
push eax
call fcn.004df736
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x46d094
push esi
call fcn.004dbc47
add esp, 4
test eax, eax
jne 0x46d094
push edi
push ebx
lea eax, [ebp - 0x1010]
push 1
push eax
call fcn.004d8a4e
push edi
call fcn.004dbc47
add esp, 0x14
test eax, eax
jne 0x46d094
push esi
call fcn.004dbc1b
add esp, 4
test eax, eax
je 0x46d040
mov ebx, dword [ebp - 0x1030]
push edi
call fcn.004dba5d
mov ecx, dword [ebp - 0x1034]
add esp, 4
add ecx, ebx
cmp ecx, eax
jle 0x46d0d3
push ebx
push edi
call fcn.004e2799
add esp, 4
push eax
call fcn.004e5cac
push esi
call fcn.004d8756
push edi
call fcn.004d8756
add esp, 0x10
jmp 0x46cfcb
push esi
call fcn.004d8756
push edi
call fcn.004d8756
add esp, 8
mov al, 1
jmp 0x46cfcd
call fcn.004d85d5
int3