Function at 0x45dd70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
xor edi, edi
mov dword [esp + 0x20], ebx
mov ecx, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], edi
call fcn.00458890
mov ecx, dword [esi + 0x10]
mov al, byte [ecx]
cmp al, 0x5c
jne 0x45df71
cmp ecx, dword [esi + 0xc]
jae 0x45ddb0
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
jmp 0x45ddef
cmp byte [esi + 0x1c], 0
jne 0x45ddef
push dword [esi]
mov eax, dword [esi + 0x14]
push dword [esi + 8]
add dword [esi + 0x18], eax
push 1
push dword [esi + 4]
call fcn.004a6f77
mov edx, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edx
lea ecx, [edx - 1]
add ecx, eax
mov dword [esi + 0xc], ecx
cmp eax, dword [esi + 8]
jae 0x45ddef
mov byte [eax + edx], 0
inc dword [esi + 0xc]
mov byte [esi + 0x1c], 1
mov eax, dword [esi + 0x10]
mov cl, byte [eax]
mov byte [esp + 0x13], cl
cmp eax, dword [esi + 0xc]
jae 0x45de03
inc eax
mov dword [esi + 0x10], eax
jmp 0x45de46
cmp byte [esi + 0x1c], 0
jne 0x45de46
push dword [esi]
mov eax, dword [esi + 0x14]
push dword [esi + 8]
add dword [esi + 0x18], eax
push 1
push dword [esi + 4]
call fcn.004a6f77
mov edx, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edx
lea ecx, [edx - 1]
add ecx, eax
mov dword [esi + 0xc], ecx
mov cl, byte [esp + 0x13]
cmp eax, dword [esi + 8]
jae 0x45de46
mov byte [eax + edx], 0
inc dword [esi + 0xc]
mov byte [esi + 0x1c], 1
movzx eax, cl
mov al, byte [eax + 0x503aa0]
mov byte [esp + 0x13], al
test al, al
je 0x45de85
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x18], eax
inc eax
mov dword [esp + 0x1c], ecx
cmp eax, ecx
jb 0x45e022
mov eax, dword [edx + 8]
test eax, eax
jne 0x45dfdd
mov ecx, dword [edx + 0x14]
jmp 0x45dfe9
cmp cl, 0x75
jne 0x45df4c
push esi
mov ecx, ebx
call fcn.0045f370
lea ecx, [eax - 0xd800]
mov dword [esp + 0x1c], ecx
cmp ecx, 0x3ff
ja 0x45df34
mov ecx, esi
call fcn.00458890
cmp al, 0x5c
jne 0x45dec2
mov ecx, esi
call fcn.00458890
cmp al, 0x75
je 0x45dee4
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x10]
sub ecx, dword [esi + 4]
add eax, 0xfffffffe
add eax, ecx
mov dword [ebx + 0x18], 9
mov dword [ebx + 0x1c], eax
cmp dword [ebx + 0x18], 0
jne 0x45e12f
push esi
mov ecx, ebx
call fcn.0045f370
mov edx, eax
cmp edx, 0xdc00
jb 0x45defe
cmp edx, 0xdfff
jbe 0x45df20
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x10]
sub ecx, dword [esi + 4]
add eax, 0xfffffffe
add eax, ecx
mov dword [ebx + 0x18], 9
mov dword [ebx + 0x1c], eax
cmp dword [ebx + 0x18], 0
jne 0x45e12f
mov ecx, dword [esp + 0x1c]
lea eax, [edx - 0xdc00]
shl ecx, 0xa
or eax, ecx
add eax, 0x10000
mov edx, eax
lea ecx, [esp + 0x20]
call fcn.0045f450
mov edi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
jmp 0x45dd96
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 4]
mov eax, dword [esi + 0x10]
dec eax
mov dword [ebx + 0x18], 0xa
add eax, ecx
mov dword [ebx + 0x1c], eax
cmp dword [ebx + 0x18], 0
je 0x45dd96
jmp 0x45e0fe
cmp al, 0x22
je 0x45e03f
test al, al
jne 0x45df9f
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 4]
dec eax
mov dword [ebx + 0x18], 0xb
add eax, ecx
mov dword [ebx + 0x1c], eax
cmp dword [ebx + 0x18], 0
je 0x45dd96
jmp 0x45e0fe
cmp al, 0x20
jae 0x45dfab
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 4]
jmp 0x45df55
mov ecx, esi
call fcn.00458890
mov edx, dword [esp + 0x20]
mov byte [esp + 0x13], al
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x18], ecx
inc ecx
mov dword [esp + 0x1c], eax
cmp ecx, eax
jb 0x45e022
mov eax, dword [edx + 8]
test eax, eax
jne 0x45dfd9
mov ecx, dword [edx + 0x14]
jmp 0x45dfe9
mov ecx, dword [esp + 0x1c]
sub ecx, eax
lea eax, [ecx + 1]
shr eax, 1
add ecx, eax
mov eax, dword [edx + 8]
mov edi, dword [esp + 0x18]
sub edi, eax
mov dword [esp + 0x18], edi
inc edi
cmp ecx, edi
cmovae edi, ecx
mov ecx, dword [esp + 0x1c]
sub ecx, eax
push edi
push ecx
mov ecx, dword [edx]
push eax
call fcn.0045f760
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
add ecx, eax
mov dword [edx + 8], eax
add eax, edi
mov edi, dword [esp + 0x14]
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], eax
mov ecx, dword [edx + 0xc]
inc edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], edi
lea eax, [ecx + 1]
mov dword [edx + 0xc], eax
mov al, byte [esp + 0x13]
mov byte [ecx], al
jmp 0x45dd96
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0xc]
jae 0x45e04d
inc eax
mov dword [esi + 0x10], eax
jmp 0x45e08c
cmp byte [esi + 0x1c], 0
jne 0x45e08c
push dword [esi]
mov eax, dword [esi + 0x14]
push dword [esi + 8]
add dword [esi + 0x18], eax
push 1
push dword [esi + 4]
call fcn.004a6f77
mov edx, dword [esi + 4]
add esp, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edx
lea ecx, [edx - 1]
add ecx, eax
mov dword [esi + 0xc], ecx
cmp eax, dword [esi + 8]
jae 0x45e08c
mov byte [eax + edx], 0
inc dword [esi + 0xc]
mov byte [esi + 0x1c], 1
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x18], eax
inc eax
cmp eax, ecx
jb 0x45e0f1
mov edi, dword [edx + 8]
test edi, edi
jne 0x45e0ab
mov ecx, dword [edx + 0x14]
jmp 0x45e0b4
sub ecx, edi
lea eax, [ecx + 1]
shr eax, 1
add ecx, eax
mov eax, dword [esp + 0x18]
sub eax, edi
mov dword [esp + 0x18], eax
lea edi, [eax + 1]
mov eax, dword [edx + 0x10]
cmp ecx, edi
cmovae edi, ecx
mov ecx, dword [edx + 8]
sub eax, ecx
push edi
push eax
push ecx
mov ecx, dword [edx]
call fcn.0045f760
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
add ecx, eax
mov dword [edx + 8], eax
add eax, edi
mov edi, dword [esp + 0x14]
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], eax
mov ecx, dword [edx + 0xc]
inc edi
lea eax, [ecx + 1]
mov dword [edx + 0xc], eax
mov byte [ecx], 0
cmp dword [ebx + 0x18], 0
jne 0x45e12f
sub dword [ebx + 0xc], edi
lea eax, [edi - 1]
mov ecx, dword [ebx + 0xc]
push ecx
push eax
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0045ed90
test al, al
jne 0x45e12f
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 4]
add eax, dword [esi + 0x10]
mov dword [ebx + 0x18], 0x10
mov dword [ebx + 0x1c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc