Function at 0x445ca0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4efb33
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x536364]
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
cmp dword [edi + 0x34], 8
lea ebx, [edi + 0x20]
mov dword [ebx + 0x10], 0
mov eax, ebx
jb 0x445cea
mov eax, dword [ebx]
xor ecx, ecx
mov word [eax], cx
mov ecx, 0x515080
mov eax, dword [edi + 4]
test al, 0x40
je 0x445d02
mov eax, 0x515088
jmp 0x445d0c
test al, 0x20
mov eax, 0x515090
cmove eax, ecx
push eax
push dword [ebp + 8]
mov dword [edi], 0
call fcn.004d639d
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x445d30
mov ecx, edi
call fcn.00445a70
jmp 0x44615e
mov ecx, dword [edi + 4]
xor esi, esi
mov byte [ebp - 0x85], 1
mov dword [edi + 0x18], 1
test cl, 0x10
je 0x446054
push 2
push esi
push eax
call fcn.004d6f82
add esp, 0xc
push dword [edi]
call fcn.004d6b2f
add esp, 4
mov dword [edi + 0x10], eax
push esi
push esi
push dword [edi]
call fcn.004d6f82
mov eax, dword [edi + 0x10]
mov ebx, 0x400
add esp, 0xc
mov dword [ebp - 0x94], ebx
cmp eax, ebx
jge 0x445d93
mov ebx, eax
mov dword [ebp - 0x94], ebx
test ebx, ebx
je 0x44611e
push ebx
call fcn.004a1e4d
add esp, 4
mov dword [ebp - 0x90], eax
push dword [edi]
push 1
push ebx
push eax
call fcn.004d73f9
add esp, 0x10
cmp eax, 1
sete byte [ebp - 0x85]
jne 0x44603a
and dword [edi + 4], 0xfffffffa
xor ecx, ecx
mov dword [ebp - 0x98], ecx
cmp dword [0x536df0], ecx
je 0x445e7f
xor edx, edx
nop word [eax + eax]
mov ebx, dword [edx + 0x536df4]
xor esi, esi
test ebx, ebx
jle 0x445e1b
mov edi, dword [ebp - 0x94]
cmp esi, edi
jge 0x445e0f
mov eax, dword [ebp - 0x90]
mov ecx, dword [edx + 0x536df0]
mov al, byte [eax + esi]
cmp al, byte [esi + ecx]
jne 0x445e0f
inc esi
cmp esi, ebx
jl 0x445df2
mov edi, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x98]
cmp esi, ebx
je 0x445e37
inc ecx
xor esi, esi
mov edx, ecx
mov dword [ebp - 0x98], ecx
shl edx, 4
cmp dword [edx + 0x536df0], esi
jne 0x445de0
jmp 0x445e79
shl ecx, 4
mov eax, dword [ecx + 0x536dfc]
or eax, dword [edi + 4]
mov dword [edi + 4], eax
cmp esi, 2
jne 0x445e4e
mov dword [edi + 0x18], esi
mov edx, dword [ecx + 0x536df8]
mov ecx, edx
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445e60
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x38]
call fcn.004068e0
mov ebx, dword [ebp - 0x94]
cmp ebx, esi
jle 0x445e90
push 0
push esi
push dword [edi]
call fcn.004d6f82
add esp, 0xc
test esi, esi
jne 0x446006
xor eax, eax
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.004441f0
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.004a1e4d
add esp, 4
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x18], ebx
jge 0x445efa
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00405780
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.004444d0
push eax
push ebx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
push 0
call fcn.0044b2f0
push ebx
call fcn.0049daf1
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.004486d0
add esp, 4
lea ecx, [edi + 0x38]
push eax
call fcn.00405950
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x445f8a
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x445f80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44617c
push edx
push ecx
call fcn.004a1b67
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00406b80
lea ecx, [ebp - 0x84]
call fcn.00406b80
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x445ff2
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x445fe8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x446181
push edx
push ecx
call fcn.004a1b67
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
lea ecx, [edi + 0x38]
mov ebx, dword [ebp - 0x90]
jne 0x446040
cmp byte [ebx], 0x3c
jne 0x446040
push 5
push str.UTF_8
call fcn.004068e0
push ebx
call fcn.0049daf1
mov al, byte [ebp - 0x85]
add esp, 4
jmp 0x446116
mov ebx, dword [ebp - 0x90]
push ebx
call fcn.0049daf1
mov al, byte [ebp - 0x85]
add esp, 4
jmp 0x446116
test cl, 0x20
je 0x446121
test cl, 0x40
je 0x44607c
push 2
push 0
push eax
call fcn.004d6f82
add esp, 0xc
push dword [edi]
call fcn.004d6b2f
add esp, 4
mov dword [edi + 0x10], eax
xor ebx, ebx
cmp dword [0x536df0], ebx
je 0x44611e
mov ecx, dword [edi + 4]
xor eax, eax
nop
test dword [eax + 0x536dfc], ecx
jne 0x4460a8
inc ebx
mov eax, ebx
shl eax, 4
cmp dword [eax + 0x536df0], esi
jne 0x446090
jmp 0x44611e
shl ebx, 4
mov esi, dword [ebx + 0x536df4]
cmp esi, 2
jne 0x4460b9
mov dword [edi + 0x18], esi
mov edx, dword [ebx + 0x536df8]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x8c], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4460d0
sub ecx, dword [ebp - 0x8c]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x38]
call fcn.004068e0
cmp dword [edi + 0x10], 0
je 0x4460f7
xor esi, esi
jmp 0x44611e
push dword [edi]
push 1
push esi
push dword [ebx + 0x536df0]
call fcn.004d71d5
add esp, 0x10
cmp eax, 1
sete al
mov byte [ebp - 0x85], al
test al, al
je 0x445d24
lea ebx, [edi + 0x20]
test byte [edi + 4], 0x40
je 0x44612f
mov eax, dword [edi + 0x10]
mov dword [edi + 0x14], eax
jmp 0x446132
mov dword [edi + 0x14], esi
test esi, esi
je 0x446158
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], 0x515098
call fcn.00443fb0
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.004a1e09
mov esp, ebp
pop ebp
ret 4
call fcn.004c43e9
call fcn.004c43e9
int3