Function at 0x4cccc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x64], 0
mov dword [esp + 0x58], 0
mov esi, dword [edi + 8]
mov eax, dword [edi]
mov byte [esp + 0x3e], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], esi
test esi, esi
jne 0x4ccd3c
cmp dword [edi + 0x74], esi
jne 0x4ccd2d
test byte [eax + 0x4c], 8
jne 0x4ccd2d
mov byte [edi + 0x17], 1
call fcn.0049bd00
mov edx, dword [esp + 0x10]
mov esi, eax
mov dword [esp + 0x48], esi
test byte [edx + 0x24], 0x20
movsx eax, word [edx + 0x2a]
mov dword [esp + 0x30], eax
jne 0x4ccd5c
mov dword [esp + 0x34], 0
mov dword [esp + 0x54], 1
jmp 0x4ccd87
mov ecx, dword [edx + 8]
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x4ccd7f
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4ccd77
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4ccd67
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
movzx ecx, word [ecx + 0x32]
mov dword [esp + 0x54], ecx
xor edx, edx
mov dword [esp + 0x2c], edx
test eax, eax
jle 0x4ccf8e
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x20], ecx
nop
movsx eax, word [edi + 0x28]
cmp edx, eax
je 0x4ccf72
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x4ccdbd
cmp dword [eax + edx*4], 0
jl 0x4ccf72
mov eax, dword [edi + 4]
add ecx, eax
mov al, byte [ecx + 0xc]
movzx edi, al
mov dword [esp + 0x28], edi
test al, al
je 0x4ccf6e
mov ah, byte [ebp + 0x20]
cmp ah, 0xb
jne 0x4ccde7
cmp al, ah
jne 0x4ccde7
mov edi, 2
jmp 0x4cce03
cmp ah, 0xb
movzx edi, ah
cmove edi, dword [esp + 0x28]
cmp edi, 5
jne 0x4cce03
cmp dword [ecx + 4], 0
mov eax, 2
cmove edi, eax
lea eax, [edi - 1]
mov dword [esp + 0x18], 0
cmp eax, 4
ja case.0x4cce17.4
jmp dword [eax*4 + 0x4ce394]
mov eax, dword [esp + 0x14]
mov ecx, esi
mov edi, dword [ebp + 0x14]
inc edi
add edi, edx
mov edx, 0x33
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
push eax
push edi
mov dword [esp + 0x20], eax
call fcn.0049c0b0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
push edi
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + edx + 4]
call fcn.004b6430
add esp, 0xc
mov edx, 0x33
mov ecx, esi
push dword [esp + 0x18]
push edi
call fcn.0049c0b0
add esp, 8
mov edi, 2
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 4]
push dword [ecx + eax]
push dword [edx]
push str._s._s
push dword [esp + 0x5c]
call fcn.0047f510
mov edx, dword [ebp + 0x14]
add esp, 0x10
mov ecx, dword [esi + 0x6c]
inc edx
add edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x70], ecx
jg 0x4cced2
push edx
push edi
push 0x513
mov edx, 0x44
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4ccf01
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x44
mov dword [eax + ecx*4 + 4], 0x513
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
mov edx, dword [esp + 0x1c]
cmp byte [ecx + 0x51], 0
je 0x4ccf1d
push edx
mov edx, 0xfffffff9
call fcn.0049cad0
add esp, 4
jmp 0x4ccf2f
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf9
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4ccf46
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x18]
test edx, edx
je 0x4ccf6a
mov ecx, dword [esi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4cd09b
push edx
mov edx, esi
call fcn.0049c590
add esp, 4
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
add dword [esp + 0x20], 0x10
inc edx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
cmp edx, dword [esp + 0x30]
jl 0x4ccda0
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x4cd22c
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x20]
and eax, 0x200
or eax, 0
jne 0x4cd22c
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
mov al, byte [ebp + 0x20]
movzx edi, al
cmp al, 0xb
jne 0x4ccfcd
mov edi, 2
xor edx, edx
mov dword [esp + 0x20], edx
cmp dword [ecx], edx
jle 0x4cd221
lea eax, [ecx + 8]
mov dword [esp + 0x1c], eax
mov ecx, dword [eax - 4]
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x28], ecx
test eax, eax
je 0x4cd052
mov dword [esp + 0x98], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movq qword [esp + 0x90], xmm0
mov dword [esp + 0x84], 0x4ccc80
mov dword [esp + 0x98], eax
test ecx, ecx
je 0x4cd03b
mov edx, ecx
lea ecx, [esp + 0x80]
call fcn.004adb70
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
cmp byte [ebp + 0x1c], 0
mov al, byte [esp + 0x94]
jne 0x4cd04a
and al, 0xfd
test al, al
je 0x4cd205
mov edx, dword [esp + 0x14]
push 0x10
dec dword [edx + 0x38]
mov eax, dword [edx + 0x38]
push eax
push ecx
push edx
mov dword [esp + 0x38], eax
call fcn.004b6800
add esp, 0x10
cmp edi, 4
jne 0x4cd13f
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4cd108
push 0
push dword [ebp + 0x24]
lea edx, [edi + 7]
mov ecx, esi
push 0
call fcn.0049bf40
add esp, 0xc
jmp 0x4cd1da
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x4ccf6a
mov edi, dword [ebp + 0x14]
mov ecx, dword [esi + 0x6c]
inc edi
add edi, edx
cmp dword [esi + 0x70], ecx
jg 0x4cd0d1
push 0
push dword [ebp + 0x24]
mov edx, 0x32
mov ecx, esi
push edi
call fcn.0049bf40
add esp, 0xc
jmp 0x4ccf6a
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [ebp + 0x24]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4ccf6e
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4cd1da
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov dword [esp + 0x30], ecx
test ecx, ecx
jne 0x4cd157
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x14]
cmp edi, 5
mov eax, 2
cmove edi, eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4cd18f
cmp dword [ecx + 0x74], eax
jne 0x4cd182
mov eax, dword [ecx]
test byte [eax + 0x4c], 8
jne 0x4cd182
mov byte [ecx + 0x17], 1
call fcn.0049bd00
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
cmp edi, 2
jne 0x4cd1a0
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esp + 0x18]
mov edx, 0x45
push 0
push dword [esp + 0x34]
push 0
push edi
push 0x113
call fcn.0049c340
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov ecx, dword [eax + 0x6c]
test ecx, ecx
jle 0x4cd1da
mov eax, dword [eax + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, 3
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4cd1f8
push edx
mov edx, esi
call fcn.0049c590
add esp, 4
jmp 0x4cd201
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
inc edx
mov eax, dword [esp + 0x1c]
add eax, 0x18
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
cmp edx, dword [ecx]
jl 0x4ccfe2
mov edi, dword [esp + 0x14]
mov dword [edi + 0x34], 0
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x4cd2aa
cmp dword [eax], 0
jne 0x4cd245
mov byte [ebp + 0x20], 4
mov dword [ebp + 0x30], 0
jmp 0x4cd2aa
mov eax, dword [eax + 0x10]
mov dword [esp + 0x58], eax
test eax, eax
je 0x4cd2aa
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x5c], edx
cmp dword [esi + 0x70], edx
jg 0x4cd277
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
mov dword [esp + 0x5c], eax
jmp 0x4cd2aa
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [ebp + 0x1c], 0
mov dword [esp + 0x78], 0x35
je 0x4cd64b
cmp dword [esp + 0x34], 0
jne 0x4cd64b
mov ecx, dword [esp + 0x10]
dec dword [edi + 0x38]
cmp byte [ebp + 0x20], 0xb
mov edx, dword [edi + 0x38]
movzx eax, byte [ecx + 0x30]
mov dword [esp + 0x1c], edx
je 0x4cd2e5
movzx eax, byte [ebp + 0x20]
jmp 0x4cd2f0
cmp eax, 0xb
mov edi, 2
cmove eax, edi
mov edi, dword [ebp + 0x30]
mov dword [esp + 0x18], eax
test edi, edi
je 0x4cd316
cmp dword [edi + 0x10], 0
jne 0x4cd316
xor eax, eax
cmp dword [edi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x18], eax
jmp 0x4cd339
cmp eax, 5
jne 0x4cd339
cmp byte [ebp + 0x20], al
je 0x4cd339
cmp dword [ecx + 8], 0
je 0x4cd339
lea edx, [eax + 6]
mov ecx, esi
call fcn.0049bff0
mov edx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4cd3a6
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4cd362
push eax
push edx
push dword [ebp + 0x14]
mov edx, 0x35
mov ecx, esi
call fcn.0049bf40
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x4cd38f
mov edi, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4cd3a6
lea ecx, [eax + eax*4]
mov edi, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], di
mov ecx, dword [esi + 0x6c]
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x70], ecx
jg 0x4cd3c7
push dword [ebp + 0x14]
mov ecx, esi
push edx
push edi
mov edx, 0x1f
call fcn.0049bf40
add esp, 0xc
jmp 0x4cd3f1
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x18]
lea eax, [edi - 1]
cmp eax, 5
ja case.default.0x4cd401
jmp dword [eax*4 + 0x4ce3a8]
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov eax, dword [eax + 0x20]
and eax, 0x2000
or eax, 0
je 0x4cd47a
mov eax, dword [edi]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, ecx
je 0x4cd44e
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.004de720
mov dword [esp + 0x18], eax
xor edx, edx
jmp 0x4cd450
xor eax, eax
mov ecx, eax
test eax, eax
je 0x4cd469
cmp byte [ecx + 8], 0x79
jne 0x4cd462
movzx eax, byte [ecx + 9]
or edx, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4cd456
xor eax, eax
test edx, edx
cmovne eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4cd4c8
mov edx, dword [esp + 0x10]
mov ecx, edi
push 0
push 0
call fcn.004ca810
add esp, 8
test eax, eax
jne 0x4cd4c8
mov edx, dword [esp + 0x10]
cmp dword [edx + 8], eax
je 0x4cd4fb
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
push 0xffffffffffffffff
cmovne ecx, eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov byte [ecx + 0x14], 1
mov ecx, edi
call fcn.004c4f70
add esp, 0x10
mov dword [esp + 0x64], 1
jmp 0x4cd591
mov eax, dword [edi + 0x74]
mov ecx, edi
mov edx, dword [esp + 0x10]
test eax, eax
push 0xffffffffffffffff
push 1
push 5
push 0
push 1
push dword [ebp + 0x14]
cmovne ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov byte [ecx + 0x14], 1
mov ecx, edi
push dword [esp + 0x38]
call fcn.004c4b70
add esp, 0x24
mov dword [esp + 0x64], 1
jmp 0x4cd591
push dword [ebp + 0xc]
mov edx, dword [ebp + 0x30]
mov ecx, dword [esp + 0x18]
push 0
push dword [esp + 0x18]
call fcn.004e2780
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov ecx, esi
call fcn.0049c120
jmp 0x4cd591
mov edi, 2
mov edx, dword [esp + 0x10]
movzx eax, word [edx + 0x28]
test ax, ax
js 0x4cd565
movsx ecx, ax
mov eax, dword [edx + 4]
add ecx, ecx
push dword [eax + ecx*8]
mov ecx, dword [esp + 0x18]
push dword [edx]
push str._s._s
push dword [ecx]
call fcn.0047f510
add esp, 0x10
mov edx, 0x613
jmp 0x4cd57f
push dword [edx]
mov ecx, dword [esp + 0x18]
push str._s.rowid
push dword [ecx]
call fcn.0047f510
add esp, 0xc
mov edx, 0xa13
mov ecx, dword [esp + 0x14]
push 2
push 0xfffffffffffffff9
push eax
push edi
call fcn.004c2b10
add esp, 0x10
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x1c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4cd5af
push edx
mov edx, esi
call fcn.0049c590
add esp, 4
jmp 0x4cd5b8
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
cmp dword [esp + 0x60], 0
je 0x4cd64b
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x6c], ecx
cmp dword [esi + 0x70], ecx
jg 0x4cd5ea
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
mov dword [esp + 0x6c], eax
jmp 0x4cd61d
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [esp + 0x60]
mov edx, dword [esi + 0x6c]
dec ecx
cmp byte [eax + 0x51], 0
je 0x4cd634
mov eax, 0x647cd0
jmp 0x4cd649
test ecx, ecx
mov eax, edx
cmovns eax, dword [esp + 0x60]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
add eax, 0xfffffff4
mov dword [eax], edx
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x24], eax
test eax, eax
je 0x4ce278
mov edi, dword [ebp + 8]
cmp dword [edi + ecx*4], 0
mov edi, dword [esp + 0x14]
je 0x4ce25b
cmp dword [esp + 0x58], eax
jne 0x4cd722
mov eax, dword [esp + 0x5c]
mov ecx, dword [esi + 0x6c]
inc eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x68], ecx
cmp dword [esi + 0x70], ecx
jg 0x4cd6af
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
mov dword [esp + 0x68], eax
jmp 0x4cd6e2
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4cd6ff
mov eax, 0x647cc8
mov dword [eax + 8], edx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
jmp 0x4cd72c
mov ecx, dword [esp + 0x5c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
lea eax, [eax + ecx*4]
mov eax, dword [esp + 0x24]
jmp 0x4cd72c
dec dword [edi + 0x38]
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x40], ecx
cmp byte [esp + 0x3e], 0
jne 0x4cd753
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x4cd73f
cmp ecx, eax
jne 0x4cd753
mov eax, dword [ebp + 0x14]
mov ecx, esi
inc eax
push eax
call fcn.004cb4a0
add esp, 4
mov byte [esp + 0x3e], 1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
cmp dword [eax + 0x24], 0
je 0x4cd82b
mov eax, dword [ebp + 8]
mov edx, dword [eax + ecx*4]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4cd789
push 0
push edx
push 0
mov edx, 0x49
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4cd7bc
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x24]
mov eax, dword [edi]
mov dword [esp + 0x18], eax
test edx, edx
je 0x4cd7eb
push 0
push 0
mov ecx, eax
call fcn.004b1620
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x18]
jmp 0x4cd7ed
xor edi, edi
cmp byte [eax + 0x51], 0
jne 0x4cd80b
mov ecx, dword [esp + 0x14]
push 0x10
push dword [esp + 0x44]
push edi
push ecx
call fcn.004b6bc0
mov eax, dword [esp + 0x28]
add esp, 0x10
test edi, edi
je 0x4cd818
mov edx, edi
mov ecx, eax
call fcn.004b1380
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov dword [edi + 0x34], 0
mov edx, dword [ebp + 8]
movzx eax, word [eax + 0x34]
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0
mov edx, dword [edx + ecx*4]
lea ecx, [edx + 1]
mov dword [esp + 0x2c], ecx
mov ecx, eax
cmp word [esp + 0x28], ax
jae 0x4cd99a
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 0x20], eax
mov edx, ecx
mov dword [esp + 0x1c], ecx
jmp 0x4cd874
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
movsx edx, word [eax + edx*2]
cmp edx, 0xfffffffe
jne 0x4cd8f3
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + ecx + 4]
mov eax, dword [edi]
mov dword [esp + 0x30], eax
test edx, edx
je 0x4cd8b7
push 0
push 0
mov ecx, eax
call fcn.004b1620
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x30]
jmp 0x4cd8b9
xor edi, edi
cmp byte [eax + 0x51], 0
jne 0x4cd8d6
mov ecx, dword [esp + 0x20]
mov edx, edi
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004b6430
mov eax, dword [esp + 0x34]
add esp, 4
test edi, edi
je 0x4cd8e3
mov edx, edi
mov ecx, eax
call fcn.004b1380
mov edi, dword [esp + 0x14]
mov dword [edi + 0x34], 0
jmp 0x4cd96e
cmp edx, 0xffffffff
je 0x4cd90c
mov eax, dword [esp + 0x10]
movsx eax, word [eax + 0x28]
cmp edx, eax
je 0x4cd90c
mov edi, dword [ebp + 0x14]
inc edi
add edi, edx
jmp 0x4cd90f
mov edi, dword [ebp + 0x14]
mov ecx, dword [esi + 0x6c]
sar edx, 0x1f
and edx, 1
add edx, 0x4f
cmp dword [esi + 0x70], ecx
jg 0x4cd934
mov ecx, dword [esp + 0x20]
push 0
push ecx
push edi
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4cd96a
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4], dl
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], 0
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [eax + 0x10], 0
mov word [eax + 2], cx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov byte [eax + 1], 0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
add dword [esp + 0x1c], 0x18
inc edx
inc dword [esp + 0x20]
movzx ecx, word [eax + 0x34]
mov dword [esp + 0x18], edx
cmp edx, ecx
jl 0x4cd870
mov eax, dword [esp + 0x38]
mov edx, dword [ebp + 8]
mov edx, dword [edx + eax*4]
movzx edi, cx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4cd9bc
push edx
push edi
push dword [esp + 0x34]
mov edx, 0x5c
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4cd9eb
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x18], 0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
je 0x4cda32
cmp edx, ecx
jne 0x4cda32
cmp byte [ebp + 0x1c], 0
jne 0x4cda32
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4cda24
push edx
mov edx, esi
call fcn.0049c590
add esp, 4
jmp 0x4ce257
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x4ce257
movzx eax, byte [ecx + 0x36]
test eax, eax
jne 0x4cda5b
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4cda24
push edx
mov edx, esi
call fcn.0049c590
add esp, 4
jmp 0x4ce257
cmp byte [ebp + 0x20], 0xb
je 0x4cda67
movzx eax, byte [ebp + 0x20]
jmp 0x4cda72
cmp eax, 0xb
mov edi, 2
cmove eax, edi
mov dword [esp + 0x18], eax
cmp dword [esp + 0x58], ecx
jne 0x4cda92
mov edi, dword [ebp + 0x30]
xor eax, eax
cmp dword [edi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x38], 0
jne 0x4cdb68
cmp dword [ecx + 0x14], 0
jne 0x4cdb68
cmp edx, ecx
jne 0x4cdb68
cmp eax, 5
jne 0x4cdb68
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x20]
and eax, 0x2000
mov dword [esp + 0x70], eax
je 0x4cdb0f
mov ecx, dword [esp + 0x14]
xor edx, edx
xor edi, edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x4cdaeb
mov edx, dword [esp + 0x10]
call fcn.004de720
mov edx, eax
mov ecx, edx
test edx, edx
je 0x4cdb04
cmp byte [ecx + 8], 0x79
jne 0x4cdafd
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4cdaf1
xor eax, eax
test edi, edi
cmovne eax, edx
test eax, eax
jne 0x4cdb68
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x20]
and eax, 0x4000
mov dword [esp + 0x70], eax
je 0x4cdb43
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x10], 0
jne 0x4cdb68
mov ecx, dword [eax + 0x48]
mov edx, dword [eax]
add ecx, 0x38
push 0
call fcn.004818d0
add esp, 4
cmp dword [eax + 8], 0
jne 0x4cdb68
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4cda24
push edx
mov edx, esi
call fcn.0049c590
add esp, 4
jmp 0x4ce257
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x28], edx
movzx edi, word [eax + 0x32]
mov dword [esp + 0x1c], edi
cmp dword [esi + 0x70], edx
jg 0x4cdba3
push dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
mov edx, 0x1b
push dword [esp + 0x44]
add eax, dword [ebp + 0x10]
mov ecx, esi
push eax
call fcn.0049bf40
add esp, 0xc
mov edx, eax
jmp 0x4cdbe5
mov edi, dword [esp + 0x38]
lea eax, [edx + 1]
add edi, dword [ebp + 0x10]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x40]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x1b
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x4cdbfc
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edi
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x34]
jne 0x4cdc10
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x44], edi
jmp 0x4cdc76
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
cmp eax, 1
jne 0x4cdc45
mov al, byte [ecx + 0x13]
test al, al
jne 0x4cdc30
inc dword [ecx + 0x2c]
mov edi, dword [ecx + 0x2c]
mov dword [esp + 0x44], edi
jmp 0x4cdc76
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov edi, dword [ecx + eax*4 + 0x94]
mov dword [esp + 0x44], edi
jmp 0x4cdc76
mov edx, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x20]
mov dword [esp + 0x44], edi
cmp eax, edx
jg 0x4cdc61
add eax, edi
sub edx, dword [esp + 0x54]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x1c], edx
jmp 0x4cdc72
mov eax, dword [ecx + 0x2c]
lea edi, [eax + 1]
add eax, dword [esp + 0x54]
mov dword [esp + 0x44], edi
mov dword [ecx + 0x2c], eax
mov edx, dword [esp + 0x24]
cmp dword [ebp + 0x18], 0
jne 0x4cdc87
cmp dword [esp + 0x18], 5
jne 0x4cdfe2
mov eax, dword [esp + 0x10]
test byte [eax + 0x24], 0x20
jne 0x4cdd6b
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4cdcb9
mov eax, dword [esp + 0x38]
mov edx, 0x87
add eax, dword [ebp + 0x10]
mov ecx, esi
push 0
push edi
push eax
call fcn.0049bf40
add esp, 0xc
jmp 0x4cdcf3
mov edx, dword [esp + 0x38]
lea eax, [ecx + 1]
add edx, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edi, dword [esp + 0x44]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4cdfe2
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4cdd1d
push eax
push dword [esp + 0x44]
mov edx, 0x35
mov ecx, esi
push edi
call fcn.0049bf40
add esp, 0xc
jmp 0x4cdd4b
mov edx, dword [esp + 0x40]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4cdfe2
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4cdfe2
mov edi, dword [esp + 0x34]
cmp edx, edi
je 0x4cde56
mov eax, dword [esp + 0x34]
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x30], edi
cmp cx, word [eax + 0x32]
jae 0x4cde52
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
movzx edx, word [edx + 0x34]
xor ecx, ecx
test edx, edx
je 0x4cddbe
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
movzx edi, word [eax + edi*2]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
cmp di, word [eax]
je 0x4cddef
inc ecx
add eax, 2
cmp ecx, edx
jl 0x4cddb1
or eax, 0xffffffff
mov ecx, dword [esi + 0x6c]
movsx edx, ax
mov dword [esp + 0x28], edx
cmp dword [esi + 0x70], ecx
jg 0x4cddf4
mov edi, dword [esp + 0x1c]
mov ecx, esi
mov eax, dword [esp + 0x38]
add eax, dword [ebp + 0x10]
push edi
push edx
push eax
mov edx, 0x5a
call fcn.0049bf40
add esp, 0xc
jmp 0x4cde2e
movzx eax, cx
jmp 0x4cddc1
mov edi, dword [esp + 0x38]
lea eax, [ecx + 1]
add edi, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x34]
inc edi
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x1c], edi
mov edi, ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x30], ecx
cmp ecx, eax
jl 0x4cdd95
mov edi, dword [esp + 0x34]
cmp dword [ebp + 0x18], 0
je 0x4cdfe2
movzx ecx, word [edi + 0x32]
mov eax, dword [esi + 0x6c]
add eax, ecx
mov dword [esp + 0x30], 0x34
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x44]
and al, 3
cmp al, 2
cmove edx, dword [esp + 0x2c]
mov dword [esp + 0x7c], edx
xor edx, edx
mov dword [esp + 0x20], edx
test ecx, ecx
je 0x4cdfe2
nop word [eax + eax]
mov eax, dword [edi + 0x20]
mov edx, dword [eax + edx*4]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], edx
mov ecx, dword [eax]
mov al, byte [ecx + 0x4e]
mov byte [esp + 0x3f], al
mov al, byte [ecx + 0xa5]
mov byte [esp + 0x4f], al
movzx eax, al
push eax
push edx
mov dl, byte [esp + 0x47]
call fcn.004c3750
add esp, 8
mov edi, eax
cmp byte [esp + 0x4f], 0
jne 0x4cdefc
test edi, edi
je 0x4cdee5
cmp dword [edi + 0xc], 0
jne 0x4cdefc
push dword [esp + 0x28]
mov dl, byte [esp + 0x43]
mov ecx, dword [esp + 0x18]
push edi
call fcn.004c3510
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 4]
movsx edx, word [eax + ecx*2]
mov eax, dword [esp + 0x34]
movzx ecx, word [eax + 0x32]
mov eax, dword [esp + 0x30]
dec ecx
cmp dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x18]
cmove eax, dword [esp + 0x78]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
cmovne eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], eax
add ecx, edx
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x7c]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x70], eax
cmp dword [esi + 0x70], edx
jg 0x4cdf68
mov edx, dword [esp + 0x30]
push eax
push dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
mov edx, eax
jmp 0x4cdfa5
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x30]
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xc], ecx
push 0xfffffffffffffffe
push edi
mov ecx, esi
call fcn.0049cd30
mov eax, dword [esi + 0x6c]
add esp, 8
test eax, eax
jle 0x4cdfc9
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
inc edx
mov dword [esp + 0x20], edx
movzx eax, word [edi + 0x32]
cmp edx, eax
jl 0x4cdea0
mov edi, dword [esp + 0x18]
lea eax, [edi - 1]
cmp eax, 5
ja case.0x4cdff2.5
jmp dword [eax*4 + 0x4ce3c0]
push dword [esp + 0x24]
mov edx, edi
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.004c2b90
add esp, 4
jmp 0x4ce160
mov eax, dword [esp + 0x38]
add eax, dword [ebp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, edi
mov edx, dword [ebp + 0x30]
push eax
push dword [esp + 0x28]
push dword [esp + 0x18]
call fcn.004e2780
add esp, 0xc
jmp 0x4ce039
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4ce05c
push 0
push dword [ebp + 0x24]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.0049bf40
add esp, 0xc
jmp 0x4ce160
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4ce160
mov eax, dword [esp + 0x50]
xor edi, edi
mov eax, dword [eax + 0x20]
and eax, 0x2000
or eax, edi
je 0x4ce0f4
mov ecx, dword [esp + 0x14]
xor edx, edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x4ce0c4
mov edx, dword [esp + 0x10]
call fcn.004de720
mov edx, eax
mov ecx, edx
test edx, edx
je 0x4ce0e3
nop word [eax + eax]
cmp byte [ecx + 8], 0x79
jne 0x4ce0dc
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4ce0d0
xor eax, eax
test edi, edi
cmovne eax, edx
mov dword [esp + 0x28], eax
mov edi, eax
test eax, eax
jne 0x4ce10c
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 0
push 0
call fcn.004ca810
add esp, 8
test eax, eax
je 0x4ce11c
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x38]
add eax, edx
push eax
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x28], eax
sete al
movzx eax, al
push eax
push 5
push 0
push dword [esp + 0x64]
push dword [esp + 0x58]
push edx
push dword [ebp + 0xc]
mov edx, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x38]
mov ecx, edi
call fcn.004c4b70
add esp, 0x24
mov dword [esp + 0x64], 1
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x24]
jne 0x4ce1f4
mov edx, dword [esp + 0x5c]
mov ecx, dword [esi + 0x6c]
inc edx
cmp dword [esi + 0x70], ecx
jg 0x4ce191
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4ce1c4
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4ce1d9
mov eax, 0x647cc8
mov dword [eax + 8], edx
jmp 0x4ce21b
mov ecx, dword [esp + 0x68]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4ce21b
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4ce212
push edx
mov edx, esi
call fcn.0049c590
add esp, 4
jmp 0x4ce21b
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x44]
cmp ecx, dword [esp + 0x2c]
je 0x4ce257
mov eax, dword [esp + 0x54]
cmp eax, 1
jne 0x4ce24c
test ecx, ecx
je 0x4ce257
mov al, byte [edi + 0x13]
mov edx, dword [esp + 0x10]
cmp al, 8
jae 0x4ce25b
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
jmp 0x4ce25b
cmp eax, dword [edi + 0x1c]
jle 0x4ce257
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
inc dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
mov edi, dword [edi + 0x14]
mov eax, edi
mov dword [esp + 0x24], edi
test edi, edi
jne 0x4cd664
mov edx, dword [esp + 0x60]
test edx, edx
je 0x4ce2fb
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4ce2a2
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4ce2d1
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4ce2e3
mov eax, 0x647cc8
jmp 0x4ce2f8
mov ecx, dword [esp + 0x6c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x10]
test byte [eax + 0x24], 0x20
jne 0x4ce385
mov ecx, dword [esp + 0x38]
mov edx, dword [ebp + 8]
mov edi, dword [edx + ecx*4]
movsx edx, word [eax + 0x2a]
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x6c]
inc eax
mov dword [esp + 0x70], edi
cmp dword [esi + 0x70], ecx
jg 0x4ce33b
push edi
push edx
push eax
mov edx, 0x5c
mov ecx, esi
call fcn.0049bf40
add esp, 0xc
jmp 0x4ce36e
mov edi, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
inc edi
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x70]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x3e], 0
jne 0x4ce385
mov edx, dword [esp + 0x10]
mov ecx, esi
push 0
call fcn.004cb4a0
add esp, 4
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret