Function at 0x45e0d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48be55
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4b0070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x88], edi
mov dword [edi + 0x30], 0
lea eax, [edi + 0x20]
cmp dword [edi + 0x34], 8
jb 0x45e118
mov eax, dword [edi + 0x20]
xor ecx, ecx
mov word [eax], cx
mov ecx, 0x4a5c08
mov eax, dword [edi + 4]
test al, 0x40
je 0x45e130
mov eax, 0x4a5c10
jmp 0x45e13a
test al, 0x20
mov eax, 0x49b4c8
cmove eax, ecx
push eax
push dword [ebp + 8]
mov dword [edi], 0
call fcn.00473180
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x45e15e
mov ecx, edi
call fcn.0045de60
jmp 0x45e5a5
mov ecx, dword [edi + 4]
xor esi, esi
mov byte [ebp - 0x81], 1
mov dword [edi + 0x18], 1
test cl, 0x10
je 0x45e499
push 2
push esi
push eax
call fcn.00471ba3
push dword [edi]
call fcn.00475a4e
push esi
push esi
push dword [edi]
mov dword [edi + 0x10], eax
call fcn.00471ba3
mov ecx, dword [edi + 0x10]
mov eax, 0x400
add esp, 0x1c
mov dword [ebp - 0x8c], eax
cmp ecx, eax
jge 0x45e1bb
mov eax, ecx
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x45e568
push eax
call fcn.00467dc4
push dword [edi]
mov dword [ebp - 0x90], eax
push 1
push dword [ebp - 0x8c]
push eax
call fcn.00475289
add esp, 0x14
cmp eax, 1
sete byte [ebp - 0x81]
jne 0x45e47f
and dword [edi + 4], 0xfffffffa
xor ecx, ecx
mov dword [ebp - 0x94], ecx
cmp dword [0x4b0ac8], ecx
je 0x45e2bd
xor edx, edx
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [edx + 0x4b0acc]
xor esi, esi
mov dword [ebp - 0x98], eax
test eax, eax
jle 0x45e25f
mov edi, dword [ebp - 0x8c]
cmp esi, edi
jge 0x45e253
mov eax, dword [ebp - 0x90]
mov ecx, dword [edx + 0x4b0ac8]
mov al, byte [eax + esi]
cmp al, byte [esi + ecx]
jne 0x45e24d
mov eax, dword [edx + 0x4b0acc]
inc esi
cmp esi, eax
jl 0x45e228
jmp 0x45e253
mov eax, dword [ebp - 0x98]
mov edi, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x94]
cmp esi, eax
je 0x45e27b
inc ecx
xor esi, esi
mov edx, ecx
mov dword [ebp - 0x94], ecx
shl edx, 4
cmp dword [edx + 0x4b0ac8], esi
jne 0x45e210
jmp 0x45e2bd
shl ecx, 4
mov eax, dword [ecx + 0x4b0ad4]
or dword [edi + 4], eax
cmp esi, 2
jne 0x45e28f
mov dword [edi + 0x18], esi
mov edx, dword [ecx + 0x4b0ad0]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x88], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e2a0
sub ecx, dword [ebp - 0x88]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x38]
call fcn.00413340
mov eax, dword [ebp - 0x8c]
cmp eax, esi
jle 0x45e2da
push 0
push esi
push dword [edi]
call fcn.00471ba3
mov eax, dword [ebp - 0x8c]
add esp, 0xc
test esi, esi
jne 0x45e45f
xorps xmm0, xmm0
mov dword [ebp - 0x18], esi
xor ecx, ecx
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], cx
push eax
push dword [ebp - 0x90]
mov dword [ebp - 4], ecx
push ecx
mov eax, esp
lea ecx, [ebp - 0x80]
mov dword [eax], str.UTF_8
call fcn.0045c4d0
mov eax, dword [ebp - 0x8c]
xor ecx, ecx
inc eax
mov byte [ebp - 4], 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00467dc4
mov dword [ebp - 0x94], eax
add esp, 4
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x14], eax
jge 0x45e358
push eax
lea ecx, [ebp - 0x28]
call fcn.00464c10
mov eax, dword [ebp - 0x8c]
push ecx
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x80]
mov eax, esp
push dword [ebp - 0x94]
mov dword [eax], str.UTF_16
call fcn.0045c7c0
push eax
push dword [ebp - 0x94]
lea ecx, [ebp - 0x28]
push dword [ebp - 0x18]
push 0
call fcn.00459af0
push dword [ebp - 0x94]
call fcn.00467dcd
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, esp
cmovae eax, dword [ebp - 0x28]
mov dword [ecx], eax
lea ecx, [ebp - 0x40]
call fcn.00461100
add esp, 4
lea ecx, [edi + 0x38]
push eax
call fcn.0040acc0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x45e3ee
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45e3e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e5c2
push ecx
push edx
call fcn.00467ca1
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00413500
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x45e44b
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45e441
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e5c7
push ecx
push edx
call fcn.00467ca1
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [edi + 0x48], 0
lea ecx, [edi + 0x38]
mov eax, dword [ebp - 0x90]
jne 0x45e485
cmp byte [eax], 0x3c
jne 0x45e485
push 5
push str.UTF_8
call fcn.00413340
mov eax, dword [ebp - 0x90]
push eax
call fcn.00467dcd
mov al, byte [ebp - 0x81]
add esp, 4
jmp 0x45e560
test cl, 0x20
je 0x45e568
test cl, 0x40
je 0x45e4be
push 2
push 0
push eax
call fcn.00471ba3
push dword [edi]
call fcn.00475a4e
add esp, 0x10
mov dword [edi + 0x10], eax
xor ecx, ecx
cmp dword [0x4b0ac8], ecx
je 0x45e568
mov edx, dword [edi + 4]
xor eax, eax
test dword [eax + 0x4b0ad4], edx
jne 0x45e4ec
inc ecx
mov eax, ecx
shl eax, 4
cmp dword [eax + 0x4b0ac8], esi
jne 0x45e4d1
jmp 0x45e568
shl ecx, 4
mov dword [ebp - 0x98], ecx
mov esi, dword [ecx + 0x4b0acc]
cmp esi, 2
jne 0x45e503
mov dword [edi + 0x18], esi
mov edx, dword [ecx + 0x4b0ad0]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x88], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e514
sub ecx, dword [ebp - 0x88]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x38]
call fcn.00413340
cmp dword [edi + 0x10], 0
je 0x45e53b
xor esi, esi
jmp 0x45e568
push dword [edi]
mov eax, dword [ebp - 0x98]
push 1
push esi
push dword [eax + 0x4b0ac8]
call fcn.00472892
add esp, 0x10
cmp eax, 1
sete al
mov byte [ebp - 0x81], al
test al, al
je 0x45e152
test byte [edi + 4], 0x40
je 0x45e573
mov eax, dword [edi + 0x10]
jmp 0x45e575
mov eax, esi
mov dword [edi + 0x14], eax
test esi, esi
je 0x45e59f
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
mov eax, esp
xor edx, edx
push ecx
mov esi, esp
lea ecx, [edi + 0x20]
mov dword [eax], 0
mov dword [esi], 0x4a5c18
call fcn.0045c2d0
add esp, 0x10
mov al, byte [ebp - 0x81]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046780a
mov esp, ebp
pop ebp
ret 4
call fcn.0046c9ef
call fcn.0046c9ef
int3