Function at 0x445d30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d93f8
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x51a3c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x8c], edi
lea ebx, [edi + 0x20]
mov dword [ebx + 0x10], 0
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x445d7a
mov eax, dword [ebx]
xor ecx, ecx
mov word [eax], cx
mov ecx, 0x4fcdf0
mov eax, dword [edi + 4]
test al, 0x40
je 0x445d92
mov eax, 0x4fcdf8
jmp 0x445d9c
test al, 0x20
mov eax, 0x4fce00
cmove eax, ecx
push eax
push dword [ebp + 8]
mov dword [edi], 0
call fcn.004be59c
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x445dc0
mov ecx, edi
call fcn.00445ac0
jmp 0x44617d
mov ecx, dword [edi + 4]
xor esi, esi
mov byte [ebp - 0x85], 1
mov dword [edi + 0x18], 1
test cl, 0x10
je 0x446077
push 2
push esi
push eax
call fcn.004bf40c
add esp, 0xc
push dword [edi]
call fcn.004bee4d
add esp, 4
mov dword [edi + 0x10], eax
push esi
push esi
push dword [edi]
call fcn.004bf40c
mov eax, dword [edi + 0x10]
mov ebx, 0x400
add esp, 0xc
mov dword [ebp - 0x94], ebx
cmp eax, ebx
jge 0x445e23
mov ebx, eax
mov dword [ebp - 0x94], ebx
test ebx, ebx
je 0x44613e
push ebx
call fcn.004a482b
add esp, 4
mov dword [ebp - 0x90], eax
push dword [edi]
push 1
push ebx
push eax
call fcn.004bf92e
add esp, 0x10
cmp eax, 1
sete byte [ebp - 0x85]
jne 0x44605d
and dword [edi + 4], 0xfffffffa
xor ecx, ecx
mov dword [ebp - 0x98], ecx
cmp dword [0x51aea0], ecx
je 0x445eef
xor edx, edx
nop word [eax + eax]
mov ebx, dword [edx + 0x51aea4]
xor esi, esi
test ebx, ebx
jle 0x445eab
mov edi, dword [ebp - 0x94]
cmp esi, edi
jge 0x445e9f
mov eax, dword [ebp - 0x90]
mov ecx, dword [edx + 0x51aea0]
mov al, byte [eax + esi]
cmp al, byte [esi + ecx]
jne 0x445e9f
inc esi
cmp esi, ebx
jl 0x445e82
mov edi, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x98]
cmp esi, ebx
je 0x445ec7
inc ecx
xor esi, esi
mov edx, ecx
mov dword [ebp - 0x98], ecx
shl edx, 4
cmp dword [edx + 0x51aea0], esi
jne 0x445e70
jmp 0x445ee9
shl ecx, 4
mov eax, dword [ecx + 0x51aeac]
or dword [edi + 4], eax
cmp esi, 2
jne 0x445edb
mov dword [edi + 0x18], esi
push dword [ecx + 0x51aea8]
lea ecx, [edi + 0x38]
call fcn.00408e20
mov ebx, dword [ebp - 0x94]
cmp ebx, esi
jle 0x445f00
push 0
push esi
push dword [edi]
call fcn.004bf40c
add esp, 0xc
test esi, esi
jne 0x44602b
xor eax, eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push ebx
push dword [ebp - 0x90]
mov dword [ebp - 4], eax
push ecx
mov eax, esp
lea ecx, [ebp - 0x84]
mov dword [eax], str.UTF_8
call fcn.004440d0
xor ecx, ecx
mov byte [ebp - 4], 1
lea eax, [ebx + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a482b
add esp, 4
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x18], ebx
jge 0x445f6d
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0044c430
push ecx
mov eax, esp
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x84]
push ebx
mov dword [eax], str.UTF_16
call fcn.004443b0
push eax
push ebx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
push 0
call fcn.0044c5a0
push ebx
call fcn.0049f9bc
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov ecx, esp
cmovae eax, dword [ebp - 0x2c]
mov dword [ecx], eax
lea ecx, [ebp - 0x44]
call fcn.00448d20
add esp, 4
lea ecx, [edi + 0x38]
push eax
call fcn.0040b440
lea ecx, [ebp - 0x44]
call fcn.004074f0
lea ecx, [ebp - 0x84]
call fcn.00416320
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x446017
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44600d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44619b
push edx
push ecx
call fcn.004a42a7
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp dword [edi + 0x48], 0
mov ebx, dword [ebp - 0x90]
jne 0x446063
cmp byte [ebx], 0x3c
jne 0x446063
push str.UTF_8
lea ecx, [edi + 0x38]
call fcn.00408e20
push ebx
call fcn.0049f9bc
mov al, byte [ebp - 0x85]
add esp, 4
jmp 0x446136
mov ebx, dword [ebp - 0x90]
push ebx
call fcn.0049f9bc
mov al, byte [ebp - 0x85]
add esp, 4
jmp 0x446136
test cl, 0x20
je 0x446141
test cl, 0x40
je 0x44609f
push 2
push 0
push eax
call fcn.004bf40c
add esp, 0xc
push dword [edi]
call fcn.004bee4d
add esp, 4
mov dword [edi + 0x10], eax
xor ebx, ebx
cmp dword [0x51aea0], ebx
je 0x44613e
mov ecx, dword [edi + 4]
xor eax, eax
test dword [eax + 0x51aeac], ecx
jne 0x4460ca
inc ebx
mov eax, ebx
shl eax, 4
cmp dword [eax + 0x51aea0], esi
jne 0x4460b2
jmp 0x44613e
shl ebx, 4
mov esi, dword [ebx + 0x51aea4]
cmp esi, 2
jne 0x4460db
mov dword [edi + 0x18], esi
mov edx, dword [ebx + 0x51aea8]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x8c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4460f0
sub ecx, dword [ebp - 0x8c]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x38]
call fcn.00408d10
cmp dword [edi + 0x10], 0
je 0x446117
xor esi, esi
jmp 0x44613e
push dword [edi]
push 1
push esi
push dword [ebx + 0x51aea0]
call fcn.004bf70e
add esp, 0x10
cmp eax, 1
sete al
mov byte [ebp - 0x85], al
test al, al
je 0x445db4
lea ebx, [edi + 0x20]
test byte [edi + 4], 0x40
je 0x44614c
mov eax, dword [edi + 0x10]
jmp 0x44614e
mov eax, esi
mov dword [edi + 0x14], eax
test esi, esi
je 0x446177
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
mov eax, esp
xor edx, edx
push ecx
mov esi, esp
mov ecx, ebx
mov dword [eax], 0
mov dword [esi], 0x4fce08
call fcn.00443ed0
add esp, 0x10
mov al, byte [ebp - 0x85]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a44be
mov esp, ebp
pop ebp
ret 4
call fcn.004aba7f
int3