Function at 0x445eb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ddf48
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x5203c4]
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 0x445efa
mov eax, dword [ebx]
xor ecx, ecx
mov word [eax], cx
mov ecx, 0x503190
mov eax, dword [edi + 4]
test al, 0x40
je 0x445f12
mov eax, 0x503198
jmp 0x445f1c
test al, 0x20
mov eax, 0x5031a0
cmove eax, ecx
push eax
push dword [ebp + 8]
mov dword [edi], 0
call fcn.004c30fc
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x445f40
mov ecx, edi
call fcn.00445c30
jmp 0x4462fd
mov ecx, dword [edi + 4]
xor esi, esi
mov byte [ebp - 0x85], 1
mov dword [edi + 0x18], 1
test cl, 0x10
je 0x4461f7
push 2
push esi
push eax
call fcn.004c3f6c
add esp, 0xc
push dword [edi]
call fcn.004c39ad
add esp, 4
mov dword [edi + 0x10], eax
push esi
push esi
push dword [edi]
call fcn.004c3f6c
mov eax, dword [edi + 0x10]
mov ebx, 0x400
add esp, 0xc
mov dword [ebp - 0x94], ebx
cmp eax, ebx
jge 0x445fa3
mov ebx, eax
mov dword [ebp - 0x94], ebx
test ebx, ebx
je 0x4462be
push ebx
call fcn.004a91bb
add esp, 4
mov dword [ebp - 0x90], eax
push dword [edi]
push 1
push ebx
push eax
call fcn.004c448e
add esp, 0x10
cmp eax, 1
sete byte [ebp - 0x85]
jne 0x4461dd
and dword [edi + 4], 0xfffffffa
xor ecx, ecx
mov dword [ebp - 0x98], ecx
cmp dword [0x520ea0], ecx
je 0x44606f
xor edx, edx
nop word [eax + eax]
mov ebx, dword [edx + 0x520ea4]
xor esi, esi
test ebx, ebx
jle 0x44602b
mov edi, dword [ebp - 0x94]
cmp esi, edi
jge 0x44601f
mov eax, dword [ebp - 0x90]
mov ecx, dword [edx + 0x520ea0]
mov al, byte [eax + esi]
cmp al, byte [esi + ecx]
jne 0x44601f
inc esi
cmp esi, ebx
jl 0x446002
mov edi, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x98]
cmp esi, ebx
je 0x446047
inc ecx
xor esi, esi
mov edx, ecx
mov dword [ebp - 0x98], ecx
shl edx, 4
cmp dword [edx + 0x520ea0], esi
jne 0x445ff0
jmp 0x446069
shl ecx, 4
mov eax, dword [ecx + 0x520eac]
or dword [edi + 4], eax
cmp esi, 2
jne 0x44605b
mov dword [edi + 0x18], esi
push dword [ecx + 0x520ea8]
lea ecx, [edi + 0x38]
call fcn.00408e20
mov ebx, dword [ebp - 0x94]
cmp ebx, esi
jle 0x446080
push 0
push esi
push dword [edi]
call fcn.004c3f6c
add esp, 0xc
test esi, esi
jne 0x4461ab
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.00444240
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.004a91bb
add esp, 4
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x18], ebx
jge 0x4460ed
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0044c5b0
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.00444520
push eax
push ebx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
push 0
call fcn.0044c720
push ebx
call fcn.004a434c
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.00448ea0
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.00416340
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x446197
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44618d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44631b
push edx
push ecx
call fcn.004a8c37
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 0x4461e3
cmp byte [ebx], 0x3c
jne 0x4461e3
push str.UTF_8
lea ecx, [edi + 0x38]
call fcn.00408e20
push ebx
call fcn.004a434c
mov al, byte [ebp - 0x85]
add esp, 4
jmp 0x4462b6
mov ebx, dword [ebp - 0x90]
push ebx
call fcn.004a434c
mov al, byte [ebp - 0x85]
add esp, 4
jmp 0x4462b6
test cl, 0x20
je 0x4462c1
test cl, 0x40
je 0x44621f
push 2
push 0
push eax
call fcn.004c3f6c
add esp, 0xc
push dword [edi]
call fcn.004c39ad
add esp, 4
mov dword [edi + 0x10], eax
xor ebx, ebx
cmp dword [0x520ea0], ebx
je 0x4462be
mov ecx, dword [edi + 4]
xor eax, eax
test dword [eax + 0x520eac], ecx
jne 0x44624a
inc ebx
mov eax, ebx
shl eax, 4
cmp dword [eax + 0x520ea0], esi
jne 0x446232
jmp 0x4462be
shl ebx, 4
mov esi, dword [ebx + 0x520ea4]
cmp esi, 2
jne 0x44625b
mov dword [edi + 0x18], esi
mov edx, dword [ebx + 0x520ea8]
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 0x446270
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 0x446297
xor esi, esi
jmp 0x4462be
push dword [edi]
push 1
push esi
push dword [ebx + 0x520ea0]
call fcn.004c426e
add esp, 0x10
cmp eax, 1
sete al
mov byte [ebp - 0x85], al
test al, al
je 0x445f34
lea ebx, [edi + 0x20]
test byte [edi + 4], 0x40
je 0x4462cc
mov eax, dword [edi + 0x10]
jmp 0x4462ce
mov eax, esi
mov dword [edi + 0x14], eax
test esi, esi
je 0x4462f7
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], 0x5031a8
call fcn.00444040
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.004a8e4e
mov esp, ebp
pop ebp
ret 4
call fcn.004b040f
int3