Function at 0x5ae990
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xcc], ecx
lea ecx, [ebp - 0xa4]
mov esi, eax
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.005f4c40
mov eax, dword [ebp + 0x10]
add eax, 4
mov dword [ebp - 0xc0], eax
sub esp, 4
cmp esi, eax
je 0x5b024a
mov eax, dword [ebp - 0xb8]
mov edi, dword [eax + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov dword [ebp - 0xbc], eax
mov eax, dword [edi + 0x80]
cmp eax, 0x83
je 0x5aeac5
cmp eax, 0x84
je 0x5af440
cmp eax, 0x82
je 0x5af210
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc0]
mov dword [ebp - 0xb8], eax
jne 0x5ae9d5
mov ebx, dword [ebp - 0xbc]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
cmp eax, 0xe
je 0x5af71c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
cmp eax, 0xd
je 0x5af71c
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x5b03ad
mov edi, dword [ebp - 0xcc]
mov eax, dword [edi + 0x48]
mov dword [ebp - 0xac], eax
lea ecx, [eax + 0x24]
lea eax, [ebp - 0xa4]
mov dword [esp], eax
call fcn.00641750
mov edi, dword [edi + 0x48]
lea esi, [edi + 0x28]
mov dword [ebp - 0xb0], esi
sub esp, 4
cmp esi, eax
je 0x5b05eb
cmp dword [ebp + 0x20], 1
jle 0x5aeab0
mov eax, dword [eax + 0x18]
shl eax, 5
add eax, dword [edi + 0x3c]
mov edx, dword [eax + 0x10]
cmp dword [ebp + 0x20], edx
cmovge edx, dword [ebp + 0x20]
mov dword [eax + 0x10], edx
lea esi, [esi]
mov eax, dword [ebp - 0xa0]
lock sub dword [eax - 4], 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov dword [ebp - 0xc8], edi
mov ebx, dword [ebp - 0xbc]
mov ecx, edi
mov dword [ebp - 0xac], 0
jmp 0x5aec92
lea edx, [eax - 0xd]
cmp dl, 1
jbe 0x5af110
mov byte [ebp - 0x80], al
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x40]
movzx edx, byte [ebp - 0x7f]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x44]
and edx, 0xfffffff0
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x3c], eax
movzx ecx, byte [ebx + 5]
shl ecx, 4
sar cl, 4
mov eax, ecx
and eax, 0xf
or edx, eax
mov byte [ebp - 0x7f], dl
movzx eax, byte [ebx + 5]
mov edi, edx
and edi, 0xf
mov edx, edi
mov byte [ebp - 0xc0], dl
mov byte [ebp - 0xb4], al
sar byte [ebp - 0xb4], 4
movzx eax, byte [ebp - 0xb4]
shl eax, 4
or byte [ebp - 0xc0], al
movzx edx, byte [ebp - 0xc0]
movzx eax, byte [ebp - 0x7e]
mov byte [ebp - 0x7f], dl
movzx esi, byte [ebx + 6]
and eax, 0xfffffff0
and esi, 0xf
or eax, esi
mov byte [ebp - 0x7e], al
movzx edx, byte [ebx + 8]
mov byte [ebp - 0xc4], dl
movzx edx, byte [ebp - 0x7c]
and byte [ebp - 0xc4], 1
and edx, 0xfffffffe
or dl, byte [ebp - 0xc4]
mov byte [ebp - 0x7c], dl
mov edi, dword [ebx + 0x4c]
mov dword [ebp - 0x38], edi
mov edi, dword [ebx + 0x50]
mov dword [ebp - 0x34], edi
mov edi, dword [ebx + 0x54]
mov dword [ebp - 0x30], edi
mov edi, dword [ebx + 0x58]
cmp byte [ebp - 0xb4], 0
mov dword [ebp - 0x2c], edi
jle 0x5af066
mov ecx, esi
and eax, 0xfffffff0
cmp cl, 1
mov byte [ebp - 0x7f], cl
mov byte [ebp - 0x7e], al
je 0x5af200
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0xcc]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xbc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
lea eax, [ebp - 0x9c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb0]
mov dword [esp], eax
call fcn.005ae990
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x84], 0x6f2308
sub esp, 0x1c
lock sub dword [eax - 4], 1
add dword [ebp - 0xac], 1
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ecx]
call dword [eax + 0xb0]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x70]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x40]
mov edx, 1
test eax, eax
cmovle eax, edx
cmp dword [ebp - 0xac], eax
jge 0x5aeab0
lea eax, [ebp - 0xa4]
mov dword [esp], eax
lea ecx, [ebp - 0x9c]
call fcn.005f4c40
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x84]
mov ecx, dword [ebp + 8]
mov edi, esi
mov eax, dword [eax]
sub esp, 4
call dword [eax + 0x20]
mov dword [ebp - 0xb0], esi
cmp eax, 0xe
je 0x5aef08
mov eax, dword [ebp - 0xac]
mov dword [esp + 4], esi
lea esi, [ebp - 0x94]
mov dword [esp + 0xc], 0xa
mov dword [esp + 8], 0x10
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__itoa_s]
call fcn.004cb890
lea ecx, [ebp - 0x8c]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [ebp - 0x94], eax
call fcn.005f4b30
sub esp, 8
call fcn.004cb890
mov ecx, esi
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call fcn.004e7120
mov eax, dword [ebp - 0x88]
mov edi, dword [eax - 0xc]
mov dword [ebp - 0xb4], eax
sub esp, 4
test edi, edi
je 0x5aede7
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax - 0xc]
lea edx, [ecx + edi]
cmp edx, dword [eax - 8]
mov dword [ebp - 0xbc], edx
ja 0x5aed8f
mov edx, dword [eax - 4]
test edx, edx
jle 0x5aedb7
mov eax, dword [ebp - 0xbc]
mov ecx, esi
mov dword [esp], eax
call fcn.005f4880
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x90]
sub esp, 4
mov ecx, dword [eax - 0xc]
add eax, ecx
cmp edi, 1
jne 0x5af036
mov esi, dword [ebp - 0xb4]
movzx edx, byte [esi]
mov byte [eax], dl
mov eax, dword [ebp - 0x90]
mov esi, dword [ebp - 0xbc]
mov dword [eax - 4], 0
mov dword [eax - 0xc], esi
mov byte [eax + esi], 0
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x90]
mov dword [esp], 0xd
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], eax
call fcn.004cba30
mov ecx, dword [ebp - 0xb0]
sub esp, 4
add eax, 0xc
mov dword [eax - 8], 0
mov dword [eax - 4], 0
mov dword [eax - 0xc], 0
mov byte [eax], 0
mov dword [esp + 4], 1
mov dword [esp], 0x6c556e
mov dword [ebp - 0x90], eax
call fcn.005f4090
mov ecx, dword [eax]
sub esp, 8
mov edi, eax
mov esi, dword [eax + 4]
mov dword [esp], 0xd
call fcn.004cba30
mov dword [eax + 8], 0
sub esp, 4
add eax, 0xc
mov dword [eax - 0xc], 0
mov byte [eax], 0
mov edx, dword [esi - 0xc]
mov dword [eax - 8], 0
mov dword [edi + 4], eax
test edx, edx
je 0x5aeee5
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax - 0xc]
lea edi, [ecx + edx]
cmp edi, dword [eax - 8]
ja 0x5aee9b
cmp dword [eax - 4], 0
jle 0x5aeec1
lea ecx, [ebp - 0x9c]
mov dword [esp], edi
mov dword [ebp - 0xb4], edx
call fcn.005f4880
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0xb4]
mov ecx, dword [eax - 0xc]
sub esp, 4
add eax, ecx
cmp edx, 1
jne 0x5af051
movzx edx, byte [esi]
mov byte [eax], dl
mov eax, dword [ebp - 0x98]
mov dword [eax - 4], 0
mov dword [eax - 0xc], edi
mov byte [eax + edi], 0
lock sub dword [esi - 4], 1
mov eax, dword [ebp - 0x80]
lock sub dword [eax - 4], 1
mov eax, dword [ebp - 0x90]
lock sub dword [eax - 4], 1
mov eax, dword [ebp - 0x88]
lock sub dword [eax - 4], 1
mov eax, dword [ebp - 0xb8]
mov ecx, ebx
mov eax, dword [eax]
mov dword [ebp - 0x84], 0x6f2308
mov dword [ebp - 0xbc], eax
mov eax, dword [ebx]
call dword [eax + 0x6c]
test al, al
movzx eax, byte [ebx + 4]
je 0x5aeae2
mov byte [ebp - 0x80], al
mov eax, dword [ebx + 0x5c]
mov ecx, ebx
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x3c], eax
movzx eax, byte [ebp - 0x7f]
movzx edx, byte [ebx + 5]
and eax, 0xfffffff0
and edx, 0xf
or eax, edx
mov byte [ebp - 0x7f], al
movzx edx, byte [ebx + 5]
and eax, 0xf
and edx, 0xfffffff0
or eax, edx
mov byte [ebp - 0x7f], al
movzx eax, byte [ebp - 0x7e]
movzx edx, byte [ebx + 6]
and eax, 0xfffffff0
and edx, 0xf
or eax, edx
mov byte [ebp - 0x7e], al
movzx eax, byte [ebp - 0x7c]
movzx edx, byte [ebx + 8]
and eax, 0xfffffffe
and edx, 1
or eax, edx
mov byte [ebp - 0x7c], al
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
call dword [eax + 0x54]
mov edx, dword [eax + 4]
test edx, edx
je 0x5af090
mov eax, dword [edx + 8]
sub eax, dword [edx + 4]
sar eax, 3
cmp eax, 1
jne 0x5af090
mov dword [ebp - 0x38], 0
jmp 0x5aec29
mov esi, dword [ebp - 0xb4]
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], esi
call sub.msvcrt.dll_memcpy
jmp 0x5aedcd
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
jmp 0x5aeed1
cmp cl, 1
jle 0x5af6a0
movzx eax, byte [ebp - 0xc0]
and edx, 0xfffffffe
mov byte [ebp - 0x7c], dl
and eax, 0xfffffff0
or eax, 1
mov byte [ebp - 0x7f], al
jmp 0x5aec29
call fcn.004cb890
mov dword [esp], 0xc
mov ecx, eax
call fcn.004cba30
mov dword [eax], 0x6f1f98
mov esi, eax
sub esp, 4
mov dword [eax + 4], 0
mov dword [eax + 8], 1
mov dword [ebp - 0x38], eax
mov edi, dword [ebx + 0x4c]
mov eax, dword [edi + 4]
test eax, eax
je 0x5aec29
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
cmp edx, 0xf
jle 0x5aec29
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x5b0252
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
mov esi, dword [ecx + 4]
mov byte [esp + 0xc], 0
mov dword [esp + 8], edx
add eax, 8
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0062cbe0
sub esp, 0x10
jmp 0x5aec29
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 4]
mov eax, dword [eax]
movzx edx, byte [eax + 4]
mov byte [ebp - 0x80], dl
mov edx, dword [eax + 0x5c]
mov dword [ebp - 0x28], edx
mov edx, dword [eax + 0x60]
mov dword [ebp - 0x24], edx
mov edx, dword [eax + 0x64]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x68]
mov dword [ebp - 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x78], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x74], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x70], edx
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x6c], edx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x68], edx
mov edx, dword [eax + 0x20]
mov dword [ebp - 0x64], edx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x60], edx
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x5c], edx
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x58], edx
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x54], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x50], edx
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x4c], edx
mov edx, dword [eax + 0x3c]
mov dword [ebp - 0x48], edx
mov edx, dword [eax + 0x40]
mov dword [ebp - 0x44], edx
mov edx, dword [eax + 0x44]
mov dword [ebp - 0x40], edx
mov edx, dword [eax + 0x48]
mov dword [ebp - 0x3c], edx
movzx edx, byte [ebp - 0x7f]
movzx ecx, byte [eax + 5]
and edx, 0xfffffff0
and ecx, 0xf
or edx, ecx
mov byte [ebp - 0x7f], dl
movzx ecx, byte [eax + 5]
and edx, 0xf
and ecx, 0xfffffff0
or edx, ecx
mov byte [ebp - 0x7f], dl
movzx edx, byte [ebp - 0x7e]
movzx ecx, byte [eax + 6]
and edx, 0xfffffff0
and ecx, 0xf
or edx, ecx
mov byte [ebp - 0x7e], dl
movzx edx, byte [ebp - 0x7c]
movzx ecx, byte [eax + 8]
and edx, 0xfffffffe
and ecx, 1
or edx, ecx
mov byte [ebp - 0x7c], dl
mov edx, dword [eax + 0x4c]
mov dword [ebp - 0x38], edx
mov edx, dword [eax + 0x50]
mov dword [ebp - 0x34], edx
mov edx, dword [eax + 0x54]
mov eax, dword [eax + 0x58]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
jmp 0x5aec29
or edx, 1
mov byte [ebp - 0x7c], dl
jmp 0x5aec29
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xb4]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x84]
mov eax, dword [eax + 4]
mov ebx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call dword [eax + 0x20]
cmp eax, 0xe
je 0x5aea12
lea eax, [ebp - 0x84]
mov dword [esp], ebx
lea ebx, [ebp - 0x94]
mov dword [esp + 0xc], 0xa
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll__itoa_s]
call fcn.004cb890
lea ecx, [ebp - 0x8c]
mov dword [esp + 4], ebx
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.005f4b30
sub esp, 8
call fcn.004cb890
mov ecx, ebx
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x9c]
mov dword [esp], eax
call fcn.004e7120
mov edx, dword [ebp - 0x88]
mov esi, dword [edx - 0xc]
sub esp, 4
test esi, esi
je 0x5af31a
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax - 0xc]
lea edi, [ecx + esi]
cmp edi, dword [eax - 8]
jbe 0x5af6d7
mov ecx, ebx
mov dword [esp], edi
call fcn.005f4880
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x88]
mov ecx, dword [eax - 0xc]
sub esp, 4
add eax, ecx
cmp esi, 1
je 0x5af6f0
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x90]
mov dword [eax - 4], 0
mov dword [eax - 0xc], edi
mov byte [eax + edi], 0
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x90]
mov dword [esp], 0xd
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], eax
call fcn.004cba30
lea ecx, [ebp - 0x84]
sub esp, 4
add eax, 0xc
mov dword [eax - 8], 0
mov dword [eax - 4], 0
mov dword [eax - 0xc], 0
mov byte [eax], 0
mov dword [esp + 4], 1
mov dword [esp], 0x6c556e
mov dword [ebp - 0x90], eax
call fcn.005f4090
mov ecx, dword [eax]
sub esp, 8
mov esi, eax
mov ebx, dword [eax + 4]
mov dword [esp], 0xd
call fcn.004cba30
mov dword [eax + 8], 0
sub esp, 4
add eax, 0xc
mov dword [eax - 0xc], 0
mov byte [eax], 0
mov edi, dword [ebx - 0xc]
mov dword [eax - 8], 0
mov dword [esi + 4], eax
test edi, edi
je 0x5af415
mov eax, dword [ebp - 0xa0]
mov edx, dword [eax - 0xc]
lea esi, [edx + edi]
cmp esi, dword [eax - 8]
jbe 0x5af6c7
mov dword [esp], esi
lea ecx, [ebp - 0xa4]
call fcn.005f4880
mov eax, dword [ebp - 0xa0]
mov edx, dword [eax - 0xc]
sub esp, 4
add eax, edx
cmp edi, 1
je 0x5af6e6
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0xa0]
mov dword [eax - 4], 0
mov dword [eax - 0xc], esi
mov byte [eax + esi], 0
lock sub dword [ebx - 4], 1
mov eax, dword [ebp - 0x80]
lock sub dword [eax - 4], 1
mov eax, dword [ebp - 0x90]
lock sub dword [eax - 4], 1
mov eax, dword [ebp - 0x88]
lock sub dword [eax - 4], 1
jmp 0x5aea12
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xb4]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
mov ecx, dword [ebp + 0x18]
test ecx, ecx
mov eax, dword [eax + 0x84]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
js 0x5af5b0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xb0]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x70]
mov esi, dword [ebp - 0xac]
lea ebx, [esi + esi*4]
lea ecx, [ebx*4]
mov dword [ebp - 0xc4], eax
mov eax, dword [eax + 0x50]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xb0], eax
mov eax, dword [eax + 4]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp dword [eax + 0x10], 0xffffffff
jne 0x5af700
mov edx, dword [ebp - 0xac]
xor ebx, ebx
xor esi, esi
test edx, edx
js 0x5af666
mov dword [ebp - 0xd0], edi
mov edi, dword [ebp - 0xb0]
jmp 0x5af564
cmp eax, 1
sete al
movzx eax, al
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0xb0]
mov ecx, dword [ecx + edx*4]
mov edx, dword [ebp - 0xb4]
mov dword [esp + 0x10], edx
movzx eax, byte [eax + 0xc]
mov dword [esp], ecx
and eax, 0x78
cmp al, 0x10
sete al
movzx eax, al
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x84]
mov dword [esp + 8], eax
lea eax, [ebp - 0x8c]
mov dword [esp + 4], eax
call fcn.004ce560
lea ebx, [eax + ebx - 1]
neg eax
and ebx, eax
cmp dword [ebp - 0xac], esi
jle 0x5af555
add ebx, dword [ebp - 0x8c]
add esi, 1
cmp dword [ebp - 0xac], esi
jl 0x5af660
lea eax, [esi + esi*4]
mov ecx, eax
mov dword [ebp - 0xb0], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
call dword [eax + 0x2c]
movzx eax, byte [eax + 0xc]
and eax, 7
jne 0x5af4e0
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx]
call dword [eax + 0x30]
movzx eax, byte [eax + 0xc]
and eax, 7
cmp al, 1
sete al
movzx eax, al
mov dword [ebp - 0xb4], eax
jmp 0x5af4ef
lea eax, [eax + eax*4]
shl eax, 2
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax - 0xc]
test eax, eax
jne 0x5af67a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xb0]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x70]
mov edi, dword [ebp - 0xc8]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + 4]
mov ecx, dword [eax + edi]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [eax + 4]
mov edi, eax
mov ebx, dword [ecx - 0xc]
test ebx, ebx
je 0x5aea12
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx - 0xc]
lea esi, [eax + ebx]
cmp esi, dword [edx - 8]
ja 0x5af619
cmp dword [edx - 4], 0
jle 0x5af636
lea ecx, [ebp - 0xa4]
mov dword [esp], esi
call fcn.005f4880
mov edx, dword [ebp - 0xa0]
mov ecx, dword [edi + 4]
mov eax, dword [edx - 0xc]
sub esp, 4
add eax, edx
cmp ebx, 1
jne 0x5af6b2
movzx edx, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0xa0]
mov dword [eax - 4], 0
mov dword [eax - 0xc], esi
mov byte [eax + esi], 0
jmp 0x5aea12
mov edi, dword [ebp - 0xd0]
add dword [ebp + 0x18], ebx
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x5af5cd
mov dword [esp + 4], 1
lea ecx, [ebp - 0xa4]
mov dword [esp], 0x6c5570
call fcn.005f4090
sub esp, 8
jmp 0x5af5cd
cmp byte [ebp - 0xc4], 0
jne 0x5af06f
jmp 0x5aec29
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
jmp 0x5af642
mov ecx, dword [eax - 4]
test ecx, ecx
jg 0x5af3cc
jmp 0x5af3e6
cmp dword [eax - 4], 0
jg 0x5af2cf
jmp 0x5af2eb
movzx edx, byte [ebx]
mov byte [eax], dl
jmp 0x5af401
movzx edx, byte [edx]
mov byte [eax], dl
jmp 0x5af306
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 4]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ebx, dword [eax + 0x10]
add dword [ebp + 0x18], ebx
jmp 0x5af669
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x6c]
test al, al
je 0x5afc33
mov dword [ebp - 0xb0], 0
jmp 0x5afb3b
test esi, esi
je 0x5afbf6
and ecx, 0xfff
mov edi, 0x3ffffffc
lea edx, [esi + 0x1000]
sub edx, ecx
mov ecx, eax
cmp edx, 0x3ffffffc
cmovbe edi, edx
lea edx, [edi + 0xd]
mov dword [esp], edx
call fcn.004cba30
mov dword [eax + 4], edi
mov edx, eax
sub esp, 4
mov dword [eax + 8], 0
lea eax, [eax + 0xc]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x84]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], esi
mov dword [ebp - 0xb4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0xb4]
mov edi, dword [ebp - 0xac]
mov dword [edx], esi
mov dword [edx + 8], 0
mov byte [edi + esi], 0
call fcn.004cb890
lea edx, [ebp - 0x8c]
mov ecx, edx
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x9c]
mov dword [esp], eax
call fcn.004e7120
mov esi, dword [edi - 0xc]
sub esp, 4
test esi, esi
je 0x5af852
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0xb4]
mov ecx, dword [eax - 0xc]
lea edi, [ecx + esi]
cmp edi, dword [eax - 8]
ja 0x5af812
cmp dword [eax - 4], 0
jle 0x5af828
mov ecx, edx
mov dword [esp], edi
call fcn.005f4880
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax - 0xc]
sub esp, 4
add eax, ecx
cmp esi, 1
jne 0x5b0021
mov esi, dword [ebp - 0xac]
movzx edx, byte [esi]
mov byte [eax], dl
mov eax, dword [ebp - 0x88]
mov dword [eax - 4], 0
mov dword [eax - 0xc], edi
mov byte [eax + edi], 0
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x88]
mov dword [esp], 0xd
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], eax
call fcn.004cba30
lea ecx, [ebp - 0x84]
sub esp, 4
add eax, 0xc
mov dword [eax - 8], 0
mov dword [eax - 4], 0
mov dword [eax - 0xc], 0
mov byte [eax], 0
mov dword [esp + 4], 1
mov dword [esp], 0x6c556e
mov dword [ebp - 0x88], eax
call fcn.005f4090
mov ecx, dword [eax]
sub esp, 8
mov edi, eax
mov esi, dword [eax + 4]
mov dword [esp], 0xd
call fcn.004cba30
mov dword [eax + 8], 0
sub esp, 4
add eax, 0xc
mov dword [eax - 0xc], 0
mov byte [eax], 0
mov edx, dword [esi - 0xc]
mov dword [eax - 8], 0
mov dword [edi + 4], eax
test edx, edx
je 0x5af950
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax - 0xc]
lea edi, [ecx + edx]
cmp edi, dword [eax - 8]
ja 0x5af906
cmp dword [eax - 4], 0
jle 0x5af92c
lea ecx, [ebp - 0x94]
mov dword [esp], edi
mov dword [ebp - 0xb4], edx
call fcn.005f4880
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0xb4]
mov ecx, dword [eax - 0xc]
sub esp, 4
add eax, ecx
cmp edx, 1
jne 0x5b000c
movzx edx, byte [esi]
mov byte [eax], dl
mov eax, dword [ebp - 0x90]
mov dword [eax - 4], 0
mov dword [eax - 0xc], edi
mov byte [eax + edi], 0
lock sub dword [esi - 4], 1
mov eax, dword [ebp - 0x80]
lock sub dword [eax - 4], 1
mov eax, dword [ebp - 0x88]
lock sub dword [eax - 4], 1
mov eax, dword [ebp - 0xac]
lock sub dword [eax - 4], 1
mov dword [ebp - 0x84], 0x6f2308
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x6c]
test al, al
movzx eax, byte [ebx + 4]
jne 0x5b0147
lea edx, [eax - 0xd]
cmp dl, 1
jbe 0x5b04c5
mov byte [ebp - 0x80], al
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x40]
movzx edx, byte [ebp - 0x7f]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x44]
and edx, 0xfffffff0
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x3c], eax
movzx ecx, byte [ebx + 5]
shl ecx, 4
sar cl, 4
mov eax, ecx
and eax, 0xf
or edx, eax
mov byte [ebp - 0x7f], dl
movzx eax, byte [ebx + 5]
mov edi, edx
and edi, 0xf
mov edx, edi
mov byte [ebp - 0xb4], dl
mov byte [ebp - 0xac], al
sar byte [ebp - 0xac], 4
movzx eax, byte [ebp - 0xac]
shl eax, 4
or byte [ebp - 0xb4], al
movzx edx, byte [ebp - 0xb4]
movzx eax, byte [ebp - 0x7e]
mov byte [ebp - 0x7f], dl
movzx esi, byte [ebx + 6]
and eax, 0xfffffff0
and esi, 0xf
or eax, esi
mov byte [ebp - 0x7e], al
movzx edx, byte [ebx + 8]
mov byte [ebp - 0xb8], dl
movzx edx, byte [ebp - 0x7c]
and byte [ebp - 0xb8], 1
and edx, 0xfffffffe
or dl, byte [ebp - 0xb8]
mov byte [ebp - 0x7c], dl
mov edi, dword [ebx + 0x4c]
mov dword [ebp - 0x38], edi
mov edi, dword [ebx + 0x50]
mov dword [ebp - 0x34], edi
mov edi, dword [ebx + 0x54]
mov dword [ebp - 0x30], edi
mov edi, dword [ebx + 0x58]
cmp byte [ebp - 0xac], 0
mov dword [ebp - 0x2c], edi
jle 0x5b0289
mov ecx, esi
and eax, 0xfffffff0
cmp cl, 1
mov byte [ebp - 0x7f], cl
mov byte [ebp - 0x7e], al
je 0x5b05b1
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0xcc]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
lea eax, [ebp - 0x94]
mov dword [esp + 4], eax
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.005ae990
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x84], 0x6f2308
sub esp, 0x1c
lock sub dword [eax - 4], 1
add dword [ebp - 0xb0], 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x40]
mov edx, 1
test eax, eax
cmovle eax, edx
cmp dword [ebp - 0xb0], eax
jge 0x5aeab0
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0x94]
mov dword [esp], eax
call fcn.005f4c40
lea eax, [ebp - 0x84]
sub esp, 4
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb0]
mov dword [esp + 0xc], 0xa
mov dword [esp + 8], 0x10
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__itoa_s]
call fcn.004cb890
lea ecx, [ebp - 0x84]
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x5afba3
mov esi, edx
shr esi, 0x10
test edx, 0x8080
cmove edx, esi
lea esi, [ecx + 2]
cmovne esi, ecx
add dl, dl
sbb esi, 3
lea edi, [ebp - 0x84]
sub esi, edi
cmp esi, 0x3ffffffc
ja 0x5b089f
lea ecx, [esi + 0x1d]
cmp ecx, 0x1000
ja 0x5af740
lea edx, [esi + 0xd]
mov ecx, eax
mov dword [esp], edx
call fcn.004cba30
mov dword [eax + 4], esi
sub esp, 4
mov edx, eax
mov dword [eax + 8], 0
cmp esi, 1
lea eax, [eax + 0xc]
mov dword [ebp - 0xac], eax
jne 0x5af789
movzx eax, byte [ebp - 0x84]
mov byte [edx + 0xc], al
jmp 0x5af7b1
mov eax, dword [ebx + 0x50]
mov esi, eax
mov dword [ebp - 0xbc], eax
mov eax, dword [eax + 8]
sub eax, dword [esi + 4]
cmp eax, 0x13
jle 0x5aeab0
lea eax, [ebp - 0x84]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xd0], eax
jmp 0x5aff2a
movzx edx, byte [edx]
mov byte [eax], dl
mov eax, dword [ebp - 0x80]
mov dword [eax - 4], 0
mov dword [eax - 0xc], edi
mov byte [eax + edi], 0
mov ecx, dword [ebp - 0x84]
mov dword [esp], 0xd
mov esi, dword [ebp - 0x80]
call fcn.004cba30
mov dword [eax + 8], 0
sub esp, 4
add eax, 0xc
mov dword [eax - 0xc], 0
mov byte [eax], 0
mov edx, dword [esi - 0xc]
mov dword [eax - 8], 0
mov dword [ebp - 0x80], eax
test edx, edx
je 0x5afd34
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax - 0xc]
lea edi, [ecx + edx]
cmp edi, dword [eax - 8]
ja 0x5afcea
cmp dword [eax - 4], 0
jle 0x5afd10
mov ecx, dword [ebp - 0xb0]
mov dword [esp], edi
mov dword [ebp - 0xb8], edx
call fcn.005f4880
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0xb8]
mov ecx, dword [eax - 0xc]
sub esp, 4
add eax, ecx
cmp edx, 1
jne 0x5afff7
movzx edx, byte [esi]
mov byte [eax], dl
mov eax, dword [ebp - 0x88]
mov dword [eax - 4], 0
mov dword [eax - 0xc], edi
mov byte [eax + edi], 0
lock sub dword [esi - 4], 1
mov eax, dword [ebp - 0x80]
lock sub dword [eax - 4], 1
mov dword [ebp - 0x84], 0x6f2308
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x6c]
test al, al
movzx eax, byte [ebx + 4]
jne 0x5b003c
lea edx, [eax - 0xd]
cmp dl, 1
jbe 0x5b03d2
mov byte [ebp - 0x80], al
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x40]
movzx edx, byte [ebp - 0x7f]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x44]
and edx, 0xfffffff0
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x3c], eax
movzx ecx, byte [ebx + 5]
shl ecx, 4
sar cl, 4
mov eax, ecx
and eax, 0xf
or edx, eax
mov byte [ebp - 0x7f], dl
movzx eax, byte [ebx + 5]
mov edi, edx
and edi, 0xf
mov edx, edi
mov byte [ebp - 0xc4], dl
mov byte [ebp - 0xb8], al
sar byte [ebp - 0xb8], 4
movzx eax, byte [ebp - 0xb8]
shl eax, 4
or byte [ebp - 0xc4], al
movzx edx, byte [ebp - 0xc4]
movzx eax, byte [ebp - 0x7e]
mov byte [ebp - 0x7f], dl
movzx esi, byte [ebx + 6]
and eax, 0xfffffff0
and esi, 0xf
or eax, esi
mov byte [ebp - 0x7e], al
movzx edx, byte [ebx + 8]
mov byte [ebp - 0xc8], dl
movzx edx, byte [ebp - 0x7c]
and byte [ebp - 0xc8], 1
and edx, 0xfffffffe
or dl, byte [ebp - 0xc8]
mov byte [ebp - 0x7c], dl
mov edi, dword [ebx + 0x4c]
mov dword [ebp - 0x38], edi
mov edi, dword [ebx + 0x50]
mov dword [ebp - 0x34], edi
mov edi, dword [ebx + 0x54]
mov dword [ebp - 0x30], edi
mov edi, dword [ebx + 0x58]
cmp byte [ebp - 0xb8], 0
mov dword [ebp - 0x2c], edi
jle 0x5b0265
mov ecx, esi
and eax, 0xfffffff0
cmp cl, 1
mov byte [ebp - 0x7f], cl
mov byte [ebp - 0x7e], al
je 0x5b05bc
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0xcc]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xb0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb4]
mov dword [esp], eax
call fcn.005ae990
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x84], 0x6f2308
sub esp, 0x1c
lock sub dword [eax - 4], 1
mov esi, dword [ebp - 0xbc]
add dword [ebp - 0xac], 1
mov eax, dword [esi + 8]
sub eax, dword [esi + 4]
sar eax, 2
imul eax, eax, 0xcccccccd
cmp dword [ebp - 0xac], eax
jge 0x5aeab0
mov ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0xa4]
mov dword [esp], eax
call fcn.005f4c40
mov eax, dword [ebp - 0xac]
lea eax, [eax + eax*4]
mov esi, eax
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xbc]
sub esp, 4
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi*4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov edi, eax
mov dword [ebp - 0xb8], eax
call fcn.004cb890
mov ecx, dword [ebp - 0xb4]
mov dword [esp], 0x6c5570
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xd0]
mov dword [esp + 4], eax
call fcn.005f4b30
mov edx, dword [edi + 4]
mov esi, dword [edx - 0xc]
sub esp, 8
test esi, esi
je 0x5afc96
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax - 0xc]
lea edi, [ecx + esi]
cmp edi, dword [eax - 8]
ja 0x5affb7
cmp dword [eax - 4], 0
jle 0x5affd7
mov ecx, dword [ebp - 0xb4]
mov dword [esp], edi
call fcn.005f4880
mov eax, dword [ebp - 0xb8]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x80]
sub esp, 4
mov ecx, dword [eax - 0xc]
add eax, ecx
cmp esi, 1
je 0x5afc80
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
jmp 0x5afc85
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
jmp 0x5afd20
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
jmp 0x5af93c
mov dword [esp + 8], esi
mov esi, dword [ebp - 0xac]
mov dword [esp], eax
mov dword [esp + 4], esi
call sub.msvcrt.dll_memcpy
jmp 0x5af83e
mov byte [ebp - 0x80], al
mov eax, dword [ebx + 0x5c]
mov ecx, ebx
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x3c], eax
movzx eax, byte [ebp - 0x7f]
movzx edx, byte [ebx + 5]
and eax, 0xfffffff0
and edx, 0xf
or eax, edx
mov byte [ebp - 0x7f], al
movzx edx, byte [ebx + 5]
and eax, 0xf
and edx, 0xfffffff0
or eax, edx
mov byte [ebp - 0x7f], al
movzx eax, byte [ebp - 0x7e]
movzx edx, byte [ebx + 6]
and eax, 0xfffffff0
and edx, 0xf
or eax, edx
mov byte [ebp - 0x7e], al
movzx eax, byte [ebp - 0x7c]
movzx edx, byte [ebx + 8]
and eax, 0xfffffffe
and edx, 1
or eax, edx
mov byte [ebp - 0x7c], al
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
call dword [eax + 0x54]
mov edx, dword [eax + 4]
test edx, edx
je 0x5b032d
mov eax, dword [edx + 8]
sub eax, dword [edx + 4]
sar eax, 3
cmp eax, 1
jne 0x5b032d
mov dword [ebp - 0x38], 0
jmp 0x5afea5
mov byte [ebp - 0x80], al
mov eax, dword [ebx + 0x5c]
mov ecx, ebx
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x3c], eax
movzx eax, byte [ebp - 0x7f]
movzx edx, byte [ebx + 5]
and eax, 0xfffffff0
and edx, 0xf
or eax, edx
mov byte [ebp - 0x7f], al
movzx edx, byte [ebx + 5]
and eax, 0xf
and edx, 0xfffffff0
or eax, edx
mov byte [ebp - 0x7f], al
movzx eax, byte [ebp - 0x7e]
movzx edx, byte [ebx + 6]
and eax, 0xfffffff0
and edx, 0xf
or eax, edx
mov byte [ebp - 0x7e], al
movzx eax, byte [ebp - 0x7c]
movzx edx, byte [ebx + 8]
and eax, 0xfffffffe
and edx, 1
or eax, edx
mov byte [ebp - 0x7c], al
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
call dword [eax + 0x54]
mov edx, dword [eax + 4]
test edx, edx
je 0x5b02ad
mov eax, dword [edx + 8]
sub eax, dword [edx + 4]
sar eax, 3
cmp eax, 1
jne 0x5b02ad
mov dword [ebp - 0x38], 0
jmp 0x5afad7
mov ebx, dword [ebp + 8]
jmp 0x5aea2e
lea eax, [esi + 4]
call fcn.0068bb30
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
jmp 0x5af0e7
cmp cl, 1
jle 0x5b05d9
movzx eax, byte [ebp - 0xc4]
and edx, 0xfffffffe
mov byte [ebp - 0x7c], dl
and eax, 0xfffffff0
or eax, 1
mov byte [ebp - 0x7f], al
jmp 0x5afea5
cmp cl, 1
jle 0x5b05c7
movzx eax, byte [ebp - 0xb4]
and edx, 0xfffffffe
mov byte [ebp - 0x7c], dl
and eax, 0xfffffff0
or eax, 1
mov byte [ebp - 0x7f], al
jmp 0x5afad7
call fcn.004cb890
mov dword [esp], 0xc
mov ecx, eax
call fcn.004cba30
mov dword [eax], 0x6f1f98
mov esi, eax
sub esp, 4
mov dword [eax + 4], 0
mov dword [eax + 8], 1
mov dword [ebp - 0x38], eax
mov edi, dword [ebx + 0x4c]
mov eax, dword [edi + 4]
test eax, eax
je 0x5afad7
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
cmp edx, 0xf
jle 0x5afad7
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x5b081c
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
mov esi, dword [ecx + 4]
mov byte [esp + 0xc], 0
mov dword [esp + 8], edx
add eax, 8
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0062cbe0
sub esp, 0x10
jmp 0x5afad7
call fcn.004cb890
mov dword [esp], 0xc
mov ecx, eax
call fcn.004cba30
mov dword [eax], 0x6f1f98
mov esi, eax
sub esp, 4
mov dword [eax + 4], 0
mov dword [eax + 8], 1
mov dword [ebp - 0x38], eax
mov edi, dword [ebx + 0x4c]
mov eax, dword [edi + 4]
test eax, eax
je 0x5afea5
mov edx, dword [eax + 8]
sub edx, dword [eax + 4]
cmp edx, 0xf
jle 0x5afea5
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x5b082f
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
mov esi, dword [ecx + 4]
mov byte [esp + 0xc], 0
mov dword [esp + 8], edx
add eax, 8
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0062cbe0
sub esp, 0x10
jmp 0x5afea5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x6c]
mov dword [ebp + 0x20], 1
test al, al
je 0x5aea59
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x40]
mov dword [ebp + 0x20], eax
jmp 0x5aea59
mov eax, dword [ebx + 0x50]
mov esi, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
movzx edx, byte [eax + 4]
mov byte [ebp - 0x80], dl
mov edx, dword [eax + 0x5c]
mov dword [ebp - 0x28], edx
mov edx, dword [eax + 0x60]
mov dword [ebp - 0x24], edx
mov edx, dword [eax + 0x64]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x68]
mov dword [ebp - 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x78], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x74], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x70], edx
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x6c], edx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x68], edx
mov edx, dword [eax + 0x20]
mov dword [ebp - 0x64], edx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x60], edx
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x5c], edx
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x58], edx
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x54], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x50], edx
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x4c], edx
mov edx, dword [eax + 0x3c]
mov dword [ebp - 0x48], edx
mov edx, dword [eax + 0x40]
mov dword [ebp - 0x44], edx
mov edx, dword [eax + 0x44]
mov dword [ebp - 0x40], edx
mov edx, dword [eax + 0x48]
mov dword [ebp - 0x3c], edx
movzx edx, byte [ebp - 0x7f]
movzx ecx, byte [eax + 5]
and edx, 0xfffffff0
and ecx, 0xf
or edx, ecx
mov byte [ebp - 0x7f], dl
movzx ecx, byte [eax + 5]
and edx, 0xf
and ecx, 0xfffffff0
or edx, ecx
mov byte [ebp - 0x7f], dl
movzx edx, byte [ebp - 0x7e]
movzx ecx, byte [eax + 6]
and edx, 0xfffffff0
and ecx, 0xf
or edx, ecx
mov byte [ebp - 0x7e], dl
movzx edx, byte [ebp - 0x7c]
movzx ecx, byte [eax + 8]
and edx, 0xfffffffe
and ecx, 1
or edx, ecx
mov byte [ebp - 0x7c], dl
mov edx, dword [eax + 0x4c]
mov dword [ebp - 0x38], edx
mov edx, dword [eax + 0x50]
mov dword [ebp - 0x34], edx
mov edx, dword [eax + 0x54]
mov eax, dword [eax + 0x58]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
jmp 0x5afea5
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 4]
mov eax, dword [eax]
movzx edx, byte [eax + 4]
mov byte [ebp - 0x80], dl
mov edx, dword [eax + 0x5c]
mov dword [ebp - 0x28], edx
mov edx, dword [eax + 0x60]
mov dword [ebp - 0x24], edx
mov edx, dword [eax + 0x64]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x68]
mov dword [ebp - 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x78], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x74], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x70], edx
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x6c], edx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x68], edx
mov edx, dword [eax + 0x20]
mov dword [ebp - 0x64], edx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x60], edx
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x5c], edx
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x58], edx
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x54], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x50], edx
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x4c], edx
mov edx, dword [eax + 0x3c]
mov dword [ebp - 0x48], edx
mov edx, dword [eax + 0x40]
mov dword [ebp - 0x44], edx
mov edx, dword [eax + 0x44]
mov dword [ebp - 0x40], edx
mov edx, dword [eax + 0x48]
mov dword [ebp - 0x3c], edx
movzx edx, byte [ebp - 0x7f]
movzx ecx, byte [eax + 5]
and edx, 0xfffffff0
and ecx, 0xf
or edx, ecx
mov byte [ebp - 0x7f], dl
movzx ecx, byte [eax + 5]
and edx, 0xf
and ecx, 0xfffffff0
or edx, ecx
mov byte [ebp - 0x7f], dl
movzx edx, byte [ebp - 0x7e]
movzx ecx, byte [eax + 6]
and edx, 0xfffffff0
and ecx, 0xf
or edx, ecx
mov byte [ebp - 0x7e], dl
movzx edx, byte [ebp - 0x7c]
movzx ecx, byte [eax + 8]
and edx, 0xfffffffe
and ecx, 1
or edx, ecx
mov byte [ebp - 0x7c], dl
mov edx, dword [eax + 0x4c]
mov dword [ebp - 0x38], edx
mov edx, dword [eax + 0x50]
mov dword [ebp - 0x34], edx
mov edx, dword [eax + 0x54]
mov eax, dword [eax + 0x58]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
jmp 0x5afad7
or edx, 1
mov byte [ebp - 0x7c], dl
jmp 0x5afad7
or edx, 1
mov byte [ebp - 0x7c], dl
jmp 0x5afea5
cmp byte [ebp - 0xb8], 0
jne 0x5b0292
jmp 0x5afad7
cmp byte [ebp - 0xc8], 0
jne 0x5b026e
jmp 0x5afea5
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x5b0745
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xbc], ebx
mov ebx, ecx
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xb4], eax
mov eax, dword [eax - 0xc]
mov dword [ebp - 0xb8], eax
mov edi, eax
jmp 0x5b0630
mov dword [ebp - 0xac], ebx
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x5b0663
mov eax, dword [ebx + 0x14]
mov esi, dword [eax - 0xc]
mov dword [esp], eax
cmp edi, esi
mov ecx, esi
cmovbe ecx, edi
sub esi, edi
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0xb4]
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcmp
test eax, eax
cmove eax, esi
test eax, eax
jns 0x5b0623
mov ebx, dword [ebx + 0xc]
jmp 0x5b062c
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0xb0], eax
mov ebx, dword [ebp - 0xbc]
mov edi, dword [ebp - 0xc0]
je 0x5b0751
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0xb8]
mov esi, dword [eax - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb4]
cmp edx, esi
cmova edx, esi
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
mov edx, dword [ebp - 0xb8]
sub edx, esi
test eax, eax
cmove eax, edx
test eax, eax
js 0x5b0751
mov eax, dword [edi + 0x40]
sub eax, dword [edi + 0x3c]
mov esi, dword [ebp - 0xac]
lea edi, [ebp - 0x84]
mov ecx, dword [ebp - 0xcc]
sar eax, 5
mov dword [esi + 0x18], eax
mov dword [esp], ebx
call fcn.005ac570
lea ecx, [ebp - 0xa4]
sub esp, 4
mov esi, eax
mov dword [esp], ecx
mov ecx, edi
call fcn.005f4c40
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x78], esi
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x7c], ecx
mov ecx, ebx
mov dword [ebp - 0x74], esi
mov esi, dword [ebp + 0x1c]
sub esp, 4
mov dword [ebp - 0x70], esi
call fcn.005d0dd0
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 0x48]
mov dword [esp], edi
add ecx, 0x3c
call fcn.0062df80
mov eax, dword [ebp - 0x80]
sub esp, 4
lock sub dword [eax - 4], 1
jmp 0x5aeab0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xac], eax
lea eax, [edi + 0x24]
mov esi, dword [ebp - 0xac]
mov dword [esp], 0x1c
mov dword [ebp - 0xb8], eax
call fcn.006540e0
test eax, eax
mov dword [ebp - 0xac], eax
je 0x5b0890
lea edx, [ebp - 0xa4]
mov dword [eax], 0
lea ecx, [eax + 0x10]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [esp], edx
mov dword [ebp - 0xb4], ecx
call fcn.005f4c40
mov eax, dword [ebp - 0xac]
mov dword [eax + 0x18], 0
sub esp, 4
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xb8]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00641570
sub esp, 8
test edx, edx
mov esi, edx
je 0x5b0863
test eax, eax
mov edx, 1
je 0x5b0842
mov eax, dword [ebp - 0xb0]
mov dword [esp + 8], esi
mov dword [esp], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 4], eax
call fcn.0064c8a0
add dword [edi + 0x38], 1
mov eax, dword [ebp - 0xcc]
mov edi, dword [eax + 0x48]
jmp 0x5b06bd
lea eax, [esi + 4]
call fcn.0068bb30
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
jmp 0x5b0304
lea eax, [esi + 4]
call fcn.0068bb30
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
jmp 0x5b0384
cmp dword [ebp - 0xb0], esi
je 0x5b07ea
mov ecx, dword [ebp - 0xb4]
lea eax, [esi + 0x10]
mov dword [esp], eax
call fcn.005d3a70
push edx
mov edx, eax
shr edx, 0x1f
jmp 0x5b07ea
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xac]
mov edx, dword [eax + 0x14]
lock sub dword [edx - 4], 1
mov dword [esp], eax
call fcn.00654030
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xac], eax
jmp 0x5b080e
mov dword [ebp - 0xb4], 0x10
jmp 0x5b07bc
mov dword [esp], 0x6c5340
call fcn.0064ba80
nop
nop
nop
nop
nop