Function at 0x51e9d0
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
mov ebp, ecx
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edx, dword [ebx + 0x10]
movzx eax, byte [edx]
cmp al, 0x66
je 0x51ee61
jle 0x51ea20
cmp al, 0x74
je 0x51eb60
cmp al, 0x7b
je 0x51ecb2
cmp al, 0x6e
je 0x51eba0
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
add esp, 0x2c
pop ebx
mov ecx, ebp
pop esi
pop edi
pop ebp
jmp fcn.005234a0
cmp al, 0x22
je 0x51ec91
cmp al, 0x5b
jne 0x51ea09
cmp edx, dword [ebx + 0xc]
jb 0x51f000
cmp byte [ebx + 0x1c], 0
je 0x51f680
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
lea eax, [edx + 0x10]
cmp eax, ecx
ja 0x51f9bb
test edx, edx
mov dword [esi + 0x24], eax
je 0x51ea7b
mov edi, 4
mov dword [edx + 0xc], 0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov word [edx + 0xe], di
mov edx, dword [ebx + 0x10]
mov edi, 0x800013
movzx eax, byte [edx]
lea esi, [esi]
lea edi, [edi]
lea ecx, [eax - 9]
cmp cl, 0x17
jbe 0x51ec10
mov edi, 0x800013
cmp al, 0x2f
jne 0x51eed5
cmp dword [ebx + 0xc], edx
ja 0x51f380
cmp byte [ebx + 0x1c], 0
je 0x51f723
cmp byte [ebx + 0x1c], 0
je 0x520bc8
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x18], ebp
movzx ecx, byte [edx]
jmp 0x51eae9
lea ebp, [edx + 1]
mov dword [ebx + 0x10], ebp
movzx eax, byte [edx + 1]
mov edx, ebp
cmp cl, 0xa
je 0x5206a8
mov ecx, eax
test cl, cl
je 0x51eed1
cmp dword [ebx + 0xc], edx
ja 0x51ead2
cmp byte [ebx + 0x1c], 0
mov eax, ecx
jne 0x51eade
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov byte [esp + 0x1c], cl
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
movzx ecx, byte [esp + 0x1c]
lea ebp, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ebp
jae 0x51eb51
mov byte [edx + eax], 0
add dword [ebx + 0xc], 1
mov edx, dword [ebx + 0x10]
mov byte [ebx + 0x1c], 1
movzx eax, byte [edx]
jmp 0x51eade
mov ecx, dword [ebx + 0xc]
cmp edx, ecx
jb 0x51ef84
cmp byte [ebx + 0x1c], 0
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 4]
je 0x51f623
nop
lea esi, [esi]
sub edx, ecx
mov dword [ebp + 0x18], 3
add eax, edx
mov dword [ebp + 0x1c], eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov ecx, dword [ebx + 0xc]
cmp edx, ecx
jb 0x51f0a0
cmp byte [ebx + 0x1c], 0
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 4]
jne 0x51eb80
add eax, dword [ebx + 0x14]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51f0a6
mov byte [edx + eax], 0
mov eax, dword [ebx + 0xc]
mov byte [ebx + 0x1c], 1
mov edx, dword [ebx + 0x10]
lea ecx, [eax + 1]
mov dword [ebx + 0xc], ecx
jmp 0x51f0a6
bt edi, ecx
jae 0x51eed5
cmp dword [ebx + 0xc], edx
ja 0x51ec80
cmp byte [ebx + 0x1c], 0
jne 0x51ea90
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51ec72
mov byte [edx + eax], 0
add dword [ebx + 0xc], 1
mov edx, dword [ebx + 0x10]
mov byte [ebx + 0x1c], 1
movzx eax, byte [edx]
jmp 0x51ea90
lea ecx, [edx + 1]
mov dword [ebx + 0x10], ecx
movzx eax, byte [edx + 1]
mov edx, ecx
jmp 0x51ea90
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], 0
call fcn.00526370
sub esp, 0xc
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret 8
cmp edx, dword [ebx + 0xc]
jb 0x51f010
cmp byte [ebx + 0x1c], 0
je 0x51f5d3
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
lea eax, [edx + 0x10]
cmp eax, ecx
ja 0x51fa07
test edx, edx
mov dword [esi + 0x24], eax
je 0x51ed01
mov edi, 3
mov dword [edx + 0xc], 0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov word [edx + 0xe], di
mov edx, dword [ebx + 0x10]
mov edi, 0x800013
movzx eax, byte [edx]
lea esi, [esi]
lea ecx, [eax - 9]
cmp cl, 0x17
jbe 0x51ede0
mov edi, 0x800013
cmp al, 0x2f
jne 0x51ef30
cmp dword [ebx + 0xc], edx
ja 0x51f290
cmp byte [ebx + 0x1c], 0
je 0x51f6d0
cmp byte [ebx + 0x1c], 0
je 0x520c23
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x18], ebp
movzx ecx, byte [edx]
jmp 0x51ed69
lea ebp, [edx + 1]
mov dword [ebx + 0x10], ebp
movzx eax, byte [edx + 1]
mov edx, ebp
cmp cl, 0xa
je 0x5206b1
mov ecx, eax
test cl, cl
je 0x51ef27
cmp dword [ebx + 0xc], edx
ja 0x51ed52
cmp byte [ebx + 0x1c], 0
mov eax, ecx
jne 0x51ed5e
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov byte [esp + 0x1c], cl
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
movzx ecx, byte [esp + 0x1c]
lea ebp, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ebp
jae 0x51edd1
mov byte [edx + eax], 0
add dword [ebx + 0xc], 1
mov edx, dword [ebx + 0x10]
mov byte [ebx + 0x1c], 1
movzx eax, byte [edx]
jmp 0x51ed5e
bt edi, ecx
jae 0x51ef30
cmp dword [ebx + 0xc], edx
ja 0x51ee50
cmp byte [ebx + 0x1c], 0
jne 0x51ed10
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51ee42
mov byte [edx + eax], 0
add dword [ebx + 0xc], 1
mov edx, dword [ebx + 0x10]
mov byte [ebx + 0x1c], 1
movzx eax, byte [edx]
jmp 0x51ed10
lea ecx, [edx + 1]
mov dword [ebx + 0x10], ecx
movzx eax, byte [edx + 1]
mov edx, ecx
jmp 0x51ed10
mov ecx, dword [ebx + 0xc]
cmp edx, ecx
jb 0x51f020
cmp byte [ebx + 0x1c], 0
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 4]
jne 0x51eb80
add eax, dword [ebx + 0x14]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51f026
mov byte [edx + eax], 0
mov eax, dword [ebx + 0xc]
mov byte [ebx + 0x1c], 1
mov edx, dword [ebx + 0x10]
lea ecx, [eax + 1]
mov dword [ebx + 0xc], ecx
jmp 0x51f026
mov ebp, dword [esp + 0x18]
mov ecx, dword [ebp + 0x18]
test ecx, ecx
jne 0x51eb8e
cmp byte [edx], 0x5d
jne 0x51fab5
cmp edx, dword [ebx + 0xc]
jb 0x51f920
cmp byte [ebx + 0x1c], 0
je 0x51f878
mov eax, dword [esi + 0x24]
mov edx, 4
mov word [eax - 2], dx
mov dword [eax - 8], 0
mov dword [eax - 0xc], 0
mov dword [eax - 0x10], 0
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov ebp, dword [esp + 0x18]
nop
lea esi, [esi]
mov ecx, dword [ebp + 0x18]
test ecx, ecx
jne 0x51eb8e
movzx eax, byte [edx]
cmp al, 0x7d
jne 0x51ff13
cmp dword [ebx + 0xc], edx
ja 0x51f950
cmp byte [ebx + 0x1c], 0
je 0x51f828
mov eax, dword [esi + 0x24]
mov edx, 3
mov word [eax - 2], dx
mov dword [eax - 8], 0
mov dword [eax - 0xc], 0
mov dword [eax - 0x10], 0
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret 8
add edx, 1
mov dword [ebx + 0x10], edx
cmp byte [edx], 0x72
jne 0x51faaa
cmp edx, ecx
jb 0x51f120
cmp byte [ebx + 0x1c], 0
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 4]
jne 0x51eb80
add eax, dword [ebx + 0x14]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51f126
mov byte [edx + eax], 0
mov eax, dword [ebx + 0xc]
mov byte [ebx + 0x1c], 1
mov edx, dword [ebx + 0x10]
lea ecx, [eax + 1]
mov dword [ebx + 0xc], ecx
jmp 0x51f126
add edx, 1
mov dword [ebx + 0x10], edx
jmp 0x51ea3f
add edx, 1
mov dword [ebx + 0x10], edx
jmp 0x51ecc5
add edx, 1
mov dword [ebx + 0x10], edx
cmp byte [edx], 0x61
jne 0x51faaa
cmp edx, ecx
jb 0x51f1a0
cmp byte [ebx + 0x1c], 0
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 4]
jne 0x51eb80
add eax, dword [ebx + 0x14]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51f1a6
mov byte [edx + eax], 0
mov eax, dword [ebx + 0xc]
mov byte [ebx + 0x1c], 1
mov edx, dword [ebx + 0x10]
lea ecx, [eax + 1]
mov dword [ebx + 0xc], ecx
jmp 0x51f1a6
add edx, 1
mov dword [ebx + 0x10], edx
cmp byte [edx], 0x75
jne 0x51faaa
cmp edx, ecx
jb 0x51f220
cmp byte [ebx + 0x1c], 0
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 4]
jne 0x51eb80
add eax, dword [ebx + 0x14]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51f226
mov byte [edx + eax], 0
mov eax, dword [ebx + 0xc]
mov byte [ebx + 0x1c], 1
mov edx, dword [ebx + 0x10]
lea ecx, [eax + 1]
mov dword [ebx + 0xc], ecx
jmp 0x51f226
add edx, 1
mov dword [ebx + 0x10], edx
cmp byte [edx], 0x75
jne 0x51faaa
cmp edx, ecx
jb 0x51f492
cmp byte [ebx + 0x1c], 0
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 4]
jne 0x51eb80
add eax, dword [ebx + 0x14]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51f498
mov byte [edx + eax], 0
mov eax, dword [ebx + 0xc]
mov byte [ebx + 0x1c], 1
mov edx, dword [ebx + 0x10]
lea ecx, [eax + 1]
mov dword [ebx + 0xc], ecx
jmp 0x51f498
add edx, 1
mov dword [ebx + 0x10], edx
cmp byte [edx], 0x6c
jne 0x51faaa
cmp edx, ecx
jb 0x51f500
cmp byte [ebx + 0x1c], 0
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 4]
jne 0x51eb80
add eax, dword [ebx + 0x14]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51f506
mov byte [edx + eax], 0
mov eax, dword [ebx + 0xc]
mov byte [ebx + 0x1c], 1
mov edx, dword [ebx + 0x10]
lea ecx, [eax + 1]
mov dword [ebx + 0xc], ecx
jmp 0x51f506
add edx, 1
mov dword [ebx + 0x10], edx
cmp byte [edx], 0x6c
jne 0x51faaa
cmp edx, ecx
jb 0x51f470
cmp byte [ebx + 0x1c], 0
je 0x51f780
cmp byte [ebx + 0x1c], 0
je 0x51f7d8
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
lea eax, [edx + 0x10]
cmp eax, ecx
ja 0x520080
test edx, edx
mov dword [esi + 0x24], eax
je 0x51eb8e
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
jmp 0x51eb8e
add edx, 1
mov dword [ebx + 0x10], edx
movzx ecx, byte [edx]
cmp cl, 0x2a
jne 0x520db1
cmp dword [ebx + 0xc], edx
ja 0x51fa99
cmp byte [ebx + 0x1c], 0
je 0x520321
test cl, cl
je 0x52027f
mov eax, dword [ebx + 0xc]
cmp cl, 0x2a
mov dword [esp + 0x18], eax
jne 0x51fa91
cmp eax, edx
ja 0x51f2e3
cmp byte [ebx + 0x1c], 0
je 0x5203ca
cmp eax, edx
mov dword [esp + 0x18], eax
jbe 0x51f2d1
add edx, 1
mov dword [ebx + 0x10], edx
movzx ecx, byte [edx]
cmp cl, 0x2f
jne 0x51f2b5
cmp edx, dword [esp + 0x18]
jb 0x51fa80
cmp byte [ebx + 0x1c], 0
jne 0x51ed29
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51f34f
mov byte [edx + eax], 0
add dword [ebx + 0xc], 1
mov edx, dword [ebx + 0x10]
mov byte [ebx + 0x1c], 1
movzx eax, byte [edx]
lea ecx, [eax - 9]
cmp cl, 0x17
ja 0x51ed21
bt edi, ecx
jae 0x51ed21
cmp dword [ebx + 0xc], edx
ja 0x51fa80
cmp byte [ebx + 0x1c], 0
jne 0x51f352
jmp 0x51f305
add edx, 1
mov dword [ebx + 0x10], edx
movzx ecx, byte [edx]
cmp cl, 0x2a
jne 0x520d94
cmp dword [ebx + 0xc], edx
ja 0x51fa6c
cmp byte [ebx + 0x1c], 0
je 0x5202cf
test cl, cl
je 0x52027f
mov eax, dword [ebx + 0xc]
cmp cl, 0x2a
mov dword [esp + 0x18], eax
jne 0x51fa64
cmp eax, edx
ja 0x51f3d3
cmp byte [ebx + 0x1c], 0
je 0x52042a
cmp eax, edx
mov dword [esp + 0x18], eax
jbe 0x51f3c1
add edx, 1
mov dword [ebx + 0x10], edx
movzx ecx, byte [edx]
cmp cl, 0x2f
jne 0x51f3a5
cmp edx, dword [esp + 0x18]
jb 0x51fa53
cmp byte [ebx + 0x1c], 0
jne 0x51eaa9
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51f43f
mov byte [edx + eax], 0
add dword [ebx + 0xc], 1
mov edx, dword [ebx + 0x10]
mov byte [ebx + 0x1c], 1
movzx eax, byte [edx]
lea ecx, [eax - 9]
cmp cl, 0x17
ja 0x51eaa1
bt edi, ecx
jae 0x51eaa1
cmp dword [ebx + 0xc], edx
ja 0x51fa53
cmp byte [ebx + 0x1c], 0
jne 0x51f442
jmp 0x51f3f5
add edx, 1
mov dword [ebx + 0x10], edx
cmp byte [edx], 0x6c
jne 0x51faaa
cmp edx, ecx
jae 0x51f241
add edx, 1
mov dword [ebx + 0x10], edx
jmp 0x51f24b
add edx, 1
mov dword [ebx + 0x10], edx
cmp byte [edx], 0x65
jne 0x51faaa
cmp edx, ecx
jb 0x51f930
cmp byte [ebx + 0x1c], 0
je 0x51f8c8
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
lea eax, [edx + 0x10]
cmp eax, ecx
ja 0x5200c7
test edx, edx
mov dword [esi + 0x24], eax
je 0x51eb8e
mov ebp, 0xa
mov dword [edx + 0xc], 0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov word [edx + 0xe], bp
jmp 0x51eb8e
add edx, 1
mov dword [ebx + 0x10], edx
cmp byte [edx], 0x73
jne 0x51faaa
cmp edx, ecx
jb 0x51f940
cmp byte [ebx + 0x1c], 0
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 4]
jne 0x51eb80
add eax, dword [ebx + 0x14]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51f573
mov byte [edx + eax], 0
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
mov byte [ebx + 0x1c], 1
lea ecx, [eax + 1]
mov dword [ebx + 0xc], ecx
cmp byte [edx], 0x65
jne 0x51faaa
cmp edx, ecx
jb 0x51f960
cmp byte [ebx + 0x1c], 0
je 0x51f96b
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
lea eax, [edx + 0x10]
cmp eax, ecx
ja 0x52010e
test edx, edx
mov dword [esi + 0x24], eax
je 0x51eb8e
mov ebx, 9
mov dword [edx + 0xc], 0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov word [edx + 0xe], bx
jmp 0x51eb8e
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51ecc5
mov byte [edx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
jmp 0x51ecc5
add eax, dword [ebx + 0x14]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51ef8a
mov byte [edx + eax], 0
mov eax, dword [ebx + 0xc]
mov byte [ebx + 0x1c], 1
mov edx, dword [ebx + 0x10]
lea ecx, [eax + 1]
mov dword [ebx + 0xc], ecx
jmp 0x51ef8a
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51ea3f
mov byte [edx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
jmp 0x51ea3f
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51f296
mov byte [edx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
mov edx, dword [ebx + 0x10]
jmp 0x51f296
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51f386
mov byte [edx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
mov edx, dword [ebx + 0x10]
jmp 0x51f386
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51f476
mov byte [edx + eax], 0
mov eax, dword [ebx + 0xc]
mov byte [ebx + 0x1c], 1
mov edx, dword [ebx + 0x10]
lea ecx, [eax + 1]
mov dword [ebx + 0xc], ecx
jmp 0x51f476
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51f24b
mov byte [edx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
jmp 0x51f24b
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51ef59
mov byte [edx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
jmp 0x51ef59
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51eefc
mov byte [edx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
jmp 0x51eefc
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51f4b3
mov byte [edx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
jmp 0x51f4b3
add edx, 1
mov dword [ebx + 0x10], edx
jmp 0x51eefc
add edx, 1
mov dword [ebx + 0x10], edx
jmp 0x51f4b3
add edx, 1
mov dword [ebx + 0x10], edx
jmp 0x51f573
add edx, 1
mov dword [ebx + 0x10], edx
jmp 0x51ef59
add edx, 1
mov dword [ebx + 0x10], edx
jmp 0x51f58e
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51f58e
mov byte [edx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
jmp 0x51f58e
mov eax, dword [esi + 0x20]
test eax, eax
je 0x52023f
sub ecx, eax
lea edi, [ecx + 1]
shr edi, 1
add ecx, edi
sub edx, eax
lea edi, [edx + 0x10]
mov dword [esp + 0x18], edx
cmp edi, ecx
cmovb edi, ecx
test edi, edi
je 0x520155
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_realloc
mov edx, dword [esp + 0x18]
add edx, eax
mov dword [esi + 0x20], eax
add eax, edi
mov dword [esi + 0x28], eax
lea eax, [edx + 0x10]
jmp 0x51ea50
mov eax, dword [esi + 0x20]
test eax, eax
je 0x520252
sub ecx, eax
lea edi, [ecx + 1]
shr edi, 1
add ecx, edi
sub edx, eax
lea edi, [edx + 0x10]
mov dword [esp + 0x18], edx
cmp edi, ecx
cmovb edi, ecx
test edi, edi
je 0x520168
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_realloc
mov edx, dword [esp + 0x18]
add edx, eax
mov dword [esi + 0x20], eax
add eax, edi
mov dword [esi + 0x28], eax
lea eax, [edx + 0x10]
jmp 0x51ecd6
lea ecx, [edx + 1]
mov dword [ebx + 0x10], ecx
movzx eax, byte [edx + 1]
mov edx, ecx
jmp 0x51f442
cmp edx, eax
jae 0x51f39b
lea eax, [edx + 1]
mov dword [ebx + 0x10], eax
movzx ecx, byte [edx + 1]
mov edx, eax
jmp 0x51f3a5
lea ecx, [edx + 1]
mov dword [ebx + 0x10], ecx
movzx eax, byte [edx + 1]
mov edx, ecx
jmp 0x51f352
cmp edx, eax
jae 0x51f2ab
lea eax, [edx + 1]
mov dword [ebx + 0x10], eax
movzx ecx, byte [edx + 1]
mov edx, eax
jmp 0x51f2b5
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 4]
jmp 0x51eb80
mov dword [esp + 0x18], 0
mov edi, 0x800013
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x1c]
mov dword [esp], ebx
mov ecx, ebp
mov dword [esp + 4], eax
call fcn.0051e9d0
mov eax, dword [ebp + 0x18]
sub esp, 8
test eax, eax
jne 0x51eb8e
add dword [esp + 0x18], 1
mov ecx, dword [ebx + 0x10]
movzx edx, byte [ecx]
lea eax, [edx - 9]
cmp al, 0x17
jbe 0x51fbc0
cmp dl, 0x2f
jne 0x51fc53
cmp dword [ebx + 0xc], ecx
ja 0x51fec2
cmp byte [ebx + 0x1c], 0
je 0x52017b
cmp byte [ebx + 0x1c], 0
je 0x520c9a
mov edx, dword [ebx + 0x10]
movzx esi, byte [edx]
mov ecx, edx
mov eax, esi
test al, al
je 0x51fb47
cmp edx, dword [ebx + 0xc]
jae 0x52063e
add edx, 1
mov dword [ebx + 0x10], edx
mov eax, esi
cmp al, 0xa
jne 0x51fb25
mov ecx, edx
movzx edx, byte [ecx]
lea esi, [esi]
lea eax, [edx - 9]
cmp al, 0x17
ja 0x51fafc
bt edi, eax
jae 0x51fafc
cmp ecx, dword [ebx + 0xc]
jb 0x51fea0
cmp byte [ebx + 0x1c], 0
jne 0x51fb50
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov ecx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea edx, [ecx + eax - 1]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0xc], edx
jae 0x51fb47
mov byte [ecx + eax], 0
mov ecx, dword [ebx + 0x10]
add dword [ebx + 0xc], 1
mov byte [ebx + 0x1c], 1
movzx edx, byte [ecx]
jmp 0x51fb50
bt edi, eax
jae 0x51fc53
cmp dword [ebx + 0xc], ecx
ja 0x51fc30
cmp byte [ebx + 0x1c], 0
jne 0x51faf1
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov ecx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea edx, [ecx + eax - 1]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0xc], edx
jae 0x51faee
mov byte [ecx + eax], 0
mov ecx, dword [ebx + 0x10]
add dword [ebx + 0xc], 1
mov byte [ebx + 0x1c], 1
movzx edx, byte [ecx]
jmp 0x51faf1
lea eax, [ecx + 1]
mov dword [ebx + 0x10], eax
movzx edx, byte [ecx + 1]
mov ecx, eax
jmp 0x51faf1
mov eax, ecx
sub eax, dword [ebx + 4]
add eax, dword [ebx + 0x18]
mov dword [ebp + 0x18], 0x11
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x51eb8e
movzx edx, byte [ecx]
cmp dl, 0x2c
jne 0x520373
cmp ecx, dword [ebx + 0xc]
jb 0x51fd21
cmp byte [ebx + 0x1c], 0
je 0x51fd4c
lea esi, [esi]
cmp dl, 0x2f
jne 0x51fe46
cmp ecx, dword [ebx + 0xc]
jb 0x520025
cmp byte [ebx + 0x1c], 0
je 0x5201ec
cmp byte [ebx + 0x1c], 0
je 0x520d06
mov ecx, dword [ebx + 0x10]
jmp 0x51fcbb
add ecx, 1
mov dword [ebx + 0x10], ecx
mov eax, esi
cmp al, 0xa
je 0x51fdbf
movzx esi, byte [ecx]
mov eax, esi
test al, al
je 0x51fdbf
cmp ecx, dword [ebx + 0xc]
jb 0x51fcab
cmp byte [ebx + 0x1c], 0
jne 0x51fcb1
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
mov ecx, edx
jae 0x51fcb1
mov byte [edx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
mov ecx, dword [ebx + 0x10]
jmp 0x51fcb1
lea eax, [ecx + 1]
mov dword [ebx + 0x10], eax
movzx edx, byte [ecx + 1]
mov ecx, eax
lea eax, [edx - 9]
cmp al, 0x17
ja 0x51fc80
bt edi, eax
jae 0x51fe46
cmp ecx, dword [ebx + 0xc]
jb 0x51fd21
cmp byte [ebx + 0x1c], 0
jne 0x51fd2d
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov ecx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea edx, [ecx + eax - 1]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0xc], edx
jae 0x51fd96
mov byte [ecx + eax], 0
add dword [ebx + 0xc], 1
mov ecx, dword [ebx + 0x10]
mov byte [ebx + 0x1c], 1
movzx edx, byte [ecx]
jmp 0x51fd2d
add ecx, 1
mov dword [ebx + 0x10], ecx
cmp byte [ecx], 0x2f
jne 0x520071
cmp edx, ecx
ja 0x52069d
cmp byte [ebx + 0x1c], 0
je 0x5208e3
mov ecx, dword [ebx + 0x10]
movzx edx, byte [ecx]
lea eax, [edx - 9]
cmp al, 0x17
ja 0x51fc80
bt edi, eax
jae 0x51fc80
cmp dword [ebx + 0xc], ecx
ja 0x51feb1
cmp byte [ebx + 0x1c], 0
jne 0x51fdc2
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov ecx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea edx, [ecx + eax - 1]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0xc], edx
jae 0x51fdbf
mov byte [ecx + eax], 0
mov ecx, dword [ebx + 0x10]
add dword [ebx + 0xc], 1
mov byte [ebx + 0x1c], 1
movzx edx, byte [ecx]
jmp 0x51fdc2
mov eax, ecx
sub eax, dword [ebx + 4]
add eax, dword [ebx + 0x18]
mov dword [ebp + 0x18], 0x11
mov dword [ebp + 0x1c], eax
mov esi, dword [ebp + 0x18]
test esi, esi
jne 0x51eb8e
cmp byte [ecx], 0x5d
jne 0x51fac6
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [esi + 0x24]
mov eax, edi
mov edx, dword [esi + 0x10]
shl eax, 4
sub ecx, eax
mov dword [esi + 0x24], ecx
mov eax, ecx
lea ecx, [ecx - 0x10]
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0051d770
mov ecx, ebx
sub esp, 0xc
call fcn.005292a0
jmp 0x51eb8e
lea eax, [ecx + 1]
mov dword [ebx + 0x10], eax
movzx edx, byte [ecx + 1]
mov ecx, eax
jmp 0x51fb50
lea eax, [ecx + 1]
mov dword [ebx + 0x10], eax
movzx edx, byte [ecx + 1]
mov ecx, eax
jmp 0x51fdc2
add ecx, 1
mov dword [ebx + 0x10], ecx
movzx eax, byte [ecx]
cmp al, 0x2a
jne 0x520c7e
cmp ecx, dword [ebx + 0xc]
jb 0x5205e7
cmp byte [ebx + 0x1c], 0
je 0x520712
movzx eax, byte [ecx]
test al, al
je 0x51fc41
cmp al, 0x2a
mov edx, dword [ebx + 0xc]
jne 0x520b66
cmp edx, ecx
ja 0x520577
cmp byte [ebx + 0x1c], 0
je 0x5206ba
mov ecx, dword [ebx + 0x10]
jmp 0x51fee6
xor edi, edi
cmp al, 0x22
jne 0x520560
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov ecx, ebp
mov dword [esp], ebx
call fcn.00526370
mov eax, dword [ebp + 0x18]
sub esp, 0xc
test eax, eax
jne 0x51eb8e
mov dword [esp], ebx
mov ecx, ebp
call fcn.00528c50
mov eax, dword [ebp + 0x18]
sub esp, 4
test eax, eax
jne 0x51eb8e
mov eax, dword [ebx + 0x10]
cmp byte [eax], 0x3a
jne 0x5205f2
cmp eax, dword [ebx + 0xc]
jb 0x520274
cmp byte [ebx + 0x1c], 0
je 0x520510
mov dword [esp], ebx
mov ecx, ebp
call fcn.00528c50
mov eax, dword [ebp + 0x18]
sub esp, 4
test eax, eax
jne 0x51eb8e
mov dword [esp + 4], esi
mov dword [esp], ebx
mov ecx, ebp
call fcn.0051e9d0
mov eax, dword [ebp + 0x18]
sub esp, 8
test eax, eax
jne 0x51eb8e
mov dword [esp], ebx
mov ecx, ebp
call fcn.00528c50
mov eax, dword [ebp + 0x18]
sub esp, 4
test eax, eax
jne 0x51eb8e
mov eax, dword [ebx + 0x10]
add edi, 1
movzx edx, byte [eax]
cmp dl, 0x2c
je 0x52049f
cmp dl, 0x7d
jne 0x52048a
cmp eax, dword [ebx + 0xc]
jb 0x520612
cmp byte [ebx + 0x1c], 0
je 0x520a4a
mov ebx, dword [esi + 0x24]
mov edx, edi
mov ebp, 3
shl edx, 5
sub ebx, edx
test edi, edi
mov dword [esi + 0x24], ebx
mov esi, dword [esi + 0x10]
mov word [ebx - 2], bp
jne 0x520840
mov dword [ebx - 8], 0
mov dword [ebx - 0xc], edi
mov dword [ebx - 0x10], edi
jmp 0x51eb8e
add ecx, 1
mov dword [ebx + 0x10], ecx
movzx eax, byte [ecx]
cmp al, 0x2a
jne 0x520cea
cmp ecx, dword [ebx + 0xc]
jb 0x520633
cmp byte [ebx + 0x1c], 0
je 0x520a9a
movzx eax, byte [ecx]
test al, al
je 0x51fe34
cmp al, 0x2a
mov edx, dword [ebx + 0xc]
jne 0x520b04
cmp edx, ecx
ja 0x51fd9b
cmp byte [ebx + 0x1c], 0
je 0x5209d5
mov ecx, dword [ebx + 0x10]
jmp 0x520049
mov eax, dword [esi + 0x20]
test eax, eax
je 0x520296
sub ecx, eax
lea ebx, [ecx + 1]
shr ebx, 1
add ecx, ebx
mov edi, edx
sub edi, eax
lea ebx, [edi + 0x10]
cmp ebx, ecx
cmovb ebx, ecx
test ebx, ebx
je 0x5201ce
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_realloc
lea edx, [eax + edi]
mov dword [esi + 0x20], eax
add eax, ebx
mov dword [esi + 0x28], eax
lea eax, [edx + 0x10]
jmp 0x51f25c
mov eax, dword [esi + 0x20]
test eax, eax
je 0x5202a9
sub ecx, eax
lea ebx, [ecx + 1]
shr ebx, 1
add ecx, ebx
mov edi, edx
sub edi, eax
lea ebx, [edi + 0x10]
cmp ebx, ecx
cmovb ebx, ecx
test ebx, ebx
je 0x5201dd
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_realloc
lea edx, [eax + edi]
mov dword [esi + 0x20], eax
add eax, ebx
mov dword [esi + 0x28], eax
lea eax, [edx + 0x10]
jmp 0x51f4c4
mov eax, dword [esi + 0x20]
test eax, eax
je 0x5202bc
sub ecx, eax
lea ebx, [ecx + 1]
shr ebx, 1
add ecx, ebx
mov edi, edx
sub edi, eax
lea ebx, [edi + 0x10]
cmp ebx, ecx
cmovb ebx, ecx
test ebx, ebx
je 0x520265
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_realloc
lea edx, [eax + edi]
mov dword [esi + 0x20], eax
add eax, ebx
mov dword [esi + 0x28], eax
lea eax, [edx + 0x10]
jmp 0x51f59f
mov dword [esp], eax
call sub.msvcrt.dll_free
xor eax, eax
mov edx, dword [esp + 0x18]
jmp 0x51f9f5
mov dword [esp], eax
call sub.msvcrt.dll_free
xor eax, eax
mov edx, dword [esp + 0x18]
jmp 0x51fa41
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov ecx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea edx, [ecx + eax - 1]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0xc], edx
jae 0x51fec8
mov byte [ecx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
mov ecx, dword [ebx + 0x10]
jmp 0x51fec8
mov dword [esp], eax
call sub.msvcrt.dll_free
xor eax, eax
jmp 0x5200b4
mov dword [esp], eax
call sub.msvcrt.dll_free
xor eax, eax
jmp 0x5200fb
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov ecx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea edx, [ecx + eax - 1]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0xc], edx
jae 0x52002b
mov byte [ecx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
mov ecx, dword [ebx + 0x10]
jmp 0x52002b
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x520765
mov ecx, dword [esi + 0x2c]
jmp 0x51f9cf
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x520782
mov ecx, dword [esi + 0x2c]
jmp 0x51fa1b
mov dword [esp], eax
call sub.msvcrt.dll_free
xor eax, eax
jmp 0x520142
add eax, 1
mov dword [ebx + 0x10], eax
jmp 0x51ff78
mov eax, edx
sub eax, dword [ebx + 4]
add eax, dword [ebx + 0x18]
mov dword [ebp + 0x18], 0x11
mov dword [ebp + 0x1c], eax
jmp 0x51eb8e
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x5208c6
mov ecx, dword [esi + 0x2c]
jmp 0x520094
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x52079f
mov ecx, dword [esi + 0x2c]
jmp 0x5200db
mov edi, dword [esi + 0x18]
test edi, edi
je 0x520a2d
mov ecx, dword [esi + 0x2c]
jmp 0x520122
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x520319
mov byte [edx + eax], 0
add dword [ebx + 0xc], 1
mov edx, dword [ebx + 0x10]
mov byte [ebx + 0x1c], 1
movzx ecx, byte [edx]
jmp 0x51f3a5
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x52036b
mov byte [edx + eax], 0
add dword [ebx + 0xc], 1
mov edx, dword [ebx + 0x10]
mov byte [ebx + 0x1c], 1
movzx ecx, byte [edx]
jmp 0x51f2b5
cmp dl, 0x5d
mov esi, dword [esp + 0x1c]
jne 0x520aed
cmp ecx, dword [ebx + 0xc]
jb 0x520628
cmp byte [ebx + 0x1c], 0
je 0x520935
mov eax, dword [esp + 0x18]
mov ebx, dword [esi + 0x24]
mov edx, 4
mov ebp, eax
shl ebp, 4
sub ebx, ebp
test eax, eax
mov dword [esi + 0x24], ebx
mov esi, dword [esi + 0x10]
mov word [ebx - 2], dx
jne 0x5207bc
mov dword [ebx - 8], 0
mov dword [ebx - 0xc], eax
mov dword [ebx - 0x10], eax
jmp 0x51eb8e
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [esp + 0x18], ecx
mov dword [ebx + 0xc], ecx
jae 0x51f2e9
mov byte [edx + eax], 0
mov eax, dword [ebx + 0xc]
mov byte [ebx + 0x1c], 1
mov edx, dword [ebx + 0x10]
add eax, 1
mov dword [esp + 0x18], eax
mov dword [ebx + 0xc], eax
jmp 0x51f2e9
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [esp + 0x18], ecx
mov dword [ebx + 0xc], ecx
jae 0x51f3d9
mov byte [edx + eax], 0
mov eax, dword [ebx + 0xc]
mov byte [ebx + 0x1c], 1
mov edx, dword [ebx + 0x10]
add eax, 1
mov dword [esp + 0x18], eax
mov dword [ebx + 0xc], eax
jmp 0x51f3d9
sub eax, dword [ebx + 4]
add eax, dword [ebx + 0x18]
mov dword [ebp + 0x18], 6
mov dword [ebp + 0x1c], eax
jmp 0x51eb8e
cmp eax, dword [ebx + 0xc]
jb 0x52061d
cmp byte [ebx + 0x1c], 0
je 0x520985
mov dword [esp], ebx
mov ecx, ebp
call fcn.00528c50
mov eax, dword [ebp + 0x18]
sub esp, 4
test eax, eax
jne 0x51eb8e
mov edx, dword [ebx + 0x10]
movzx eax, byte [edx]
cmp al, 0x7d
jne 0x51ff15
mov ecx, dword [esi + 0x24]
mov eax, edi
mov edx, dword [esi + 0x10]
shl eax, 5
sub ecx, eax
mov dword [esi + 0x24], ecx
mov eax, ecx
lea ecx, [ecx - 0x10]
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0051d870
mov ecx, ebx
sub esp, 0xc
call fcn.005292a0
jmp 0x51eb8e
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51ff78
mov byte [edx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
jmp 0x51ff78
mov eax, edx
sub eax, dword [ebx + 4]
add eax, dword [ebx + 0x18]
mov dword [ebp + 0x18], 4
mov dword [ebp + 0x1c], eax
jmp 0x51eb8e
add ecx, 1
mov dword [ebx + 0x10], ecx
cmp byte [ecx], 0x2f
jne 0x51ff0e
cmp ecx, edx
jb 0x520607
cmp byte [ebx + 0x1c], 0
jne 0x51fb47
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov ecx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea edx, [ecx + eax - 1]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0xc], edx
jae 0x51fb47
mov byte [ecx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
mov ecx, dword [ebx + 0x10]
jmp 0x51fb47
add ecx, 1
mov dword [ebx + 0x10], ecx
jmp 0x51fee6
sub eax, dword [ebx + 4]
add eax, dword [ebx + 0x18]
mov dword [ebp + 0x18], 5
mov dword [ebp + 0x1c], eax
jmp 0x51eb8e
add ecx, 1
mov dword [ebx + 0x10], ecx
jmp 0x51fb47
add eax, 1
mov dword [ebx + 0x10], eax
jmp 0x51fff2
add eax, 1
mov dword [ebx + 0x10], eax
jmp 0x5204b2
lea edx, [ecx + 1]
mov dword [ebx + 0x10], edx
jmp 0x520393
add ecx, 1
mov dword [ebx + 0x10], ecx
jmp 0x520049
cmp byte [ebx + 0x1c], 0
jne 0x51fb3f
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov ecx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea edx, [ecx + eax - 1]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0xc], edx
mov edx, ecx
jae 0x51fb3f
mov byte [ecx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
mov edx, dword [ebx + 0x10]
jmp 0x51fb3f
add ecx, 1
mov dword [ebx + 0x10], ecx
jmp 0x51fdbf
mov ebp, dword [esp + 0x18]
jmp 0x51f442
mov ebp, dword [esp + 0x18]
jmp 0x51f352
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov ecx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea edx, [ecx + eax - 1]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0xc], edx
jae 0x52057d
mov byte [ecx + eax], 0
mov eax, dword [ebx + 0xc]
mov byte [ebx + 0x1c], 1
mov ecx, dword [ebx + 0x10]
lea edx, [eax + 1]
mov dword [ebx + 0xc], edx
jmp 0x52057d
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov ecx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea edx, [ecx + eax - 1]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0xc], edx
jae 0x51fee6
mov byte [ecx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
mov ecx, dword [ebx + 0x10]
jmp 0x51fee6
mov dword [esp], 1
call fcn.0053ca80
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x20]
jmp 0x52024a
mov dword [esp], 1
call fcn.0053ca80
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x20]
jmp 0x52025d
mov dword [esp], 1
call fcn.0053ca80
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x20]
jmp 0x5202b4
test ebp, ebp
je 0x5207f1
mov ecx, dword [esi]
mov edi, ebp
test ecx, ecx
je 0x5207d1
mov eax, dword [ecx + 4]
add eax, ebp
cmp eax, dword [ecx]
jbe 0x520831
cmp dword [esi + 4], edi
mov eax, edi
cmovae eax, dword [esi + 4]
cmp dword [esi + 0xc], 0
mov dword [esp + 0x1c], eax
je 0x520d7d
mov eax, dword [esp + 0x1c]
add eax, 0xc
jne 0x52080f
xor eax, eax
mov dword [ebx - 8], eax
mov dword [esp + 8], ebp
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x18]
jmp 0x5203bf
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
je 0x5207f1
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], 0
mov dword [eax], ecx
mov ecx, dword [esi]
mov dword [eax + 8], ecx
mov ecx, eax
mov dword [esi], eax
mov esi, dword [ecx + 4]
lea edx, [edi + esi]
lea eax, [ecx + esi + 0xc]
mov dword [ecx + 4], edx
jmp 0x5207f3
test edx, edx
je 0x520870
mov ebp, dword [esi]
mov ecx, edx
test ebp, ebp
je 0x520856
mov eax, dword [ebp + 4]
add eax, edx
cmp eax, dword [ebp]
jbe 0x5208b8
cmp dword [esi + 4], ecx
mov ebp, ecx
cmovae ebp, dword [esi + 4]
cmp dword [esi + 0xc], 0
je 0x520d56
mov eax, ebp
add eax, 0xc
jne 0x52088a
xor eax, eax
mov dword [ebx - 8], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
jmp 0x52001a
mov dword [esp], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
call sub.msvcrt.dll_malloc
test eax, eax
mov edx, dword [esp + 0x18]
je 0x520870
mov dword [eax], ebp
mov ebp, dword [esi]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], 0
mov dword [eax + 8], ebp
mov ebp, eax
mov dword [esi], eax
mov esi, dword [ebp + 4]
add ecx, esi
lea eax, [ebp + esi + 0xc]
mov dword [ebp + 4], ecx
jmp 0x520872
mov dword [esp], 1
call fcn.0053ca80
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x20]
jmp 0x5202a1
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
mov ecx, edx
jae 0x51fdbf
mov byte [edx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
jmp 0x51fdbc
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x520393
mov byte [edx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
jmp 0x520393
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x5204b2
mov byte [edx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
jmp 0x5204b2
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov ecx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea edx, [ecx + eax - 1]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0xc], edx
jae 0x51fda1
mov byte [ecx + eax], 0
mov eax, dword [ebx + 0xc]
mov byte [ebx + 0x1c], 1
mov ecx, dword [ebx + 0x10]
lea edx, [eax + 1]
mov dword [ebx + 0xc], edx
jmp 0x51fda1
mov dword [esp], 1
call fcn.0053ca80
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x20]
jmp 0x5202c7
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51fff2
mov byte [edx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
jmp 0x51fff2
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov ecx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea edx, [ecx + eax - 1]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0xc], edx
jae 0x520049
mov byte [ecx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
mov ecx, dword [ebx + 0x10]
jmp 0x520049
mov eax, ecx
sub eax, dword [ebx + 4]
add eax, dword [ebx + 0x18]
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x1c], eax
jmp 0x51eb8e
cmp edx, ecx
ja 0x520c18
cmp byte [ebx + 0x1c], 0
jne 0x520071
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x520071
mov byte [edx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
jmp 0x520071
cmp edx, ecx
ja 0x520c73
cmp byte [ebx + 0x1c], 0
jne 0x51ff0e
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51ff0e
mov byte [edx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
jmp 0x51ff0e
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51eac6
mov byte [edx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
jmp 0x51eac6
add ecx, 1
mov dword [ebx + 0x10], ecx
jmp 0x520071
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51ed46
mov byte [edx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
jmp 0x51ed46
add ecx, 1
mov dword [ebx + 0x10], ecx
jmp 0x51ff0e
cmp al, 0x2f
jne 0x51fc41
cmp ecx, dword [ebx + 0xc]
jae 0x51fb18
add ecx, 1
mov dword [ebx + 0x10], ecx
jmp 0x51fb22
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51fb22
mov byte [edx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
jmp 0x51fb22
cmp al, 0x2f
jne 0x51fe34
cmp dword [ebx + 0xc], ecx
jbe 0x51fc9c
add ecx, 1
mov dword [ebx + 0x10], ecx
jmp 0x51fca6
mov eax, dword [ebx + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov edx, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea ecx, [edx + eax - 1]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0xc], ecx
jae 0x51fca6
mov byte [edx + eax], 0
mov byte [ebx + 0x1c], 1
add dword [ebx + 0xc], 1
jmp 0x51fca6
mov dword [esp], 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
call fcn.0053ca80
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov edx, dword [esp + 0x18]
jmp 0x520869
mov dword [esp], 1
call fcn.0053ca80
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
jmp 0x5207e8
cmp cl, 0x2f
jne 0x52027f
cmp dword [ebx + 0xc], edx
jbe 0x51eabc
add edx, 1
mov dword [ebx + 0x10], edx
jmp 0x51eac6
cmp cl, 0x2f
jne 0x52027f
cmp dword [ebx + 0xc], edx
jbe 0x51ed3c
add edx, 1
mov dword [ebx + 0x10], edx
jmp 0x51ed46