Function at 0x445430
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5910
call fcn.00666cc0
mov eax, dword [0x7e2670]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x5910], ecx
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x445464
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x44546e
mov eax, 0x205
jmp 0x445ae5
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0x6def9c
mov edx, dword [ebp + 8]
push edx
call fcn.00669fd1
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4454a0
mov eax, 0x204
jmp 0x445ae5
push 2
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.00669e99
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call fcn.00669daa
add esp, 4
mov dword [ebp - 4], eax
push 0
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.00669e99
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
call fcn.00576bfc
add esp, 4
mov dword [ebp - 0x5908], eax
mov ecx, dword [ebp - 0x5908]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
push edx
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.006665c0
add esp, 0xc
mov dword [ebp - 0x58ec], 0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
push 1
mov eax, dword [ebp - 0xc]
push eax
call fcn.00669b18
add esp, 0x10
mov dword [ebp - 0x58ec], eax
mov ecx, dword [ebp - 0x58ec]
cmp ecx, dword [ebp - 4]
je 0x445539
mov dword [ebp - 0x10], 0xffffffff
jmp 0x445aa4
push 0x58d0
push 0
lea edx, [ebp - 0x58e8]
push edx
call fcn.006665c0
add esp, 0xc
mov dword [ebp - 0x58f0], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
test ecx, ecx
je 0x44557d
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
add eax, 0x300
mov dword [ebp - 0x10], eax
jmp 0x445aa4
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0x58f8], ecx
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x58f0]
je 0x445a73
push 0x58d0
push 0
lea ecx, [ebp - 0x58e8]
push ecx
call fcn.006665c0
add esp, 0xc
mov edx, dword [ebp - 0x58f8]
add edx, dword [ebp - 0x58f0]
mov al, byte [edx]
mov byte [ebp - 0x58e8], al
mov ecx, dword [ebp - 0x58f0]
add ecx, 1
mov dword [ebp - 0x58f0], ecx
mov edx, dword [ebp - 0x58f8]
add edx, dword [ebp - 0x58f0]
push edx
call fcn.004a43a0
add esp, 4
mov dword [ebp - 0x58e4], eax
mov eax, dword [ebp - 0x58f0]
add eax, 4
mov dword [ebp - 0x58f0], eax
mov ecx, dword [ebp - 0x58f8]
add ecx, dword [ebp - 0x58f0]
movzx edx, byte [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x58f0]
add eax, 1
mov dword [ebp - 0x58f0], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x58f8]
add edx, dword [ebp - 0x58f0]
push edx
lea eax, [ebp - 0x58e0]
push eax
call fcn.00668860
add esp, 0xc
mov ecx, dword [ebp - 0x58f0]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x58f0], ecx
mov edx, dword [ebp - 0x58f8]
add edx, dword [ebp - 0x58f0]
movzx eax, byte [edx]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x58f0]
add ecx, 1
mov dword [ebp - 0x58f0], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x58f8]
add eax, dword [ebp - 0x58f0]
push eax
lea ecx, [ebp - 0x58bf]
push ecx
call fcn.00668860
add esp, 0xc
mov edx, dword [ebp - 0x58f0]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x58f0], edx
mov eax, dword [ebp - 0x58f8]
add eax, dword [ebp - 0x58f0]
movzx ecx, byte [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x58f0]
add edx, 1
mov dword [ebp - 0x58f0], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x58f8]
add ecx, dword [ebp - 0x58f0]
push ecx
lea edx, [ebp - 0x58ae]
push edx
call fcn.00668860
add esp, 0xc
mov eax, dword [ebp - 0x58f0]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x58f0], eax
mov ecx, dword [ebp - 0x58f8]
add ecx, dword [ebp - 0x58f0]
movzx edx, byte [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x58f0]
add eax, 1
mov dword [ebp - 0x58f0], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x58f8]
add edx, dword [ebp - 0x58f0]
push edx
lea eax, [ebp - 0x588d]
push eax
call fcn.00668860
add esp, 0xc
mov ecx, dword [ebp - 0x58f0]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x58f0], ecx
mov edx, dword [ebp - 0x58f8]
add edx, dword [ebp - 0x58f0]
movzx eax, byte [edx]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x58f0]
add ecx, 1
mov dword [ebp - 0x58f0], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x58f8]
add eax, dword [ebp - 0x58f0]
push eax
lea ecx, [ebp - 0x584c]
push ecx
call fcn.00668860
add esp, 0xc
mov edx, dword [ebp - 0x58f0]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x58f0], edx
mov eax, dword [ebp - 0x58f8]
add eax, dword [ebp - 0x58f0]
movzx ecx, byte [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x58f0]
add edx, 1
mov dword [ebp - 0x58f0], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x58f8]
add ecx, dword [ebp - 0x58f0]
push ecx
lea edx, [ebp - 0x582c]
push edx
call fcn.00668860
add esp, 0xc
mov eax, dword [ebp - 0x58f0]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x58f0], eax
mov ecx, dword [ebp - 0x58f8]
add ecx, dword [ebp - 0x58f0]
mov dl, byte [ecx]
mov byte [ebp - 0x57e2], dl
mov eax, dword [ebp - 0x58f0]
add eax, 1
mov dword [ebp - 0x58f0], eax
mov dword [ebp - 0x58fc], 0
jmp 0x445822
mov ecx, dword [ebp - 0x58fc]
add ecx, 1
mov dword [ebp - 0x58fc], ecx
movzx edx, byte [ebp - 0x57e2]
cmp dword [ebp - 0x58fc], edx
jge 0x4458f5
mov eax, dword [ebp - 0x58fc]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0x58f8]
add ecx, dword [ebp - 0x58f0]
mov dl, byte [ecx]
mov byte [ebp + eax - 0x57cb], dl
mov eax, dword [ebp - 0x58f0]
add eax, 1
mov dword [ebp - 0x58f0], eax
mov ecx, dword [ebp - 0x58f8]
add ecx, dword [ebp - 0x58f0]
push ecx
call fcn.004a43a0
add esp, 4
mov edx, dword [ebp - 0x58fc]
imul edx, edx, 0x18
mov dword [ebp + edx - 0x57e0], eax
mov eax, dword [ebp - 0x58f0]
add eax, 4
mov dword [ebp - 0x58f0], eax
mov ecx, dword [ebp - 0x58f8]
add ecx, dword [ebp - 0x58f0]
movzx edx, byte [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x58f0]
add eax, 1
mov dword [ebp - 0x58f0], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x58f8]
add edx, dword [ebp - 0x58f0]
push edx
mov eax, dword [ebp - 0x58fc]
imul eax, eax, 0x18
lea ecx, [ebp + eax - 0x57dc]
push ecx
call fcn.00668860
add esp, 0xc
mov edx, dword [ebp - 0x58f0]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x58f0], edx
jmp 0x445813
mov eax, dword [ebp - 0x58f0]
cmp eax, dword [ebp - 4]
jbe 0x445911
mov dword [ebp - 0x10], 0x218
jmp 0x445aa4
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x58f0]
jbe 0x4459c5
mov edx, dword [ebp - 0x58f8]
add edx, dword [ebp - 0x58f0]
mov al, byte [edx]
mov byte [ebp - 0x3ff8], al
mov ecx, dword [ebp - 0x58f0]
add ecx, 1
mov dword [ebp - 0x58f0], ecx
movzx edx, byte [ebp - 0x3ff8]
test edx, edx
jle 0x4459c5
movzx eax, byte [ebp - 0x3ff8]
shl eax, 6
mov ecx, dword [ebp - 4]
sub ecx, 1
cmp eax, ecx
ja 0x4459c5
mov dword [ebp - 0x5900], 0
jmp 0x44597d
mov edx, dword [ebp - 0x5900]
add edx, 1
mov dword [ebp - 0x5900], edx
movzx eax, byte [ebp - 0x3ff8]
cmp dword [ebp - 0x5900], eax
jge 0x4459c5
push 0x40
mov ecx, dword [ebp - 0x58f8]
add ecx, dword [ebp - 0x58f0]
push ecx
mov edx, dword [ebp - 0x5900]
shl edx, 6
lea eax, [ebp + edx - 0x3ff7]
push eax
call fcn.00668860
add esp, 0xc
mov ecx, dword [ebp - 0x58f0]
add ecx, 0x40
mov dword [ebp - 0x58f0], ecx
jmp 0x44596e
mov edx, dword [ebp - 4]
sub edx, 0x1b
cmp dword [ebp - 0x58f0], edx
ja 0x445a73
mov eax, dword [ebp - 0x58f8]
add eax, dword [ebp - 0x58f0]
movzx ecx, byte [eax]
mov dword [ebp - 0x5904], ecx
mov edx, dword [ebp - 0x58f0]
add edx, 1
mov dword [ebp - 0x58f0], edx
push 0x10
mov eax, dword [ebp - 0x58f8]
add eax, dword [ebp - 0x58f0]
push eax
lea ecx, [ebp - 0x37]
push ecx
call fcn.00668860
add esp, 0xc
mov byte [ebp - 0x27], 0
mov edx, dword [ebp - 0x58f0]
add edx, 0x10
mov dword [ebp - 0x58f0], edx
push 0xa
mov eax, dword [ebp - 0x58f8]
add eax, dword [ebp - 0x58f0]
push eax
lea ecx, [ebp - 0x26]
push ecx
call fcn.00668860
add esp, 0xc
mov edx, dword [ebp - 0x58f0]
add edx, 8
mov dword [ebp - 0x58f0], edx
mov eax, dword [ebp - 0x58f8]
add eax, dword [ebp - 0x58f0]
mov cl, byte [eax]
mov byte [ebp - 0x1b], cl
mov edx, dword [ebp - 0x58f0]
add edx, 1
mov dword [ebp - 0x58f0], edx
mov dword [ebp - 0x58f4], 0
call fcn.004592c0
mov dword [ebp - 0x58f4], eax
push 0
lea eax, [ebp - 0x58e8]
push eax
mov ecx, dword [ebp - 0x58f4]
call fcn.004cff50
xor ecx, ecx
jne 0x4454fc
cmp dword [ebp - 0xc], 0
je 0x445ac9
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x590c], edx
mov eax, dword [ebp - 0x590c]
push eax
call fcn.00576bf1
add esp, 4
mov dword [ebp - 0xc], 0
cmp dword [ebp - 8], 0
je 0x445ae2
mov ecx, dword [ebp - 8]
push ecx
call fcn.00669ba2
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.006665ac
mov esp, ebp
pop ebp
ret 4