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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x703034]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, ecx
mov dword [esp + 0x10], edx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x7c], ecx
mov ecx, dword [ebp + 0x30]
push esi
mov esi, dword [ebp + 0x2c]
mov dword [esp + 0x58], ecx
xor ecx, ecx
push edi
mov edi, dword [eax + 8]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x74], 0
mov dword [esp + 0x6c], 0
mov byte [esp + 0x4b], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x50], edi
test edi, edi
jne 0x4cd62d
cmp dword [eax + 0x74], edi
jne 0x4cd61c
test byte [ecx + 0x4c], 8
jne 0x4cd61c
mov byte [eax + 0x17], 1
mov ecx, eax
call fcn.00498fc0
mov edx, dword [esp + 0x18]
mov edi, eax
mov dword [esp + 0x50], edi
test byte [edx + 0x24], 0x20
movsx eax, word [edx + 0x2a]
mov dword [esp + 0x54], eax
jne 0x4cd64d
mov dword [esp + 0x40], 0
mov dword [esp + 0x64], 1
jmp 0x4cd678
mov ecx, dword [edx + 8]
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x4cd670
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4cd668
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4cd658
mov eax, dword [esp + 0x54]
mov dword [esp + 0x40], ecx
movzx ecx, word [ecx + 0x32]
mov dword [esp + 0x64], ecx
xor edx, edx
mov dword [esp + 0x20], edx
test eax, eax
jle 0x4cd872
xor ecx, ecx
mov dword [esp + 0x30], ecx
nop dword [eax]
mov eax, dword [esp + 0x18]
movsx eax, word [eax + 0x28]
cmp edx, eax
je 0x4cd85a
test esi, esi
je 0x4cd6ae
cmp dword [esi + edx*4], 0
jl 0x4cd85a
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
movzx esi, byte [eax + ecx + 0xc]
test esi, esi
je 0x4cd856
mov dl, byte [ebp + 0x20]
cmp dl, 0xb
je 0x4cd6fe
movzx esi, dl
cmp esi, 5
jne 0x4cd6df
cmp dword [eax + ecx + 4], 0
mov eax, 2
cmove esi, eax
mov edx, dword [esp + 0x20]
lea eax, [esi - 1]
mov dword [esp + 0x28], 0
cmp eax, 4
ja case.0x4cd6f7.4
jmp dword [eax*4 + 0x4cef04]
cmp esi, 0xb
jne 0x4cd6cd
mov esi, 2
jmp 0x4cd6df
mov eax, dword [esp + 0x14]
inc edx
mov esi, dword [ebp + 0x14]
mov ecx, edi
add esi, edx
mov edx, 0x33
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
push eax
push esi
mov dword [esp + 0x30], eax
call fcn.00499430
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push esi
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x3c]
mov edx, dword [edx + eax + 4]
call fcn.004b5b40
add esp, 0xc
mov edx, 0x33
mov ecx, edi
push dword [esp + 0x28]
push esi
call fcn.00499430
add esp, 8
mov esi, 2
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
push dword [eax + ecx]
push dword [edx]
push 0x707a04
push dword [esp + 0x6c]
call fcn.00479e10
mov edx, dword [ebp + 0x14]
add esp, 0x10
mov ecx, dword [edi + 0x6c]
inc edx
add edx, dword [esp + 0x20]
mov dword [esp + 0x38], eax
cmp dword [edi + 0x70], ecx
jg 0x4cd7be
push edx
push esi
push 0x513
mov edx, 0x44
mov ecx, edi
call fcn.004992c0
add esp, 0xc
jmp 0x4cd7ed
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x44
mov dword [eax + ecx*4 + 4], 0x513
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
mov edx, dword [esp + 0x38]
cmp byte [ecx + 0x51], 0
je 0x4cd809
push edx
mov edx, 0xfffffff9
call fcn.00499fd0
add esp, 4
jmp 0x4cd81b
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf9
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4cd832
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x28]
test edx, edx
je 0x4cd852
mov ecx, dword [edi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4cd8b6
push edx
mov edx, edi
call fcn.00499aa0
add esp, 4
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
add dword [esp + 0x30], 0x10
inc edx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], edx
cmp edx, dword [esp + 0x54]
jl 0x4cd690
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x28], edx
test edx, edx
je 0x4cdb75
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x20]
and eax, 0x200
or eax, 0
jne 0x4cdb75
mov eax, dword [ebp + 0x14]
not eax
mov dword [esi + 0x34], eax
mov al, byte [ebp + 0x20]
cmp al, 0xb
je 0x4cd920
movzx eax, al
mov dword [esp + 0x30], eax
jmp 0x4cd928
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x4cd852
mov esi, dword [ebp + 0x14]
mov ecx, dword [edi + 0x6c]
inc esi
add esi, edx
cmp dword [edi + 0x70], ecx
jg 0x4cd8e9
push 0
push dword [ebp + 0x24]
mov edx, 0x32
mov ecx, edi
push esi
call fcn.004992c0
add esp, 0xc
jmp 0x4cd852
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp + 0x24]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4cd856
mov dword [esp + 0x30], 2
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [edx], ecx
jle 0x4cdb6e
lea eax, [edx + 8]
mov dword [esp + 0x44], eax
nop dword [eax]
cmp dword [esp + 0x34], 0
mov esi, dword [eax - 4]
je 0x4cd9bd
mov edi, dword [esp + 0x34]
xorps xmm0, xmm0
xor al, al
mov dword [esp + 0xa8], 0
movaps xmmword [esp + 0x90], xmm0
movq qword [esp + 0xa0], xmm0
mov dword [esp + 0xa8], edi
mov edi, dword [esp + 0x50]
mov byte [esp + 0xa4], al
mov dword [esp + 0x94], 0x4cd550
test esi, esi
je 0x4cd9ad
mov edx, esi
lea ecx, [esp + 0x90]
call fcn.004ac5c0
mov al, byte [esp + 0xa4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
cmp byte [ebp + 0x1c], 0
jne 0x4cd9b5
and al, 0xfd
test al, al
je 0x4cdb52
mov ecx, dword [esp + 0x14]
push 0x10
dec dword [ecx + 0x38]
mov eax, dword [ecx + 0x38]
push eax
push esi
push ecx
mov dword [esp + 0x78], eax
call fcn.004b6070
mov edx, dword [esp + 0x40]
add esp, 0x10
cmp edx, 4
jne 0x4cda3b
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4cda04
push 0
push dword [ebp + 0x24]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.004992c0
add esp, 0xc
jmp 0x4cdb23
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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 0x4cdb23
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
test eax, eax
jne 0x4cda53
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x14]
cmp edx, 5
mov eax, 2
cmove edx, eax
mov dword [esp + 0x30], edx
mov esi, dword [ecx + 8]
test esi, esi
jne 0x4cda8d
cmp dword [ecx + 0x74], esi
jne 0x4cda7e
mov eax, dword [ecx]
test byte [eax + 0x4c], 8
jne 0x4cda7e
mov byte [ecx + 0x17], 1
call fcn.00498fc0
mov edx, dword [esp + 0x30]
mov esi, eax
mov ecx, dword [esp + 0x14]
cmp edx, 2
jne 0x4cda9e
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x4c], ecx
cmp dword [esi + 0x70], ecx
jg 0x4cdac3
push 0
push edx
push 0x113
mov edx, 0x45
mov ecx, esi
call fcn.004992c0
add esp, 0xc
jmp 0x4cdafa
mov edi, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0x113
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x4c]
push 0
push dword [esp + 0x3c]
mov edx, eax
mov ecx, esi
call fcn.0049a240
mov eax, dword [esi + 0x6c]
add esp, 8
test eax, eax
jle 0x4cdb23
lea ecx, [eax + eax*4]
mov edx, 3
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x68]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4cdb41
push edx
mov edx, edi
call fcn.00499aa0
add esp, 4
jmp 0x4cdb4a
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
inc ecx
add eax, 0x18
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x44], eax
cmp ecx, dword [edx]
jl 0x4cd940
mov esi, dword [esp + 0x14]
mov dword [esi + 0x34], 0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4cdbf9
cmp dword [eax], 0
jne 0x4cdb94
mov byte [ebp + 0x20], 4
mov dword [esp + 0x5c], 0
jmp 0x4cdbf9
mov eax, dword [eax + 0x10]
mov dword [esp + 0x6c], eax
test eax, eax
je 0x4cdbf9
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x70], edx
cmp dword [edi + 0x70], edx
jg 0x4cdbc6
push 0
push 0
push 0
mov edx, 0xb
mov ecx, edi
call fcn.004992c0
add esp, 0xc
mov dword [esp + 0x70], eax
jmp 0x4cdbf9
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 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
je 0x4ce040
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x4ce040
mov ecx, dword [esp + 0x18]
dec dword [esi + 0x38]
cmp byte [ebp + 0x20], 0xb
mov edx, dword [esi + 0x38]
movzx eax, byte [ecx + 0x30]
mov dword [esp + 0x30], edx
je 0x4cdc2d
movzx eax, byte [ebp + 0x20]
jmp 0x4cdc38
cmp eax, 0xb
mov esi, 2
cmove eax, esi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
test esi, esi
je 0x4cdc5f
cmp dword [esi + 0x10], 0
jne 0x4cdc5f
xor eax, eax
cmp dword [esi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x28], eax
jmp 0x4cdc82
cmp eax, 5
jne 0x4cdc82
cmp byte [ebp + 0x20], al
je 0x4cdc82
cmp dword [ecx + 8], 0
je 0x4cdc82
lea edx, [eax + 6]
mov ecx, edi
call fcn.00499370
mov edx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4cdcef
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4cdcab
push eax
push edx
push dword [ebp + 0x14]
mov edx, 0x35
mov ecx, edi
call fcn.004992c0
mov edx, dword [esp + 0x3c]
add esp, 0xc
jmp 0x4cdcd8
mov esi, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4cdcef
lea ecx, [eax + eax*4]
mov esi, 0x90
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], si
mov ecx, dword [edi + 0x6c]
mov esi, dword [ebp + 0xc]
cmp dword [edi + 0x70], ecx
jg 0x4cdd10
push dword [ebp + 0x14]
mov ecx, edi
push edx
push esi
mov edx, 0x1f
call fcn.004992c0
add esp, 0xc
jmp 0x4cdd3a
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x28]
lea eax, [esi - 1]
cmp eax, 5
ja case.default.0x4cdd4a
jmp dword [eax*4 + 0x4cef18]
mov eax, dword [esp + 0x60]
xor esi, esi
mov eax, dword [eax + 0x20]
and eax, 0x2000
or eax, esi
je 0x4cdd7d
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
push esi
push 0x7c
call fcn.004e1d40
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4cddb6
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, 0
je 0x4cddfb
mov eax, dword [esp + 0x18]
push 0
mov ecx, dword [eax + 0x48]
mov edx, dword [eax]
add ecx, 0x38
call fcn.0047c650
add esp, 4
cmp dword [eax + 8], 0
jne 0x4cddb6
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x10], 0
je 0x4cddf7
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
push 1
mov eax, dword [ecx + 0x74]
test eax, eax
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, dword [esp + 0x34]
push esi
call fcn.004c5790
add esp, 0x24
mov dword [esp + 0x74], 1
jmp 0x4cdf84
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
cmp dword [esi + 8], 0
je 0x4cde29
mov eax, dword [ecx + 0x74]
mov edx, esi
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, dword [esp + 0x24]
call fcn.004c5b90
add esp, 0x10
mov dword [esp + 0x74], 1
jmp 0x4cdf84
push dword [ebp + 0xc]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
push 0
push dword [esp + 0x20]
call fcn.004e5370
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov ecx, edi
call fcn.004994a0
jmp 0x4cdf84
mov esi, 2
mov edx, dword [esp + 0x18]
movzx eax, word [edx + 0x28]
test ax, ax
js 0x4cde9a
movsx ecx, ax
mov eax, dword [edx + 4]
add ecx, ecx
push dword [eax + ecx*8]
mov eax, dword [esp + 0x18]
push dword [edx]
push 0x7074dc
push dword [eax]
call fcn.00479e10
add esp, 0x10
mov dword [esp + 0x28], 0x613
jmp 0x4cdeb7
push dword [edx]
mov eax, dword [esp + 0x18]
push str._s.rowid
push dword [eax]
call fcn.00479e10
add esp, 0xc
mov dword [esp + 0x28], 0xa13
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x44], edx
test edx, edx
jne 0x4cdeea
cmp dword [ecx + 0x74], edx
jne 0x4cdedb
mov eax, dword [ecx]
test byte [eax + 0x4c], 8
jne 0x4cdedb
mov byte [ecx + 0x17], 1
call fcn.00498fc0
mov ecx, dword [esp + 0x14]
mov edx, eax
mov dword [esp + 0x44], edx
cmp esi, 2
jne 0x4cdefb
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [edx + 0x6c]
mov dword [esp + 0x4c], ecx
cmp dword [edx + 0x70], ecx
jg 0x4cdf24
mov edx, dword [esp + 0x28]
push 0
push esi
mov esi, dword [esp + 0x4c]
mov ecx, esi
push edx
mov edx, 0x45
call fcn.004992c0
add esp, 0xc
jmp 0x4cdf5b
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x4c]
push 0xfffffffffffffff9
push dword [esp + 0x3c]
mov edx, eax
mov ecx, esi
call fcn.0049a240
mov eax, dword [esi + 0x6c]
add esp, 8
test eax, eax
jle 0x4cdf84
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x30]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4cdfa2
push edx
mov edx, edi
call fcn.00499aa0
add esp, 4
jmp 0x4cdfab
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
cmp dword [esp + 0x78], 0
je 0x4ce040
mov esi, dword [edi + 0x6c]
mov dword [esp + 0x80], esi
cmp dword [edi + 0x70], esi
jg 0x4cdfe3
push 0
push 0
push 0
mov edx, 0xb
mov ecx, edi
call fcn.004992c0
add esp, 0xc
mov dword [esp + 0x80], eax
jmp 0x4ce016
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 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 ecx, dword [esp + 0x78]
sub ecx, 1
mov edx, dword [edi + 0x6c]
jns 0x4ce025
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4ce034
mov eax, 0x715eec
jmp 0x4ce03d
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], 0
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4ce4e4
mov edx, dword [esp + 0x3c]
xor ecx, ecx
cmp dword [edx + ecx*4], 0
je 0x4ce4d0
mov edx, dword [esp + 0x6c]
cmp edx, eax
jne 0x4ce123
mov eax, dword [esp + 0x70]
mov esi, dword [edi + 0x6c]
inc eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x7c], esi
cmp dword [edi + 0x70], esi
jg 0x4ce0a7
push 0
push 0
push 0
mov edx, 0xb
mov ecx, edi
call fcn.004992c0
add esp, 0xc
mov dword [esp + 0x7c], eax
jmp 0x4ce0da
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 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 [esp + 0x70]
mov ecx, eax
mov edx, dword [edi + 0x6c]
test eax, eax
jns 0x4ce0ea
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4ce108
mov esi, dword [esp + 0x14]
mov eax, 0x715eec
mov dword [eax + 8], edx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
jmp 0x4ce131
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x6c]
lea eax, [eax + ecx*4]
mov eax, dword [esp + 0x1c]
jmp 0x4ce131
mov esi, dword [esp + 0x14]
dec dword [esi + 0x38]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x34], ecx
cmp byte [esp + 0x4b], 0
jne 0x4ce158
test edx, edx
je 0x4ce140
cmp edx, eax
jne 0x4ce158
mov eax, dword [ebp + 0x14]
mov ecx, edi
mov edx, dword [esp + 0x18]
inc eax
push eax
call fcn.004cbc80
add esp, 4
mov byte [esp + 0x4b], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
cmp dword [eax + 0x24], 0
je 0x4ce231
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + ecx*4]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4ce18f
push 0
push edx
push 0
mov edx, 0x49
mov ecx, edi
call fcn.004992c0
add esp, 0xc
jmp 0x4ce1c2
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x50]
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 [esi + 0x34], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x24]
mov eax, dword [esi]
mov dword [esp + 0x38], eax
test edx, edx
je 0x4ce1f1
push 0
push 0
mov ecx, eax
call fcn.004b0150
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x38]
jmp 0x4ce1f3
xor esi, esi
cmp byte [eax + 0x51], 0
jne 0x4ce211
mov eax, dword [esp + 0x14]
push 0x10
push dword [esp + 0x38]
push esi
push eax
call fcn.004b6420
mov eax, dword [esp + 0x48]
add esp, 0x10
test esi, esi
je 0x4ce21e
mov edx, esi
mov ecx, eax
call fcn.004aff00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x34], 0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
xor esi, esi
mov edx, dword [edx + ecx*4]
xor ecx, ecx
inc edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x30], edx
cmp si, word [eax + 0x34]
jae 0x4ce427
mov esi, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], ecx
nop dword [eax]
mov eax, dword [eax + 4]
movsx edx, word [eax + ecx*2]
cmp edx, 0xfffffffe
jne 0x4ce390
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x28]
not eax
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 4]
test edx, edx
je 0x4ce2a7
push 0
push 0
call fcn.004b0150
mov ecx, dword [esp + 0x34]
add esp, 8
jmp 0x4ce2a9
xor eax, eax
cmp byte [ecx + 0x51], 0
mov dword [esp + 0x38], eax
jne 0x4ce2f4
test eax, eax
je 0x4ce342
cmp byte [eax], 0xab
jne 0x4ce342
mov edx, dword [eax + 0x1c]
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 8]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4ce311
push 0
push dword [esp + 0x24]
push edx
mov edx, 0x4e
mov ecx, esi
call fcn.004992c0
add esp, 0xc
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
test edx, edx
je 0x4ce301
call fcn.004aff00
mov eax, dword [esp + 0x14]
mov dword [eax + 0x34], 0
jmp 0x4ce400
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4e
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4ce2f0
mov ecx, dword [esp + 0x14]
mov edx, eax
push esi
call fcn.004b4840
mov edx, eax
add esp, 4
cmp edx, esi
je 0x4ce2f0
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 8]
test esi, esi
je 0x4ce2ec
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4ce37b
push 0
push dword [esp + 0x24]
push edx
mov edx, 0x4f
jmp 0x4ce2e2
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4f
jmp 0x4ce324
cmp edx, 0xffffffff
je 0x4ce3a9
mov eax, dword [esp + 0x18]
movsx eax, word [eax + 0x28]
cmp edx, eax
je 0x4ce3a9
mov esi, dword [ebp + 0x14]
inc esi
add esi, edx
jmp 0x4ce3ac
mov esi, dword [ebp + 0x14]
mov ecx, dword [edi + 0x6c]
sar edx, 0x1f
and edx, 1
add edx, 0x4f
cmp dword [edi + 0x70], ecx
jg 0x4ce3d4
push 0
push dword [esp + 0x24]
mov ecx, edi
push esi
call fcn.004992c0
mov esi, dword [esp + 0x2c]
add esp, 0xc
jmp 0x4ce400
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x20]
mov byte [eax + ecx*4], dl
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [eax + 8], esi
mov word [eax + 2], cx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x1c]
inc esi
mov ecx, dword [esp + 0x54]
add dword [esp + 0x28], 0x18
inc ecx
mov dword [esp + 0x54], ecx
movzx eax, word [eax + 0x34]
cmp ecx, eax
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x1c]
jl 0x4ce260
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
movzx esi, word [eax + 0x34]
mov edx, dword [edx + ecx*4]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4ce455
push edx
push esi
push dword [esp + 0x38]
mov edx, 0x5c
mov ecx, edi
call fcn.004992c0
add esp, 0xc
jmp 0x4ce484
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x18], 0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
je 0x4ce520
cmp edx, ecx
jne 0x4ce520
cmp byte [ebp + 0x1c], 0
jne 0x4ce520
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x34]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4ce515
push edx
mov edx, edi
call fcn.00499aa0
add esp, 4
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x14]
inc ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
test eax, eax
jne 0x4ce061
mov edx, dword [esp + 0x78]
test edx, edx
je 0x4cee52
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4cedf3
push 0
push edx
push 0
mov edx, 0xb
mov ecx, edi
call fcn.004992c0
add esp, 0xc
jmp 0x4cee26
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x4ce4c0
movzx eax, byte [ecx + 0x36]
test eax, eax
je 0x4ce4a4
cmp byte [ebp + 0x20], 0xb
je 0x4ce538
movzx eax, byte [ebp + 0x20]
jmp 0x4ce543
cmp eax, 0xb
mov esi, 2
cmove eax, esi
mov dword [esp + 0x28], eax
cmp dword [esp + 0x6c], ecx
jne 0x4ce564
mov esi, dword [esp + 0x5c]
xor eax, eax
cmp dword [esi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x28], eax
cmp dword [esp + 0x24], 0
jne 0x4ce62d
cmp dword [ecx + 0x14], 0
jne 0x4ce62d
cmp edx, ecx
jne 0x4ce62d
cmp eax, 5
jne 0x4ce62d
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x20]
and eax, 0x2000
mov dword [esp + 0x88], eax
mov eax, 0
jne 0x4ce5a8
test eax, eax
je 0x4ce5ee
mov ecx, dword [esp + 0x14]
xor edx, edx
xor esi, esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x4ce5c9
mov edx, dword [esp + 0x18]
call fcn.004e0cc0
mov edx, eax
mov ecx, edx
test edx, edx
je 0x4ce5e3
nop
cmp byte [ecx + 8], 0x7c
jne 0x4ce5dc
movzx eax, byte [ecx + 9]
or esi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4ce5d0
xor eax, eax
test esi, esi
cmovne eax, edx
test eax, eax
jne 0x4ce62d
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x20]
and eax, 0x4000
mov dword [esp + 0x88], eax
mov eax, 0
jne 0x4ce60c
test eax, eax
je 0x4ce668
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x10], eax
jne 0x4ce62d
mov ecx, dword [esi + 0x48]
mov edx, dword [esi]
add ecx, 0x38
push 0
call fcn.0047c650
add esp, 4
cmp dword [eax + 8], 0
je 0x4ce66c
mov eax, dword [esp + 0x1c]
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x4c], edx
movzx esi, word [eax + 0x32]
mov dword [esp + 0x68], esi
cmp dword [edi + 0x70], edx
jg 0x4ce69b
push dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edx, 0x1b
push dword [esp + 0x38]
add eax, dword [ebp + 0x10]
mov ecx, edi
push eax
call fcn.004992c0
add esp, 0xc
mov edx, eax
jmp 0x4ce6dd
mov esi, dword [esp + 0x18]
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x34]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4ce68d
push edx
mov edx, edi
call fcn.00499aa0
add esp, 4
jmp 0x4ce4c4
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x4ce4c4
mov esi, dword [esp + 0x68]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x24]
add edi, dword [ebp + 0x10]
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x1b
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4ce6f4
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], esi
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x40]
jne 0x4ce708
mov esi, dword [esp + 0x30]
mov dword [esp + 0x20], esi
jmp 0x4ce766
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x14]
cmp eax, 1
jne 0x4ce735
mov al, byte [edx + 0x13]
test al, al
jne 0x4ce724
inc dword [edx + 0x2c]
mov esi, dword [edx + 0x2c]
jmp 0x4ce75e
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov esi, dword [edx + eax*4 + 0x94]
jmp 0x4ce75e
mov ecx, dword [edx + 0x1c]
mov esi, dword [edx + 0x20]
mov dword [esp + 0x20], esi
cmp eax, ecx
jg 0x4ce751
add eax, esi
sub ecx, dword [esp + 0x64]
mov dword [edx + 0x20], eax
mov dword [edx + 0x1c], ecx
jmp 0x4ce762
mov eax, dword [edx + 0x2c]
lea esi, [eax + 1]
add eax, dword [esp + 0x64]
mov dword [edx + 0x2c], eax
mov dword [esp + 0x20], esi
mov edx, dword [esp + 0x1c]
cmp dword [ebp + 0x18], 0
jne 0x4ce777
cmp dword [esp + 0x28], 5
jne 0x4ceb49
mov eax, dword [esp + 0x18]
test byte [eax + 0x24], 0x20
jne 0x4ce85b
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4ce7a9
mov eax, dword [esp + 0x24]
mov edx, 0x87
add eax, dword [ebp + 0x10]
mov ecx, edi
push 0
push esi
push eax
call fcn.004992c0
add esp, 0xc
jmp 0x4ce7e3
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
add edx, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov esi, dword [esp + 0x20]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4ceb49
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4ce80d
push eax
push dword [esp + 0x38]
mov edx, 0x35
mov ecx, edi
push esi
call fcn.004992c0
add esp, 0xc
jmp 0x4ce83b
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4ceb49
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4ceb49
mov esi, dword [esp + 0x40]
cmp edx, esi
je 0x4ce946
mov ecx, dword [esp + 0x40]
xor esi, esi
xor eax, eax
mov dword [esp + 0x2c], esi
cmp ax, word [ecx + 0x32]
jae 0x4ce942
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
movzx edx, word [edx + 0x34]
xor ecx, ecx
test edx, edx
jle 0x4ce8ae
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 4]
movzx esi, word [eax + esi*2]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
cmp si, word [eax]
je 0x4ce8df
inc ecx
add eax, 2
cmp ecx, edx
jl 0x4ce8a1
or eax, 0xffffffff
mov ecx, dword [edi + 0x6c]
movsx edx, ax
mov dword [esp + 0x4c], edx
cmp dword [edi + 0x70], ecx
jg 0x4ce8e4
mov esi, dword [esp + 0x44]
mov ecx, edi
mov eax, dword [esp + 0x24]
add eax, dword [ebp + 0x10]
push esi
push edx
push eax
mov edx, 0x5a
call fcn.004992c0
add esp, 0xc
jmp 0x4ce91e
movzx eax, cx
jmp 0x4ce8b1
mov esi, dword [esp + 0x24]
lea eax, [ecx + 1]
add esi, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x4c]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x40]
inc esi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x44], esi
mov esi, ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x2c], ecx
cmp ecx, eax
jl 0x4ce885
mov esi, dword [esp + 0x40]
cmp dword [ebp + 0x18], 0
je 0x4ceb49
movzx ecx, word [esi + 0x32]
mov eax, dword [edi + 0x6c]
add eax, ecx
mov dword [esp + 0x54], 0x34
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x20]
and al, 3
cmp al, 2
cmove edx, dword [esp + 0x30]
mov dword [esp + 0x4c], edx
xor edx, edx
mov dword [esp + 0x2c], edx
test ecx, ecx
je 0x4ceb49
mov eax, dword [ebp + 0x18]
inc eax
mov dword [esp + 0x68], eax
nop
mov eax, dword [esi + 0x20]
mov edx, dword [eax + edx*4]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x88], edx
mov esi, dword [eax]
mov ch, byte [esi + 0x4e]
mov cl, byte [esi + 0xa5]
mov byte [esp + 0x5b], ch
mov byte [esp + 0x5a], cl
test edx, edx
je 0x4ce9dd
movzx eax, cl
mov ecx, esi
push eax
call fcn.004c4230
mov cl, byte [esp + 0x5e]
add esp, 4
mov edx, dword [esp + 0x88]
mov esi, eax
mov ch, byte [esp + 0x5b]
mov dword [esp + 0x44], eax
jmp 0x4ce9e4
mov esi, dword [esi + 8]
mov dword [esp + 0x44], esi
test esi, esi
je 0x4ce9f8
movzx eax, ch
lea eax, [eax + eax*4]
lea esi, [esi + eax*4]
add esi, 0xffffffec
mov dword [esp + 0x44], esi
test cl, cl
jne 0x4cea1c
test esi, esi
je 0x4cea06
cmp dword [esi + 0xc], 0
jne 0x4cea1c
push edx
mov dl, ch
mov ecx, dword [esp + 0x18]
push esi
call fcn.004c4150
mov esi, eax
add esp, 8
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
movsx eax, word [ecx + edx*2]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x88], eax
movzx ecx, word [ecx + 0x32]
dec ecx
cmp edx, ecx
jne 0x4cea4f
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x54], 0x35
mov ecx, dword [esp + 0x68]
mov edx, dword [edi + 0x6c]
add ecx, eax
cmp dword [edi + 0x70], edx
jg 0x4cea7d
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
push eax
push dword [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.004992c0
add esp, 0xc
mov edx, eax
jmp 0x4ceacd
mov esi, dword [esp + 0x44]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x54]
mov byte [ecx], al
xor eax, eax
mov word [ecx + 2], ax
mov eax, dword [esp + 0x68]
add eax, dword [esp + 0x88]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
mov ecx, dword [edi]
cmp byte [ecx + 0x51], 0
je 0x4ceae5
push esi
mov edx, 0xfffffffe
call fcn.00499fd0
add esp, 4
jmp 0x4ceb19
test edx, edx
jns 0x4ceaed
mov edx, dword [edi + 0x6c]
dec edx
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4ceb0e
push 0xfffffffffffffffe
push esi
mov edx, eax
mov ecx, edi
call fcn.0049a160
add esp, 8
jmp 0x4ceb19
test esi, esi
je 0x4ceb19
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xfe
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4ceb30
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
inc edx
mov dword [esp + 0x2c], edx
movzx eax, word [esi + 0x32]
cmp edx, eax
jl 0x4ce990
mov esi, dword [esp + 0x28]
lea eax, [esi - 1]
cmp eax, 5
ja case.0x4ceb59.5
jmp dword [eax*4 + 0x4cef30]
push dword [esp + 0x1c]
mov edx, esi
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.004c3460
add esp, 4
jmp 0x4cece3
mov eax, dword [esp + 0x24]
add eax, dword [ebp + 0x10]
mov esi, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x5c]
push eax
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.004e5370
add esp, 0xc
jmp 0x4ceba1
mov esi, dword [esp + 0x14]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4cebc4
push 0
push dword [ebp + 0x24]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.004992c0
add esp, 0xc
jmp 0x4cece3
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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 0x4cece3
mov eax, dword [esp + 0x60]
xor esi, esi
mov eax, dword [eax + 0x20]
and eax, 0x2000
or eax, esi
je 0x4cec56
mov ecx, dword [esp + 0x14]
xor edx, edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x4cec2c
mov edx, dword [esp + 0x18]
call fcn.004e0cc0
mov edx, eax
mov ecx, edx
test edx, edx
je 0x4cec45
cmp byte [ecx + 8], 0x7c
jne 0x4cec3e
movzx eax, byte [ecx + 9]
or esi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4cec32
xor ecx, ecx
test esi, esi
cmovne ecx, edx
mov dword [esp + 0x4c], ecx
mov esi, ecx
test ecx, ecx
jne 0x4cec8f
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, 0
je 0x4cec9f
mov eax, dword [esp + 0x18]
push 0
mov ecx, dword [eax + 0x48]
mov edx, dword [eax]
add ecx, 0x38
call fcn.0047c650
add esp, 4
cmp dword [eax + 8], 0
jne 0x4cec8f
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x10], 0
je 0x4cec9f
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 + 0x24]
add eax, edx
push eax
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x20], eax
sete al
movzx eax, al
push eax
push 5
push 0
push dword [esp + 0x74]
push dword [esp + 0x34]
push edx
push dword [ebp + 0xc]
mov edx, dword [esp + 0x38]
push esi
mov esi, dword [esp + 0x38]
mov ecx, esi
call fcn.004c5790
add esp, 0x24
mov dword [esp + 0x74], 1
mov eax, dword [esp + 0x6c]
cmp eax, dword [esp + 0x1c]
jne 0x4ced78
mov edx, dword [esp + 0x70]
mov ecx, dword [edi + 0x6c]
inc edx
cmp dword [edi + 0x70], ecx
jg 0x4ced14
push 0
push edx
push 0
mov edx, 0xb
mov ecx, edi
call fcn.004992c0
add esp, 0xc
jmp 0x4ced47
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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 [esp + 0x7c]
mov ecx, eax
mov edx, dword [edi + 0x6c]
test eax, eax
jns 0x4ced57
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4ced69
mov eax, 0x715eec
mov dword [eax + 8], edx
jmp 0x4ced9f
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4ced9f
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x34]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4ced96
push edx
mov edx, edi
call fcn.00499aa0
add esp, 4
jmp 0x4ced9f
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x30]
je 0x4ce4c0
mov eax, dword [esp + 0x64]
cmp eax, 1
jne 0x4ceddf
test ecx, ecx
je 0x4ce4c0
mov al, byte [esi + 0x13]
mov edx, dword [esp + 0x3c]
cmp al, 8
jae 0x4cedd6
movzx eax, al
mov dword [esi + eax*4 + 0x94], ecx
inc byte [esi + 0x13]
mov esi, dword [esp + 0x18]
jmp 0x4ce4c8
cmp eax, dword [esi + 0x1c]
jle 0x4ce4c0
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
jmp 0x4ce4c0
mov esi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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 ecx, dword [esp + 0x80]
mov edx, dword [edi + 0x6c]
test ecx, ecx
jns 0x4cee37
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4cee46
mov eax, 0x715eec
jmp 0x4cee4f
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
test byte [esi + 0x24], 0x20
jne 0x4ceee3
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov esi, dword [ecx + eax*4]
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x88], esi
movsx edx, word [eax + 0x2a]
mov eax, dword [ebp + 0x14]
inc eax
cmp dword [edi + 0x70], ecx
jg 0x4cee96
push esi
push edx
push eax
mov edx, 0x5c
mov ecx, edi
call fcn.004992c0
add esp, 0xc
jmp 0x4ceecc
mov esi, dword [esp + 0x88]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [ebp + 0x14]
inc edi
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x4b], 0
jne 0x4ceee3
mov edx, dword [esp + 0x18]
mov ecx, edi
push 0
call fcn.004cbc80
add esp, 4
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x74]
pop edi
pop esi
mov dword [ecx], eax
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.00620181
mov esp, ebp
pop ebp
ret