Function at 0x53cf60
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
mov eax, dword [0x5bf094]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x1dc]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebx + 0x1e0]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebx + 0x1dc], eax
inc eax
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebx + 0x1e0], eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x64], eax
test edi, edi
je 0x53e9dc
cmp byte [eax + 0x36], 0
jne 0x53e9dc
cmp dword [ebx + 0x44], 0
jne 0x53e9dc
push 0
push 0
push 0
push 0x15
mov eax, ebx
call fcn.004fe5f0
add esp, 0x10
test eax, eax
jne 0x53e9dc
cmp byte [esi], 4
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
ja 0x53d049
mov ecx, dword [edi + 0x38]
mov esi, dword [ebp - 0x64]
push ecx
call fcn.004ebd60
mov edx, 0xfffe
add esp, 4
and word [edi + 6], dx
mov dword [edi + 0x38], 0
push 0
push edi
push ebx
call fcn.0053cef0
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x28]
mov edx, dword [edi]
add esp, 0xc
cmp dword [ebx + 0x44], 0
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x4c], edx
jne 0x53e5f6
mov eax, dword [ebp - 0x64]
cmp byte [eax + 0x36], 0
jne 0x53e5f6
mov ecx, edi
movzx eax, word [ecx + 6]
shr eax, 2
and eax, 1
mov edi, ebx
mov dword [ebp - 0x18], eax
call fcn.005018f0
mov dword [ebp - 0x40], eax
test eax, eax
je 0x53e5f6
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
push eax
mov eax, dword [ebp - 0x50]
mov esi, ebx
call fcn.00500950
add esp, 4
test eax, eax
jne 0x53e5f6
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x70], eax
cmp dword [edi + 0x3c], eax
jne 0x53d27c
jmp 0x53d0d3
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x7c]
movsx edx, word [ecx]
cmp eax, edx
jge 0x53d27c
shl eax, 6
lea esi, [eax + ecx + 8]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x53d26f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x53d114
push eax
mov eax, dword [esi + 0x18]
push eax
mov eax, dword [ebp - 0x40]
push 2
call fcn.004f42f0
add esp, 0xc
jmp 0x53d26f
mov eax, edi
call fcn.004ebc00
add dword [ebx + 0x1d8], eax
mov ecx, dword [ebp - 0x1c]
movzx eax, word [ecx + 6]
mov edx, dword [ebp - 0x18]
shr eax, 2
and eax, 1
push eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x70]
push edx
push eax
push ebx
mov eax, edi
call fcn.0050abd0
add esp, 0x10
test eax, eax
je 0x53d167
cmp dword [ebp - 0x48], 0
je 0x53d15b
or word [edi + 6], 4
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x70], 0xffffffff
jmp 0x53d241
mov eax, dword [ebx + 0x4c]
inc eax
push eax
mov dword [ebx + 0x4c], eax
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x40]
push 0
push 7
mov dword [ebp - 0x38], 0
call fcn.004f42f0
mov dword [ebp - 0x48], eax
inc eax
add esp, 0xc
cmp byte [esi + 0x1e], 0
mov dword [esi + 0x14], eax
jne 0x53d19f
mov eax, ebx
call fcn.005069a0
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x20]
mov cl, byte [ebx + 0x1e0]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
push edx
push eax
mov word [ebp - 0x14], 9
push ebx
mov byte [esi + 0x1f], cl
call fcn.0053cf60
fnstcw word [ebp - 0x32]
movzx eax, word [ebp - 0x32]
mov ecx, dword [ebp - 0x1c]
or eax, 0xc00
mov dword [ebp - 0x2c], eax
fld qword [ecx + 0x20]
mov eax, dword [esi + 0xc]
fldcw word [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x38], 0
fistp qword [ebp - 0xc0]
mov edx, dword [ebp - 0xc0]
mov dword [eax + 0x18], edx
fldcw word [ebp - 0x32]
je 0x53d20b
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
call fcn.004ea780
mov ecx, dword [esi + 0x18]
mov eax, dword [ebp - 0x40]
push ecx
push 3
call fcn.004f42a0
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x40]
add esp, 8
cmp dword [ecx + 0x1c], edx
jbe 0x53d236
mov ecx, edx
lea edx, [ecx + ecx*4]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 4]
mov dword [ecx + edx*4 + 4], eax
mov byte [ebx + 0x13], 0
mov dword [ebx + 0x3c], 0
mov edx, dword [ebp - 0x64]
cmp byte [edx + 0x36], 0
jne 0x53e5f6
mov eax, edi
call fcn.004ebc00
sub dword [ebx + 0x1d8], eax
mov ecx, dword [ebp - 0x50]
cmp byte [ecx], 4
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x7c], eax
jbe 0x53d26f
mov edx, dword [edi + 0x38]
mov dword [ebp - 0x60], edx
inc dword [ebp - 0x70]
cmp dword [edi + 0x3c], 0
je 0x53d0d0
mov eax, dword [edi]
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x34]
mov dword [ebp - 0x4c], eax
movzx eax, word [edi + 6]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edi + 0x30]
and eax, 1
cmp dword [edi + 0x3c], 0
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x20], eax
je 0x53d30d
cmp dword [edi + 0x44], 0
jne 0x53d2e2
xor ecx, ecx
xor edx, edx
mov eax, edi
nop
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edi
mov ecx, eax
mov eax, dword [eax + 0x3c]
inc edx
test eax, eax
jne 0x53d2b0
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x53d2e2
cmp edx, eax
jle 0x53d2e2
push 0x5993f0
mov esi, ebx
call fcn.004faad0
add esp, 4
jmp 0x53e5f6
mov ecx, dword [ebp - 0x50]
push edi
mov edx, ebx
call fcn.0051aa00
mov ecx, dword [ebp - 0xb8]
add esp, 4
pop edi
pop esi
mov dword [ebx + 0x1dc], ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b92b7
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x60]
push esi
mov edi, ecx
call fcn.004ec5f0
add esp, 4
test eax, eax
jne 0x53d32d
mov edx, dword [ebp - 0x64]
test byte [edx + 0x18], 0x20
jne 0x53d32d
mov dword [ebp - 0x60], eax
mov esi, eax
mov eax, dword [ebp - 0x3c]
mov cl, byte [eax + 6]
and cl, 5
cmp cl, 1
jne 0x53d435
mov edx, eax
mov eax, dword [edx]
push eax
mov edi, esi
call fcn.004ec5f0
add esp, 4
test eax, eax
jne 0x53d435
mov esi, dword [ebp - 0x3c]
mov edx, dword [esi]
push eax
mov eax, dword [ebp - 0x64]
push edx
mov ecx, 0xfffe
and word [esi + 6], cx
push eax
call fcn.004f5bf0
add esp, 0xc
mov dword [esi + 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x60], 0
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x54], 0xffffffff
mov eax, dword [ebp - 0x50]
cmp byte [eax], 9
jne 0x53d3aa
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
push edx
push eax
push 0x2a
mov eax, esi
call fcn.004f42f0
add esp, 0xc
mov eax, esi
call fcn.004f4350
fld qword [0x597068]
push eax
fstp qword [edi + 0x20]
mov dword [ebp - 0xbc], eax
push edi
mov eax, ebx
call fcn.00501920
add esp, 8
cmp dword [edi + 8], 0
jne 0x53d3ea
cmp dword [ebp - 0x54], 0
jl 0x53d3ea
mov eax, dword [ebp - 0x54]
mov ecx, esi
call fcn.004ea7c0
mov byte [eax], 0x2b
or word [edi + 6], 0x40
test byte [edi + 6], 1
je 0x53d479
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x80], eax
inc eax
mov dword [ebx + 0x48], eax
mov ecx, dword [edi]
push ecx
push ebx
call fcn.00512fd0
mov edx, dword [ebp - 0x80]
push 0xfffffffffffffff0
push eax
push 0
push 0
push edx
push 0x2a
mov eax, esi
call fcn.004fcac0
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 4]
add esp, 0x20
test eax, eax
je 0x53d482
mov ecx, dword [esi + 0x1c]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 8
jmp 0x53d482
test esi, esi
je 0x53d37f
push esi
push ebx
call fcn.00512fd0
mov ecx, dword [ebx + 0x48]
mov dword [esi + 4], ecx
inc dword [ebx + 0x48]
mov edx, dword [esi]
push 0xfffffffffffffff0
push eax
mov eax, dword [esi + 4]
mov esi, dword [ebp - 0x40]
push 0
add edx, 2
push edx
push eax
push 0x2a
mov eax, esi
call fcn.004fcac0
mov edi, dword [ebp - 0x3c]
add esp, 0x20
mov dword [ebp - 0x54], eax
mov dword [edi + 0x18], eax
jmp 0x53d38c
or eax, 0xffffffff
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x34]
xor eax, eax
cmp dword [ebp - 0x18], eax
jne 0x53d6eb
cmp edx, eax
jne 0x53d6eb
cmp dword [ebp - 0x20], eax
je 0x53d4a1
mov edi, dword [edi]
jmp 0x53d4a3
xor edi, edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x7c]
push 0
push edi
lea edx, [ebp - 0x60]
push edx
push eax
push ecx
push ebx
call fcn.00538790
mov edi, eax
add esp, 0x18
mov dword [ebp - 0x88], edi
test edi, edi
je 0x53e5f6
mov ecx, dword [ebp - 0x3c]
fld qword [ecx + 0x20]
fcomp qword [edi + 0x30]
fnstsw ax
test ah, 0x41
jne 0x53d4e1
fld qword [edi + 0x30]
fstp qword [ecx + 0x20]
cmp dword [ebp - 0x54], 0
jl 0x53d501
cmp dword [ebp - 0x60], 0
jne 0x53d501
mov ecx, dword [ebp - 0x54]
mov edx, esi
call fcn.004f45c0
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x18], 0xffffffff
cmp byte [edi + 8], 0
je 0x53d6b7
mov eax, dword [ebp - 0x2c]
mov ecx, esi
call fcn.004ea7c0
cmp byte [edi + 8], 2
mov dword [ebp - 0x80], 0xffffffff
jne 0x53d6b4
inc dword [ebx + 0x4c]
mov edi, dword [ebx + 0x4c]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx]
lea edx, [edi + 1]
mov dword [ebp - 0x58], edx
add edx, ecx
lea ecx, [edi + ecx*2]
mov dword [ebx + 0x4c], ecx
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x58]
mov byte [eax], 7
mov dword [eax + 4], 1
mov dword [eax + 8], edi
mov eax, dword [ebp - 0x4c]
push 1
push ebx
mov dword [ebp - 0x8c], edi
call fcn.004f64f0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov edx, dword [esi + 0x1c]
lea eax, [edx + ecx + 3]
mov dword [ebp - 0x78], eax
dec eax
push eax
push edi
push 0x1b
mov eax, esi
call fcn.004f42f0
mov edx, dword [ebp - 0x4c]
add esp, 0x14
cmp dword [edx], 0
mov dword [ebp - 0x48], 0
jle 0x53d66b
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x2c]
sub eax, ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x6c], eax
lea esp, [esp]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + edx]
push eax
push ebx
call fcn.0050f7c0
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x68]
add ecx, eax
push ecx
push edx
push eax
push 0x4b
mov eax, esi
call fcn.004f41f0
mov ecx, dword [esi + 4]
mov edi, dword [esi]
add esp, 0x18
test ecx, ecx
je 0x53d633
cmp byte [edi + 0x36], 0
jne 0x53d633
mov eax, dword [esi + 0x1c]
lea eax, [eax + eax*4 - 5]
lea ecx, [ecx + eax*4]
movsx eax, byte [ecx + 1]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ecx + 0x10]
call fcn.004f4480
cmp dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x10], 0
mov eax, ecx
jne 0x53d627
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
jmp 0x53d640
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfc
jmp 0x53d640
mov ecx, dword [ebp - 0x38]
mov eax, 0xfffffffc
call fcn.004f4480
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x53d652
mov eax, dword [esi + 0x1c]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x80
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
add dword [ebp - 0x18], 0x14
inc dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x48], eax
cmp eax, dword [ecx]
jl 0x53d5b0
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x14]
push eax
push 0
push 1
mov eax, esi
call fcn.004f42f0
mov ecx, dword [ebp - 0x8c]
push ecx
push 0
push 7
mov eax, esi
call fcn.004f42f0
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x58]
push eax
push ecx
push edx
push 0xd
mov eax, esi
call fcn.004f41f0
mov edi, dword [ebp - 0x88]
add esp, 0x28
jmp 0x53d6b7
mov byte [eax], 0x95
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
mov edx, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0x60]
push edx
mov edx, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x3c]
push ecx
push 0
push 0
push edx
push eax
push ebx
call fcn.00500980
push edi
call fcn.004f8cc0
add esp, 0x2c
jmp 0x53e971
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x18], eax
cmp edx, eax
je 0x53d742
mov ecx, dword [edi]
mov eax, dword [ecx]
mov ecx, dword [ecx + 8]
test eax, eax
jle 0x53d713
add ecx, 0x10
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x14
test eax, eax
jg 0x53d703
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov edx, dword [edx + 8]
test eax, eax
jle 0x53d72d
lea ecx, [edx + 0x10]
nop
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x14
test eax, eax
jg 0x53d720
fld qword [0x5993e8]
fcom qword [edi + 0x20]
fnstsw ax
test ah, 5
jp 0x53d749
fstp qword [edi + 0x20]
jmp 0x53d74b
fld1
fstp qword [edi + 0x20]
jmp 0x53d74b
fstp st(0)
mov eax, esi
call fcn.004f4350
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x54], eax
xor eax, eax
lea edx, [ebp - 0xb4]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xc8], edx
cmp edi, eax
je 0x53d7b2
mov eax, dword [edi]
inc eax
mov ebx, dword [ebp - 0x4c]
lea ecx, [ebp - 0xe4]
push ecx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edi
call fcn.00506d10
mov ebx, dword [ebp - 0x60]
lea edx, [ebp - 0xe4]
push edx
call fcn.00506d10
mov eax, dword [ebp - 0x48]
add esp, 8
test eax, eax
je 0x53d816
push eax
lea edx, [ebp - 0xf4]
lea ecx, [ebp - 0xe4]
push edx
mov dword [ebp - 0xf4], 0x506a20
mov dword [ebp - 0xf0], 0x4f6800
mov dword [ebp - 0xe8], ecx
call fcn.004f57f0
add esp, 8
mov eax, dword [ebp - 0x9c]
xor esi, esi
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x90], esi
jle 0x53d85a
xor edi, edi
mov edi, edi
mov ecx, dword [ebp - 0x94]
mov edx, dword [edi + ecx]
mov ebx, dword [edx + 0x10]
lea eax, [ebp - 0xe4]
push eax
call fcn.00506d10
inc esi
add esp, 4
add edi, 0x10
cmp esi, dword [ebp - 0x90]
jl 0x53d830
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x64]
cmp byte [ecx + 0x36], 0
jne 0x53e5f3
xor ebx, ebx
cmp edi, ebx
je 0x53e37e
mov edi, dword [ebp - 0x24]
mov eax, dword [edi + 0x48]
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0xb0], eax
inc eax
push ebx
push edi
mov dword [edi + 0x48], eax
call fcn.00512fd0
mov edx, dword [ebp - 0xa8]
mov esi, dword [ebp - 0x40]
push 0xfffffffffffffff0
push eax
push 0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xb0]
push edx
push eax
push 0x2b
mov eax, esi
call fcn.004fcac0
inc dword [edi + 0x4c]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x6c], eax
inc eax
mov dword [ebp - 0x84], eax
inc eax
mov dword [ebp - 0x68], eax
mov dword [edi + 0x4c], eax
mov eax, esi
call fcn.004f4350
inc dword [edi + 0x4c]
mov ecx, dword [edi + 0x4c]
mov dword [ebp - 0x78], eax
mov eax, esi
mov dword [ebp - 0x8c], ecx
call fcn.004f4350
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x4c]
lea edx, [eax + 1]
add eax, dword [ebx]
mov dword [ebp - 0x74], edx
lea edx, [eax + 1]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x84]
mov dword [edi + 0x4c], eax
mov ecx, dword [ebx]
push edx
add ecx, eax
push 0
push 7
mov eax, esi
mov dword [edi + 0x4c], ecx
call fcn.004f42f0
mov eax, dword [ebp - 0x6c]
push eax
push 0
push 7
mov eax, esi
call fcn.004f42f0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebx]
lea edx, [ecx + eax - 1]
push edx
push eax
push 0
push 0xa
mov eax, esi
call fcn.004f41f0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x8c]
add esp, 0x48
push eax
push ecx
push 2
mov eax, esi
call fcn.004f42f0
push 0
push 0
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x7c]
push edx
push eax
push ecx
push edi
call fcn.00538790
add esp, 0x24
mov dword [ebp - 0x88], eax
test eax, eax
je 0x53e5f3
mov edi, dword [ebp - 0x34]
test edi, edi
jne 0x53d992
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x30]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], edi
jmp 0x53dcbd
cmp dword [ebp - 0x20], 0
je 0x53d9a6
mov ecx, dword [ebp - 0x3c]
test byte [ecx + 6], 1
mov eax, 0x5993dc
je 0x53d9ab
mov eax, 0x5993d0
mov ebx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.00500d90
mov eax, dword [edi]
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x18], eax
inc eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x20], eax
mov edi, eax
mov dword [ebp - 0x44], eax
test ecx, ecx
jle 0x53d9ef
mov edx, dword [ebp - 0xa0]
add edx, 0xc
lea ecx, [ecx]
cmp dword [edx], eax
jl 0x53d9e6
inc edi
inc eax
add edx, 0x18
dec ecx
jne 0x53d9e0
mov dword [ebp - 0x44], edi
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebp - 0x44]
mov edi, dword [ebx + 0x40]
mov dword [ebp - 0x58], edi
cmp ecx, eax
jg 0x53da0c
lea edx, [edi + ecx]
sub eax, ecx
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x3c], eax
jmp 0x53da1a
mov eax, dword [ebx + 0x4c]
lea edi, [eax + 1]
add eax, ecx
mov dword [ebp - 0x58], edi
mov dword [ebx + 0x4c], eax
mov eax, ebx
call fcn.004ec510
mov eax, dword [ebp - 0x34]
push 0
push ebx
mov edx, edi
call fcn.004f64f0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0xb0]
lea ecx, [edi + eax]
push ecx
push edx
push 0x37
mov eax, esi
call fcn.004f42f0
mov ecx, dword [ebp - 0x20]
add esp, 0x14
cmp dword [ebp - 0x9c], 0
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x70], 0
jle 0x53dada
lea eax, [edi + ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
cmp dword [edx + eax + 0xc], ecx
jl 0x53dac8
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, edx
mov edx, dword [ecx + eax + 4]
push edx
mov edx, dword [ecx + eax]
mov eax, dword [ecx + eax + 8]
push edx
mov edi, ebx
call fcn.00519200
add esp, 0xc
cmp dword [ebp - 0x20], eax
je 0x53dab1
mov ecx, dword [ebp - 0x20]
push ecx
push eax
push 0xf
mov eax, esi
call fcn.004f42f0
add esp, 0xc
mov edi, dword [ebp - 0x58]
mov eax, 1
add dword [ebp - 0x28], eax
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x28]
inc dword [ebp - 0x70]
mov edx, dword [ebp - 0x70]
add dword [ebp - 0x18], 0x18
cmp edx, dword [ebp - 0x9c]
jl 0x53da75
mov al, byte [ebx + 0x13]
test al, al
jne 0x53dae9
inc dword [ebx + 0x4c]
mov edx, dword [ebx + 0x4c]
jmp 0x53daf5
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov edx, dword [ebx + eax*4 + 0x1c]
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], eax
cmp dword [esi + 0x20], eax
jg 0x53db17
mov edi, esi
call fcn.004f4170
mov edx, dword [ebp - 0x20]
test eax, eax
jne 0x53db3f
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x58]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x44]
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0x1f
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [esi + 0x20], eax
jg 0x53db64
mov edi, esi
call fcn.004f4170
mov edx, dword [ebp - 0x20]
test eax, eax
jne 0x53db8a
mov eax, dword [ebp - 0x18]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x60
test edx, edx
je 0x53dbb9
cmp byte [ebx + 0x13], 8
jae 0x53dbb9
xor eax, eax
lea ecx, [ebx + 0x64]
lea esp, [esp]
cmp dword [ecx + 0x10], edx
je 0x53dc08
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x53dba0
movzx eax, byte [ebx + 0x13]
mov dword [ebx + eax*4 + 0x1c], edx
inc byte [ebx + 0x13]
mov ecx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x58]
mov eax, ebx
call fcn.004ec270
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebx + 0x3c]
jle 0x53dbd8
mov edx, ecx
mov eax, edi
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x40], eax
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.004f8cc0
mov ecx, dword [ebx + 0x48]
mov al, byte [ebx + 0x13]
add esp, 4
lea edx, [ecx + 1]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0xac], ecx
mov dword [ebx + 0x48], edx
test al, al
jne 0x53dc0e
inc dword [ebx + 0x4c]
mov eax, dword [ebx + 0x4c]
jmp 0x53dc1a
mov byte [ecx + 8], 1
jmp 0x53dbb9
dec al
movzx edx, al
mov byte [ebx + 0x13], al
mov eax, dword [ebx + edx*4 + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x20], eax
cmp dword [esi + 0x20], eax
jg 0x53dc39
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x53dc64
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x20]
inc dword [esi + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x18]
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0x2c
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x20], eax
cmp dword [esi + 0x20], eax
jg 0x53dc86
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x53dcaf
mov eax, dword [ebp - 0x20]
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x54]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x46
mov eax, ebx
mov byte [ebp - 0xb3], 1
call fcn.004ec510
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x44], eax
mov eax, ebx
call fcn.004ec510
cmp dword [ebp - 0x1c], 0
je 0x53dd15
mov ebx, dword [esi + 0x1c]
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x20], ecx
cmp dword [esi + 0x20], ebx
jg 0x53dcec
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x53dd15
mov eax, dword [esi + 4]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x20]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x3e
mov eax, dword [ebp - 0x34]
xor ebx, ebx
mov dword [ebp - 0x28], ebx
cmp dword [eax], ebx
jle 0x53de0f
cmp dword [ebp - 0x1c], 0
je 0x53dd8e
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [esi + 0x20], eax
jg 0x53dd41
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x53dd72
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x18]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x38]
mov dword [eax + 4], ecx
lea ecx, [ebx + edx]
mov byte [eax + 3], 0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x1d
test ebx, ebx
jne 0x53de00
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x53de00
mov eax, dword [esi + 0x1c]
lea edx, [eax + eax*4]
mov byte [ecx + edx*4 - 0x11], 0x20
jmp 0x53de00
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
lea edi, [ebx + eax]
mov byte [ebp - 0xb4], 1
mov eax, dword [edx + 8]
lea ecx, [ebx + ebx*4]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x18], edi
test eax, eax
je 0x53de34
cmp byte [eax], 0x84
jne 0x53de34
mov edx, dword [ebp - 0x24]
mov edi, dword [edx + 8]
mov ebx, dword [edi + 0x1c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x20], ecx
cmp dword [edi + 0x20], ebx
jg 0x53ddd4
call fcn.004f4170
test eax, eax
jne 0x53ddfd
mov ecx, dword [edi + 4]
inc dword [edi + 0x1c]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0xe
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
inc ebx
mov dword [ebp - 0x28], ebx
cmp ebx, dword [eax]
jl 0x53dd25
mov ecx, dword [ebp - 0x34]
mov ebx, dword [esi + 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
cmp dword [esi + 0x20], ebx
jg 0x53de98
mov edi, esi
call fcn.004f4170
test eax, eax
je 0x53de98
mov ebx, 1
jmp 0x53dec6
mov edx, dword [ebp - 0x24]
push edi
push eax
push edx
call fcn.0052fc60
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp eax, edi
je 0x53de00
mov eax, dword [ebp - 0x24]
mov edi, dword [eax + 8]
test edi, edi
je 0x53de00
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x20], eax
cmp dword [edi + 0x20], eax
jg 0x53de67
call fcn.004f4170
test eax, eax
jne 0x53de00
mov edx, dword [edi + 4]
mov eax, dword [ebp - 0x20]
inc dword [edi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0xf
jmp 0x53de00
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0x74]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x38]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x18]
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0x18
mov eax, dword [ebp - 0x5c]
push eax
push esi
mov ecx, 0xfffffffa
mov eax, ebx
call fcn.004f4600
mov ebx, dword [esi + 0x1c]
add esp, 8
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0x20], ebx
jg 0x53def0
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x53df16
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
lea ecx, [ebx + 1]
xor edx, edx
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov word [eax], 0x19
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x74]
mov esi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x24]
push ecx
push edx
call fcn.004f60c0
mov esi, dword [ebp - 0x40]
mov ebx, dword [esi + 0x1c]
add esp, 8
cmp dword [esi + 0x20], ebx
jg 0x53df44
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x53df6e
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0x68]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x78]
xor ebx, ebx
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 2
jmp 0x53df70
xor ebx, ebx
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x5c], eax
cmp dword [esi + 0x20], eax
jg 0x53df89
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x53dfb2
mov eax, dword [ebp - 0x5c]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x84]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x54]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x78
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x5c], eax
cmp dword [esi + 0x20], eax
jg 0x53dfc8
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x53dff4
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 0x5c]
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0x8c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x2c]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 2
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jl 0x53e00c
mov ecx, dword [esi + 0x1c]
cmp ecx, eax
jbe 0x53e00c
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + edx*4 + 8], ecx
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0xb4]
push ecx
push edx
call fcn.00514fe0
mov eax, dword [esi + 0x1c]
add esp, 8
mov dword [ebp - 0x5c], eax
cmp dword [esi + 0x20], eax
jg 0x53e035
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x53e060
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x5c]
mov ecx, 1
add dword [esi + 0x1c], ecx
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x6c]
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 7
cmp dword [ebp - 0x1c], ebx
je 0x53e0af
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x5c], eax
cmp dword [esi + 0x20], eax
jg 0x53e084
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x53e0f3
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 0x5c]
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0x74]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x44]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x51
jmp 0x53e0f3
mov edx, dword [ebp - 0x88]
push edx
call fcn.004f8cc0
mov ecx, dword [esi + 4]
add esp, 4
cmp ecx, ebx
je 0x53e0f3
mov eax, dword [ebp - 0x30]
mov edi, dword [esi]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
movsx eax, byte [ecx + 1]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ecx + 0x10]
call fcn.004f4480
mov eax, dword [ebp - 0x30]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax], 0x95
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x53e109
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x53e132
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x30]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x78]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 2
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x53e14b
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x53e16e
mov eax, dword [ebp - 0x30]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [ebp - 0x54]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 1
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x5c], eax
cmp dword [esi + 0x20], eax
jg 0x53e187
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x53e1b5
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x1c]
mov ecx, 1
add dword [esi + 0x1c], ecx
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x84]
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 7
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x53e1cb
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x53e1f1
mov eax, dword [ebp - 0x30]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x68]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 3
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x53e209
mov edx, dword [ebp - 0x78]
lea ecx, [edx*4 + 4]
mov edx, dword [esi + 0x1c]
sub eax, ecx
mov dword [eax], edx
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x1c], eax
cmp dword [esi + 0x20], eax
jg 0x53e21f
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x53e248
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x6c]
add ecx, 2
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 0x78
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x53e25e
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x53e284
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 3
lea eax, [ebp - 0xb4]
push eax
mov eax, dword [ebp - 0x24]
call fcn.00501f30
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x24]
push 8
inc edi
push edi
push ecx
push edx
call fcn.0052d1b0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x60]
push edi
push ecx
push edx
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
push ebx
push ebx
push ecx
push eax
push edx
call fcn.00500980
mov eax, dword [esi + 0x1c]
add esp, 0x3c
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x53e2e3
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x53e309
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 3
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x53e321
mov ecx, dword [ebp - 0x2c]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x1c]
sub eax, edx
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0xb4]
push edx
push eax
call fcn.00514df0
mov eax, dword [esi + 0x1c]
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x53e350
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x53e953
xor ebx, ebx
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x30]
inc dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp - 0x8c]
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov word [eax], 3
jmp 0x53e953
mov esi, dword [ebp - 0x3c]
lea edx, [ebp - 0xb4]
push edx
mov eax, esi
mov dword [ebp - 0x6c], ebx
call fcn.004ee190
mov edi, eax
add esp, 4
mov dword [ebp - 0x38], edi
cmp edi, ebx
je 0x53e566
mov ebx, dword [ebp - 0x24]
mov esi, dword [edi + 0x44]
mov ecx, dword [ebx]
call fcn.004edb50
mov ecx, dword [ebx + 0x48]
mov dword [ebp - 0x2c], ecx
inc ecx
mov dword [ebx + 0x48], ecx
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x84], eax
xor esi, esi
push eax
mov eax, ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x78], ecx
call fcn.0052a980
mov edx, dword [edi]
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x84]
push edx
push esi
push eax
push ecx
mov eax, ebx
call fcn.004f6a10
mov eax, dword [edi + 0x10]
add esp, 0x14
test eax, eax
je 0x53e432
cmp byte [eax + 0x2e], 0
jne 0x53e409
test esi, esi
je 0x53e407
mov edx, dword [eax + 0x24]
cmp edx, dword [esi + 0x24]
jge 0x53e409
mov esi, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x53e3f5
mov dword [ebp - 0x74], esi
test esi, esi
je 0x53e432
mov eax, dword [esi + 0x24]
cmp eax, dword [edi + 8]
jge 0x53e432
mov ecx, dword [esi + 0x28]
push esi
push ebx
mov dword [ebp - 0x78], ecx
call fcn.00510950
add esp, 8
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x40]
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x53e44b
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x53e47f
mov eax, dword [ebp - 0x30]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x2c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x78]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x84]
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x27
cmp dword [ebp - 0x1c], 0
je 0x53e4c7
mov ecx, dword [esi + 4]
mov edi, dword [esi]
test ecx, ecx
je 0x53e4ba
cmp byte [edi + 0x36], 0
jne 0x53e4ba
mov eax, dword [esi + 0x1c]
lea edx, [eax + eax*4 - 5]
movsx eax, byte [ecx + edx*4 + 1]
lea ebx, [ecx + edx*4]
mov ecx, dword [ebx + 0x10]
call fcn.004f4480
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], 0xfa
mov ebx, dword [ebp - 0x24]
jmp 0x53e4c7
mov ecx, dword [ebp - 0x1c]
mov eax, 0xfffffff0
call fcn.004f4480
mov ecx, dword [ebp - 0x94]
mov eax, dword [esi + 0x1c]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x53e4e9
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x53e515
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x20
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x20], eax
jg 0x53e52b
mov edi, esi
call fcn.004f4170
test eax, eax
jne 0x53e554
mov eax, dword [ebp - 0x30]
inc dword [esi + 0x1c]
mov ecx, dword [ebp - 0x2c]
lea edx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x2d
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x38]
mov edx, ebx
call fcn.00502040
jmp 0x53e698
mov eax, esi
mov dword [ebp - 0x2c], ebx
call fcn.004ee120
mov bl, al
test bl, bl
je 0x53e5b3
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
mov esi, dword [ebp - 0x64]
push 0
push edx
push esi
call fcn.004f5bf0
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x53e5b3
cmp byte [esi + 0x36], 0
jne 0x53e5b3
mov edx, dword [eax + 8]
cmp bl, 1
setne cl
mov byte [edx + 0xc], cl
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov byte [ecx], 0x98
mov esi, dword [ebp - 0x24]
lea edx, [ebp - 0xb4]
push edx
push esi
call fcn.00514df0
mov eax, dword [ebp - 0x1c]
movzx ecx, bl
push ecx
mov ecx, dword [ebp - 0x7c]
push 0
lea edx, [ebp - 0x2c]
push edx
push eax
push ecx
push esi
call fcn.00538790
mov edi, eax
add esp, 0x20
test edi, edi
jne 0x53e652
mov edx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x64]
push edx
call fcn.004ebd60
add esp, 4
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov edx, dword [ebp - 0xb8]
mov dword [ebx + 0x1dc], edx
test esi, esi
jne 0x53e622
mov eax, dword [ebp - 0x50]
cmp byte [eax], 5
jne 0x53e622
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x7c]
push ecx
push edx
push ebx
call fcn.0050a800
add esp, 0xc
mov edi, dword [ebp - 0x64]
mov eax, dword [ebp - 0xa0]
mov ecx, edi
call fcn.004e38a0
mov eax, dword [ebp - 0x94]
mov ecx, edi
call fcn.004e38a0
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b92b7
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xb4]
push eax
push esi
call fcn.00514fe0
add esp, 8
cmp dword [ebp - 0x2c], 0
jne 0x53e67f
test bl, bl
je 0x53e67f
mov ecx, dword [edi + 0x18]
mov eax, dword [ebp - 0x40]
push ecx
push 0
push 1
call fcn.004f42f0
add esp, 0xc
push edi
call fcn.004f8cc0
lea edx, [ebp - 0xb4]
push edx
mov eax, esi
call fcn.00501f30
add esp, 8
mov ebx, esi
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x48]
push 8
push eax
push ecx
push ebx
mov dword [ebp - 0x60], 0
call fcn.0052d1b0
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x50]
movzx ecx, byte [eax]
mov edx, dword [eax + 4]
add esp, 0x10
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x28], edx
test edi, edi
je 0x53e941
mov ebx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x3c]
mov esi, edi
call fcn.004f7d90
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x50]
cmp dword [edx + 8], 0
mov ecx, dword [eax]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x44], ecx
jne 0x53e70a
mov eax, dword [esi + 0x4c]
inc eax
mov ecx, edx
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0xc], eax
add dword [esi + 0x4c], eax
mov ecx, edx
mov ebx, dword [ecx + 8]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], ebx
cmp ecx, 3
je 0x53e73c
mov eax, esi
call fcn.004ec510
mov eax, dword [ebp - 0x2c]
xor edx, edx
cmp dword [ebp - 0x48], 5
sete dl
push edx
push esi
mov edx, ebx
call fcn.004f64f0
mov ecx, dword [ebp - 0x48]
add esp, 8
lea eax, [ecx - 1]
cmp eax, 9
ja case.0x53e748.4
jmp dword [eax*4 + 0x53e9f4]
mov al, byte [esi + 0x13]
test al, al
jne 0x53e75e
inc dword [esi + 0x4c]
mov esi, dword [esi + 0x4c]
jmp 0x53e76a
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov esi, dword [esi + eax*4 + 0x1c]
mov ecx, dword [ebp - 0x44]
push esi
push ecx
push ebx
push 0x1f
mov eax, edi
call fcn.004f41f0
mov edx, dword [ebp - 0x28]
push esi
push edx
push 0x61
mov eax, edi
call fcn.004f42f0
mov edx, dword [ebp - 0x24]
add esp, 0x1c
call fcn.004ec6a0
jmp case.0x53e748.4
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
push eax
push ebx
push ecx
push 0x62
mov eax, edi
call fcn.004f41f0
add esp, 0x10
jmp case.0x53e748.4
mov al, byte [esi + 0x13]
test al, al
jne 0x53e7c0
inc dword [esi + 0x4c]
mov ebx, dword [esi + 0x4c]
jmp 0x53e7cc
dec al
movzx edx, al
mov byte [esi + 0x13], al
mov ebx, dword [esi + edx*4 + 0x1c]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x1c]
push ebx
push eax
push ecx
push 0x1f
mov eax, edi
call fcn.004f41f0
mov ecx, esi
call fcn.004ec680
mov edx, dword [ebp - 0x28]
mov esi, eax
push esi
push edx
push 0x38
mov eax, edi
call fcn.004f42f0
mov eax, dword [ebp - 0x28]
push esi
push ebx
push eax
push 0x39
mov eax, edi
call fcn.004f41f0
mov eax, dword [edi + 4]
add esp, 0x2c
test eax, eax
je 0x53e819
mov ecx, dword [edi + 0x1c]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 8
mov edx, dword [ebp - 0x24]
call fcn.004ec6a0
mov esi, ebx
call fcn.004ec6a0
jmp case.0x53e748.4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
add edx, 5
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x50]
mov bl, byte [edx + 1]
call fcn.004f5a30
mov edx, dword [ebp - 0x30]
mov ecx, esi
mov byte [edx], al
call fcn.004ec680
push 1
push edx
mov ebx, eax
mov eax, dword [ebp - 0x1c]
push ebx
push 1
push eax
push 0x1f
mov eax, edi
call fcn.004fcac0
mov edi, dword [ebp - 0x1c]
mov ecx, 1
mov eax, esi
call fcn.004ec270
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
push ebx
push ecx
push 0x61
call fcn.004f42f0
mov edx, dword [ebp - 0x24]
add esp, 0x24
mov esi, ebx
call fcn.004ec6a0
jmp 0x53e8f7
mov edx, dword [ebp - 0x28]
push edx
push 1
push 7
mov eax, edi
call fcn.004f42f0
add esp, 0xc
jmp case.0x53e748.4
mov eax, dword [ebp - 0x28]
push 1
mov esi, ebx
mov ebx, dword [ebp - 0x24]
push eax
call fcn.004f60c0
add esp, 8
jmp case.0x53e748.4
cmp ecx, 0xa
jne 0x53e8da
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 4]
push edx
push 4
mov eax, edi
call fcn.004f42a0
add esp, 8
jmp case.0x53e748.4
mov eax, dword [ebp - 0x44]
push eax
push ebx
push 0x10
mov eax, edi
call fcn.004f42f0
mov ecx, dword [ebp - 0x44]
add esp, 0xc
mov edi, ebx
mov eax, esi
call fcn.004ec270
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x53e941
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
jg 0x53e918
call fcn.004f4170
test eax, eax
jne 0x53e941
mov edi, dword [ebp - 0x38]
mov eax, dword [edi + 4]
inc dword [edi + 0x1c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x54]
xor ecx, ecx
mov byte [eax + 3], cl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0xffffffff
mov dword [eax + 0x10], ecx
mov word [eax], 0x7a
mov eax, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x64]
push eax
call fcn.004ebd60
mov esi, dword [ebp - 0x40]
add esp, 4
mov esi, dword [esi + 0x28]
mov ebx, dword [ebp - 0x24]
test esi, esi
je 0x53e971
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x40]
lea edx, [ecx*4 + 4]
mov ecx, dword [eax + 0x1c]
sub esi, edx
mov dword [esi], ecx
cmp dword [ebp - 0x80], 0
jl 0x53e983
mov eax, 0x5993dc
mov ecx, ebx
call fcn.00500d90
cmp dword [ebp - 0x60], 0
je 0x53e9b2
mov eax, 0x5993c4
mov ecx, ebx
call fcn.00500d90
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
mov esi, dword [ebp - 0x40]
push edx
mov edx, dword [ebp - 0x3c]
push ecx
push esi
push edx
push ebx
call fcn.00500f90
add esp, 0x14
jmp 0x53e9b5
mov esi, dword [ebp - 0x40]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x53e9d0
mov ecx, dword [ebp - 0xbc]
lea edx, [ecx*4 + 4]
mov ecx, dword [esi + 0x1c]
sub eax, edx
mov dword [eax], ecx
mov dword [ebp - 0x28], 0
jmp 0x53e5f6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004b92b7
mov esp, ebp
pop ebp
ret