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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword [0x570400]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], edi
cmp dword [edi + 0x24], 0
mov edx, dword [edi]
mov dword [esp + 0x64], esi
mov dword [esp + 0x9c], eax
mov dword [esp + 0xc4], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x90], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0xcc], 1
mov dword [esp + 0xc8], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x48], 0
movlpd qword [esp + 0xa4], xmm0
mov dword [esp + 0x88], edx
jne 0x4aa294
mov edx, dword [esp + 0x7c]
call fcn.00478dc0
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x4aa290
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x50], 0xffff8000
test ecx, ecx
je 0x4a7eaf
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x50], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4a7eaf
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4a7ea3
mov dword [esp + 0x50], edx
cmp dword [esi + 0x38], 0
jne 0x4a7ec7
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4a7ed0
cmp dword [eax + 0x30], 0
je 0x4a7ed0
cmp byte [edi + 0xa1], 0
je 0x4a7ee5
mov dword [esp + 0xd4], 0
mov dword [esp + 0x58], 0
jmp 0x4a7f15
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0xdc]
push eax
push ecx
push 0x81
mov edx, esi
mov ecx, edi
call fcn.004a6090
mov dword [esp + 0x64], eax
add esp, 0xc
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x7c]
mov cl, byte [esi + 0x2b]
mov byte [esp + 0x1b], cl
cmp dword [eax], 1
jle 0x4a7f31
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
jmp 0x4a7f39
mov dword [esp + 0x30], 0
cmp cl, 1
je 0x4a7f45
cmp word [esi + 0x22], 0
jg 0x4a7f56
mov edx, esi
mov ecx, edi
call fcn.004733b0
test eax, eax
jne 0x4aa290
push dword [esp + 0x58]
mov edx, esi
mov ecx, edi
call fcn.00478f30
add esp, 4
test eax, eax
jne 0x4aa290
mov eax, dword [edi + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0xbc], eax
lea ecx, [eax + 1]
mov dword [edi + 0x28], ecx
test byte [esi + 0x1c], 0x80
mov dword [esp + 0xc0], ecx
jne 0x4a7f99
mov dword [esp + 0x34], 0
jmp 0x4a7fbc
mov ecx, dword [esi + 8]
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x4a7fbc
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4a7fb4
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4a7fa4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 8]
xor edx, edx
mov dword [esp + 0xa0], edx
test ecx, ecx
je 0x4a7ffc
mov edx, dword [edi + 0x28]
nop
cmp dword [esp + 0x34], ecx
mov eax, edx
cmovne eax, dword [esp + 0x10]
inc edx
inc dword [esp + 0xa0]
mov dword [edi + 0x28], edx
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x10], eax
test ecx, ecx
jne 0x4a7fd0
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x4a8026
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xbc]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x7c]
push 0
mov dword [ecx + 0x34], eax
movsx eax, word [esi + 0x22]
mov ecx, dword [esp + 0x8c]
add eax, edx
lea eax, [eax*4 + 6]
add eax, edx
push eax
call fcn.004190c0
mov ecx, eax
add esp, 8
mov dword [esp + 0x4c], ecx
test ecx, ecx
je 0x4aa290
movsx eax, word [esi + 0x22]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x98], ecx
lea ecx, [ecx + eax*4]
inc eax
push eax
add ecx, 4
push 1
push ecx
mov dword [esp + 0xa0], ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0xac]
add esp, 0xc
mov ecx, dword [esp + 0x94]
mov byte [ecx + eax + 1], 0
xor eax, eax
xor ecx, ecx
cmp ax, word [esi + 0x22]
jge 0x4a80c4
mov edi, dword [esp + 0x4c]
nop dword [eax]
mov dword [edi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [esi + 0x22]
cmp ecx, eax
jl 0x4a80b0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x7c]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x108], eax
mov eax, dword [edi + 8]
movlpd qword [esp + 0x110], xmm0
mov dword [esp + 0x118], 0
movlpd qword [esp + 0x120], xmm0
mov dword [esp + 0x104], edi
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x11c], 0x200
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4a8141
cmp dword [edi + 0x80], eax
jne 0x4a812e
mov eax, dword [edi]
test byte [eax + 0x50], 8
jne 0x4a812e
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.00441d60
mov dword [esp + 0xc], eax
test eax, eax
je 0x4aa280
mov ecx, dword [esp + 0x5c]
xor al, al
mov byte [esp + 0x3f], al
mov byte [esp + 0x22], al
mov dword [esp + 0x44], 0
cmp dword [ecx], 0
jle 0x4a8385
lea edi, [ecx + 8]
mov dword [esp + 0x28], edi
mov ecx, dword [edi + 4]
xor dl, dl
mov byte [esp + 0x23], dl
test ecx, ecx
jne 0x4a817a
mov byte [esp + 0x23], dl
jmp 0x4a8196
mov al, byte [ecx]
test al, al
je 0x4a8196
movzx eax, al
lea ecx, [ecx + 1]
add dl, byte [eax + 0x55c130]
mov al, byte [ecx]
test al, al
jne 0x4a8180
mov byte [esp + 0x23], dl
cmp dword [esp + 0x30], 0
jne 0x4a81b3
mov edx, dword [edi]
lea ecx, [esp + 0x104]
call fcn.0045a640
test eax, eax
jne 0x4aa280
mov edx, dword [esp + 0x1c]
xor esi, esi
xor eax, eax
mov dword [esp + 0x68], esi
cmp ax, word [edx + 0x22]
jge 0x4a82c1
mov eax, dword [edx + 4]
mov cl, byte [esp + 0x23]
mov dword [esp + 0x38], eax
cmp byte [eax + 0xa], cl
jne 0x4a8256
mov edi, dword [edi + 4]
mov edx, dword [eax]
sub edi, edx
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x4a822d
test eax, eax
jne 0x4a823f
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x68]
movsx eax, word [edx + 0x20]
cmp esi, eax
jne 0x4a8273
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x22], 1
mov eax, dword [edi]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x78], eax
mov dword [ecx + esi*4], eax
jmp 0x4a82c5
movzx ecx, byte [eax + 0x55c130]
movzx eax, byte [esi + 0x55c130]
sub ecx, eax
jne 0x4a8242
inc edx
jmp 0x4a81e4
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x38]
mov cl, byte [esp + 0x23]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
add eax, 0x10
inc esi
mov dword [esp + 0x38], eax
movzx eax, word [edx + 0x22]
mov dword [esp + 0x68], esi
cmp esi, eax
jge 0x4a82c1
mov eax, dword [esp + 0x38]
jmp 0x4a81d4
cmp dword [esp + 0x34], 0
je 0x4a829e
mov eax, dword [edx + 4]
mov ecx, esi
add ecx, ecx
test byte [eax + ecx*8 + 0xe], 1
je 0x4a829e
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x28]
mov byte [esp + 0x3f], 1
mov dword [ecx + esi*4], eax
jmp 0x4a82c5
mov eax, dword [edx + 4]
mov ecx, esi
add ecx, ecx
test byte [eax + ecx*8 + 0xe], 0x60
jne 0x4a83ed
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x28]
mov dword [ecx + esi*4], eax
jmp 0x4a82c5
mov edi, dword [esp + 0x28]
movsx eax, word [edx + 0x22]
cmp esi, eax
jl 0x4a8308
cmp dword [esp + 0x34], 0
jne 0x4a8406
mov ecx, dword [edi + 4]
call fcn.0045e1c0
test eax, eax
je 0x4a8406
mov eax, dword [edi]
or esi, 0xffffffff
mov dword [esp + 0x8c], eax
mov edx, str.ROWID
mov eax, dword [esp + 0x44]
mov byte [esp + 0x22], 1
mov dword [esp + 0x78], eax
jmp 0x4a831d
test esi, esi
jns 0x4a8313
mov edx, str.ROWID
jmp 0x4a831d
mov eax, dword [edx + 4]
mov ecx, esi
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x50]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
push dword [edx]
mov edx, 0x17
call fcn.0046dcc0
add esp, 0xc
cmp eax, 1
je 0x4aa280
cmp eax, 2
jne 0x4a8361
mov eax, dword [esp + 0x4c]
mov dword [eax + esi*4], 0xffffffff
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
inc eax
mov edi, dword [esp + 0x28]
add edi, 0x14
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], edi
cmp eax, dword [ecx]
jl 0x4a8167
mov al, byte [esp + 0x3f]
mov edx, dword [esp + 0x1c]
add al, byte [esp + 0x22]
mov byte [esp + 0x54], al
test byte [edx + 0x1c], 0x60
je 0x4a84e5
nop dword [eax + eax]
xor ecx, ecx
xor eax, eax
xor esi, esi
mov dword [esp + 0x38], ecx
cmp ax, word [edx + 0x22]
jge 0x4a84e5
xor edi, edi
nop word [eax + eax]
mov eax, dword [esp + 0x4c]
cmp dword [eax + esi*4], 0
jge 0x4a84cd
mov eax, dword [edx + 4]
test byte [eax + edi + 0xe], 0x60
je 0x4a84cd
movzx eax, word [eax + edi + 0xc]
test ax, ax
jne 0x4a8430
xor edx, edx
jmp 0x4a8450
push dword [eax + ecx*8]
push str.cannot_UPDATE_generated_column___s_
push dword [esp + 0x1c]
call fcn.0041c7c0
add esp, 0xc
jmp 0x4aa280
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x14]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 0xc]
push str.no_such_column:__s
push esi
call fcn.0041c7c0
add esp, 0xc
mov byte [esi + 0x11], 1
jmp 0x4aa280
cmp byte [edx + 0x2b], 0
je 0x4a843a
xor edx, edx
jmp 0x4a8450
mov edx, dword [edx + 0x34]
test edx, edx
je 0x4a8450
cmp dword [edx], eax
jge 0x4a8449
xor edx, edx
jmp 0x4a8450
lea eax, [eax + eax*4]
mov edx, dword [edx + eax*4 - 0xc]
mov eax, dword [esp + 0x4c]
xorps xmm0, xmm0
movaps xmmword [esp + 0xe0], xmm0
mov dword [esp + 0xf8], 0
movq qword [esp + 0xf0], xmm0
mov dword [esp + 0xe4], 0x485dd0
mov dword [esp + 0xf8], eax
test edx, edx
je 0x4a8499
lea ecx, [esp + 0xe0]
call fcn.00457010
mov ecx, dword [esp + 0x38]
cmp byte [esp + 0x22], 0
mov ax, word [esp + 0xf4]
jne 0x4a84b0
mov edx, 0xfffd
and ax, dx
mov edx, dword [esp + 0x1c]
test ax, ax
je 0x4a84cd
mov eax, dword [esp + 0x4c]
mov ecx, 1
mov dword [esp + 0x38], ecx
mov dword [eax + esi*4], 0x1869f
movsx eax, word [edx + 0x22]
inc esi
add edi, 0x10
cmp esi, eax
jl 0x4a83c0
test ecx, ecx
jne 0x4a83a0
cmp byte [edx + 0x2b], 1
jne 0x4a84f3
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x4a850d
xorps xmm0, xmm0
movlpd qword [esp + 0xb0], xmm0
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
mov esi, dword [esp + 0x7c]
mov dword [esi + 0x40], eax
movzx eax, byte [esp + 0x54]
push eax
push dword [esp + 0x50]
mov dword [esi + 0x44], ecx
mov ecx, dword [esp + 0x1c]
call fcn.00481dd0
add esp, 8
mov dword [esp + 0x74], eax
cmp dword [ebp + 0x10], 5
jne 0x4a8542
mov dword [esp + 0x128], 1
mov edx, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x68], edi
mov esi, dword [edx + 8]
test esi, esi
je 0x4a86f2
mov edi, dword [esp + 0x94]
inc edi
mov dword [esp + 0x28], edi
cmp byte [esp + 0x54], 0
jne 0x4a885b
cmp eax, 1
jg 0x4a885b
cmp esi, dword [esp + 0x34]
je 0x4a885b
mov edx, dword [esi + 0x24]
test edx, edx
je 0x4a85f4
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0xe0]
xorps xmm0, xmm0
mov dword [esp + 0xf8], 0
movaps xmmword [esp + 0xe0], xmm0
movq qword [esp + 0xf0], xmm0
mov dword [esp + 0xe4], 0x485dd0
mov dword [esp + 0xf8], eax
call fcn.00457010
cmp byte [esp + 0x22], 0
mov cx, word [esp + 0xf4]
jne 0x4a85e4
mov eax, 0xfffd
and cx, ax
xor eax, eax
test cx, cx
setne al
test eax, eax
jne 0x4a885b
xor ecx, ecx
xor eax, eax
xor edi, edi
mov dword [esp + 0xb0], ecx
cmp ax, word [esi + 0x32]
jae 0x4a86c0
mov dword [esp + 0x38], ecx
nop
mov eax, dword [esi + 4]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x4a862e
mov edx, dword [esp + 0x4c]
cwde
mov eax, dword [edx + eax*4]
not eax
shr eax, 0x1f
jmp 0x4a869d
mov eax, dword [esi + 0x28]
xorps xmm0, xmm0
movaps xmmword [esp + 0xe0], xmm0
mov dword [esp + 0xf8], 0
movq qword [esp + 0xf0], xmm0
mov edx, dword [eax + ecx + 8]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xe4], 0x485dd0
mov dword [esp + 0xf8], eax
test edx, edx
je 0x4a867a
lea ecx, [esp + 0xe0]
call fcn.00457010
cmp byte [esp + 0x22], 0
mov cx, word [esp + 0xf4]
jne 0x4a8691
mov eax, 0xfffd
and cx, ax
xor eax, eax
test cx, cx
mov ecx, dword [esp + 0x38]
setne al
test eax, eax
jne 0x4a882a
movzx eax, word [esi + 0x32]
inc edi
add ecx, 0x14
mov dword [esp + 0x38], ecx
cmp edi, eax
jl 0x4a8610
mov ecx, dword [esp + 0xb0]
mov edi, dword [esp + 0x28]
mov byte [edi], 0
mov eax, dword [esp + 0x68]
inc edi
mov edx, dword [esp + 0x98]
mov dword [esp + 0x28], edi
mov dword [edx + eax*4], ecx
inc eax
mov esi, dword [esi + 0x14]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
test esi, esi
jne 0x4a8563
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x98]
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [ecx + edi*4], eax
cmp dword [esp + 0x128], 0
je 0x4a872a
mov eax, dword [esp + 0xa0]
inc eax
push eax
push 1
push dword [esp + 0x9c]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp byte [esi + 0x12], 0
jne 0x4a873b
mov eax, dword [esp + 0xc]
or dword [eax + 0x98], 0x10
cmp dword [esp + 0x58], 0
jne 0x4a874e
cmp dword [esp + 0x74], 0
mov byte [esp + 0x23], 0
je 0x4a8753
mov byte [esp + 0x23], 1
mov eax, dword [esi + 0x80]
test eax, eax
mov ecx, dword [esp + 0x50]
cmovne esi, eax
mov eax, 1
shl eax, cl
mov edx, dword [esi + 0x5c]
test edx, eax
jne 0x4a8786
bts edx, ecx
mov dword [esi + 0x5c], edx
cmp ecx, 1
jne 0x4a8786
mov ecx, esi
call fcn.00477670
mov ecx, dword [esp + 0x50]
mov eax, dword [esi + 0x58]
bts eax, ecx
mov dword [esi + 0x58], eax
mov al, byte [esp + 0x23]
or byte [esi + 0x14], al
mov esi, dword [esp + 0x1c]
cmp byte [esi + 0x2b], 1
je 0x4a887c
mov eax, dword [esp + 0x98]
mov eax, dword [eax + edi*4]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov edx, dword [edi + 0x2c]
inc edx
cmp byte [esp + 0x3f], 0
mov dword [esp + 0x70], edx
mov dword [edi + 0x2c], edx
mov dword [esp + 0x24], edx
jne 0x4a87e0
cmp dword [esp + 0x58], 0
jne 0x4a87e0
mov eax, dword [esp + 0x74]
mov ecx, edx
test eax, eax
je 0x4a87f7
movsx ecx, word [esi + 0x22]
lea eax, [edx + 1]
add ecx, edx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x74]
mov dword [edi + 0x2c], ecx
cmp byte [esp + 0x54], 0
jne 0x4a8809
cmp dword [esp + 0x58], 0
jne 0x4a8809
test eax, eax
je 0x4a8815
lea eax, [ecx + 1]
mov dword [esp + 0x70], eax
mov ecx, eax
mov dword [edi + 0x2c], eax
lea eax, [ecx + 1]
mov dword [esp + 0xac], eax
movsx eax, word [esi + 0x22]
add eax, ecx
mov dword [edi + 0x2c], eax
jmp 0x4a8880
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
mov ecx, dword [edx + 0x2c]
inc ecx
mov dword [edx + 0x2c], ecx
movzx eax, word [esi + 0x34]
add eax, ecx
cmp dword [ebp + 0x10], 0xb
mov dword [edx + 0x2c], eax
jne 0x4a886f
cmp byte [esi + 0x36], 5
jne 0x4a886f
mov dword [esp + 0x128], 1
jmp 0x4a886f
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x2c]
inc ecx
mov dword [edx + 0x2c], ecx
movzx eax, word [esi + 0x34]
add eax, ecx
mov dword [edx + 0x2c], eax
test ecx, ecx
jne 0x4a86c7
jmp 0x4a86c4
mov edi, dword [esp + 0x14]
mov cl, byte [esp + 0x1b]
cmp cl, 2
jne 0x4a88ab
mov ecx, dword [edi + 0x104]
mov eax, dword [esi]
mov dword [esp + 0xb0], ecx
mov cl, byte [esp + 0x1b]
mov dword [esp + 0xd8], edi
mov dword [edi + 0x104], eax
jmp 0x4a88c7
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xb0], eax
cmp dword [esp + 0x30], 0
jne 0x4a8903
cmp cl, 2
jne 0x4a88eb
push dword [esp + 0x10]
mov edx, esi
mov ecx, edi
push 0
push 0
push dword [esp + 0x70]
call fcn.00479070
add esp, 0x10
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x104]
call fcn.0045a640
test eax, eax
jne 0x4aa268
cmp byte [esi + 0x2b], 1
jne 0x4a8936
push dword [ebp + 0x10]
mov edx, dword [esp + 0x80]
mov ecx, edi
push dword [esp + 0x68]
push dword [esp + 0x54]
push dword [esp + 0x98]
push dword [esp + 0x6c]
push esi
call fcn.004aa2e0
add esp, 0x18
jmp 0x4aa268
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x4a89ad
cmp dword [edi + 0x84], 0
jne 0x4a89ad
cmp byte [edi + 0x12], 0
jne 0x4a89ad
cmp byte [edi + 0x9f], 0
jne 0x4a89ad
cmp dword [esp + 0x9c], 0
mov edx, dword [esp + 0xc]
jne 0x4a89b1
mov eax, dword [edi + 0x2c]
inc eax
mov dword [edi + 0x2c], eax
mov ecx, dword [edx + 0x6c]
mov dword [esp + 0xc8], eax
cmp dword [edx + 0x70], ecx
jg 0x4a89f9
mov ecx, dword [esp + 0xc]
mov edx, 0x47
push 0
push eax
push 0
call fcn.00441fb0
add esp, 0xc
mov edx, dword [esp + 0xc]
cmp dword [esp + 0x30], 0
jne 0x4a8b48
test byte [esi + 0x1c], 0x80
jne 0x4a8b48
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4a8a38
push dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov edx, 0x4b
push dword [esp + 0x84]
push 0
call fcn.00441fb0
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x4a8a6e
mov edi, dword [esp + 0xc8]
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a89b1
mov esi, dword [esp + 0x80]
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [edi + 0x28]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], edi
lea eax, [edi + 1]
mov dword [ecx + 0x28], eax
mov esi, dword [edx + 0x6c]
mov dword [esp + 0xa4], esi
cmp dword [edx + 0x70], esi
jg 0x4a8ab4
push dword [esp + 0x80]
mov ecx, dword [esp + 0x10]
mov edx, 0x76
push 0
push edi
call fcn.00441fb0
mov esi, eax
add esp, 0xc
mov dword [esp + 0xa4], esi
jmp 0x4a8ae6
lea eax, [esi + 1]
mov dword [edx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x9c], 0
je 0x4a8d44
mov edi, dword [esp + 0x14]
push 0x10
push dword [esp + 0x2c]
mov dword [esp + 0xd8], 0
push dword [esp + 0x6c]
mov dword [esp + 0x4c], 1
push edi
call fcn.00464970
mov eax, dword [esp + 0xc0]
add esp, 0x10
mov edi, dword [esp + 0xb4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xcc], 0
mov dword [esp + 0x50], edi
jmp 0x4a8e70
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4a8b56
movzx edx, word [eax + 0x32]
jmp 0x4a8b58
xor edx, edx
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x6c], edx
lea ecx, [eax + 1]
inc eax
mov dword [esp + 0x60], ecx
movsx ecx, dx
mov edx, dword [esp + 0x30]
add eax, ecx
add eax, edx
cmp dword [esp + 0x9c], 0
mov dword [esp + 0x48], eax
mov dword [edi + 0x2c], eax
jne 0x4a8e39
cmp byte [esp + 0x1b], 2
jne 0x4a8b94
movsx eax, word [esi + 0x22]
jmp 0x4a8b96
xor eax, eax
mov edi, dword [edi + 0x28]
lea esi, [ecx + eax]
add esi, edx
mov dword [esp + 0x2c], edi
cmp dword [esp + 0x34], 0
mov edx, dword [esp + 0x14]
lea eax, [edi + 1]
mov dword [edx + 0x28], eax
je 0x4a8c1b
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
dec edx
add edx, ecx
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x4a8be2
push edx
push dword [esp + 0x64]
mov edx, 0x4b
mov ecx, eax
push 0
call fcn.00441fb0
add esp, 0xc
jmp 0x4a8c1b
mov edi, dword [esp + 0xc]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, edi
mov edi, dword [esp + 0x60]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0xa4], edx
cmp dword [ecx + 0x70], edx
jg 0x4a8c48
push 0
push esi
push edi
mov edx, 0x76
call fcn.00441fb0
add esp, 0xc
mov dword [esp + 0xa4], eax
jmp 0x4a8c77
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4a8cc6
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.00477f50
mov edx, eax
test edx, edx
je 0x4a8cc2
mov word [edx + 8], si
mov esi, dword [esp + 0xc]
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4a8cb0
push edx
mov edx, 0xfffffff8
call fcn.00442b90
add esp, 4
jmp 0x4a8cc2
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x30], 0
je 0x4a8d44
mov ecx, dword [esp + 0x7c]
sub esp, 8
mov edx, edi
push dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x28]
push eax
call fcn.004a7900
add esp, 0x18
cmp byte [esp + 0x1b], 2
jne 0x4a8cfc
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x80]
mov ecx, edi
mov edx, dword [esp + 0x60]
test eax, eax
mov edi, dword [esp + 0xb4]
cmovne ecx, eax
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x6c]
movsx esi, ax
mov eax, dword [esp + 0xb0]
mov byte [ecx + 0x14], 1
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0x38], eax
jmp 0x4a914d
mov esi, dword [esp + 0x14]
mov eax, 4
cmp byte [esi + 0x12], 0
jne 0x4a8d88
cmp dword [esp + 0x58], 0
jne 0x4a8d88
cmp dword [esp + 0x74], 0
jne 0x4a8d88
cmp byte [esp + 0x54], 0
jne 0x4a8d88
cmp dword [esp + 0x128], 0
jne 0x4a8d88
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x4a8d83
test dword [ecx + 4], 0x400000
jne 0x4a8d88
mov eax, 0xc
push dword [esp + 0xc0]
mov edx, dword [esp + 0x80]
mov ecx, esi
push eax
push 0
push 0
push 0
push dword [esp + 0x78]
call fcn.004bf730
mov ecx, eax
add esp, 0x18
mov dword [esp + 0xd0], ecx
test ecx, ecx
je 0x4aa268
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x38], eax
movzx eax, byte [ecx + 0x2e]
mov ecx, dword [ecx + 0x30]
and ecx, 1
mov dword [esp + 0x50], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0xcc], ecx
cmp eax, 1
je 0x4a8e61
mov eax, dword [esi + 0x80]
mov ecx, esi
test eax, eax
cmovne ecx, eax
cmp dword [esp + 0x40], 2
mov eax, dword [esp + 0x10]
mov byte [ecx + 0x14], 1
jne 0x4a8e65
test edx, edx
js 0x4a8e65
cmp edx, eax
je 0x4a8e65
mov ecx, dword [esp + 0x94]
mov eax, edx
sub eax, dword [esp + 0xbc]
mov edi, edx
mov esi, dword [esp + 0xa4]
cmp byte [eax + ecx], 0
mov eax, dword [esp + 0x10]
je 0x4a8e70
mov dword [esp + 0x40], 0
jmp 0x4a8e70
mov edx, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0xa4], esi
mov dword [esp + 0x10], edx
cmp dword [esp + 0x30], esi
je 0x4a8af8
jmp 0x4a8d00
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0xa4]
mov ecx, dword [esp + 0x1c]
test byte [ecx + 0x1c], 0x80
jne 0x4a8fb0
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4a8ea8
mov ecx, dword [esp + 0xc]
mov edx, 0x87
push 0
push dword [esp + 0x28]
push eax
call fcn.00441fb0
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x4a8edf
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x4a8f6e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x98]
mov esi, dword [esp + 0xc]
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [ecx + 0x2c], eax
mov ecx, dword [esp + 0x68]
mov dword [edx + ecx*4], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a8f33
push dword [esp + 0x24]
mov edx, 0x80
mov ecx, esi
push dword [esp + 0x84]
push dword [esp + 0x34]
call fcn.00441fb0
add esp, 0xc
jmp 0x4a9149
mov edx, dword [esp + 0x2c]
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], edx
mov edx, dword [esp + 0x80]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a9149
test esi, esi
je 0x4a914d
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
jne 0x4a9149
mov eax, dword [esp + 0xc]
lea edx, [esi + esi*4]
mov eax, dword [eax + 0x68]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.00442b90
add esp, 4
mov word [esi], 0xbb
mov dword [esi + 0x10], 0
jmp 0x4a9149
mov eax, dword [esp + 0x6c]
xor esi, esi
movsx edi, ax
test edi, edi
jle 0x4a8fee
nop dword [eax]
mov eax, dword [esp + 0x60]
mov edx, ecx
mov ecx, dword [esp + 0xc]
add eax, esi
push eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [esp + 0x18]
call fcn.00461160
mov ecx, dword [esp + 0x28]
inc esi
add esp, 0xc
cmp esi, edi
jl 0x4a8fc0
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4a9053
mov edx, dword [esp + 0xa4]
test edx, edx
je 0x4a9036
mov esi, dword [esp + 0xc]
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
jne 0x4a9032
mov eax, dword [esi + 0x68]
lea edx, [edx + edx*4]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.00442b90
add esp, 4
mov word [esi], 0xbb
mov dword [esi + 0x10], 0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x50]
cwde
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x48], eax
jmp 0x4a914d
mov eax, dword [esp + 0x34]
mov esi, dword [eax + 0x10]
test esi, esi
jne 0x4a906e
mov ecx, dword [esp + 0x88]
mov edx, eax
call fcn.004831d0
mov esi, eax
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x6c]
movsx edi, ax
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x68], edx
cmp dword [ecx + 0x70], edx
jg 0x4a90a0
push dword [esp + 0x48]
mov edx, 0x61
push edi
mov edi, dword [esp + 0x68]
push edi
call fcn.00441fb0
add esp, 0xc
mov edx, eax
jmp 0x4a90db
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x60]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x68]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x6c]
cwde
push eax
push esi
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00442d60
mov ecx, dword [esi + 0x6c]
add esp, 8
mov eax, dword [esp + 0x6c]
movsx edx, ax
cmp dword [esi + 0x70], ecx
jg 0x4a911a
push edx
push edi
push dword [esp + 0x50]
mov edx, 0x8a
mov ecx, esi
push dword [esp + 0x38]
call fcn.00441ff0
add esp, 0x10
jmp 0x4a9145
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], 0xfd8a
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], edx
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
cmp dword [esp + 0x9c], 0
jne 0x4a9372
cmp dword [esp + 0x30], 0
jne 0x4a9173
cmp ecx, 2
je 0x4a9173
mov ecx, dword [esp + 0xd0]
call fcn.004c07d0
cmp byte [esp + 0x1b], 2
je 0x4a92a7
mov edx, dword [esp + 0x40]
xor esi, esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x68], esi
test edx, edx
je 0x4a9240
mov ecx, dword [esp + 0x38]
test ecx, ecx
js 0x4a91b1
mov eax, dword [esp + 0x94]
sub eax, dword [esp + 0xbc]
mov byte [eax + ecx], 0
test edi, edi
js 0x4a91c9
mov ecx, dword [esp + 0x94]
mov eax, edi
sub eax, dword [esp + 0xbc]
mov byte [eax + ecx], 0
cmp edx, 2
jne 0x4a9240
mov ecx, dword [esp + 0xa0]
xor eax, eax
test edi, edi
setns al
sub ecx, eax
test ecx, ecx
jle 0x4a9240
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], esi
jg 0x4a9209
push 0
push 0
push 0
mov edx, 0xf
call fcn.00441fb0
add esp, 0xc
mov esi, eax
jmp 0x4a9240
lea eax, [esi + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0xf
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 edx, dword [esp + 0x1c]
lea eax, [esp + 0x68]
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x9c]
push dword [esp + 0xc8]
push 0
push 0x71
call fcn.004882f0
add esp, 0x18
test esi, esi
je 0x4a92a7
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x6c]
lea eax, [edx - 1]
cmp esi, eax
jne 0x4a9288
mov edx, ecx
mov dword [edx + 0x6c], eax
jmp 0x4a92ab
mov eax, dword [ecx]
cmp byte [eax + 0x57], 0
je 0x4a9297
mov eax, 0x5732c0
jmp 0x4a92a4
mov eax, dword [esp + 0xc]
lea ecx, [esi + esi*4]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x40]
test esi, esi
je 0x4a93e3
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x38], eax
je 0x4a932e
cmp edi, eax
je 0x4a932e
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4a92f8
push dword [esp + 0x90]
mov ecx, dword [esp + 0x10]
mov edx, 0x1c
push dword [esp + 0x4c]
push dword [esp + 0x30]
push eax
call fcn.00441ff0
add esp, 0x10
jmp 0x4a932e
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x90]
mov dword [eax + ecx*4], 0xfd1c
mov dword [eax + ecx*4 + 0x10], edx
cmp esi, 1
je 0x4a9342
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + 0x38]
dec edi
mov dword [esp + 0x44], edi
mov dword [ecx + 0x38], edi
mov esi, dword [esp + 0xc]
cmp dword [esp + 0x34], 0
mov edx, dword [esp + 0x24]
cmovne edx, dword [esp + 0x48]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a93b2
push 0
push dword [esp + 0x2c]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.00441fb0
add esp, 0xc
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
cmp byte [esp + 0x22], 0
je 0x4a9825
test eax, eax
jne 0x4a977d
mov esi, dword [esp + 0x70]
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x14]
push esi
call fcn.00463e50
mov edx, dword [esp + 0x10]
add esp, 4
jmp 0x4a97d6
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], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a9372
cmp dword [esp + 0x34], 0
jne 0x4a9527
cmp dword [esp + 0x30], 0
jne 0x4a9527
mov ecx, dword [edx + 0x6c]
mov esi, dword [esp + 0x2c]
cmp dword [edx + 0x70], ecx
jg 0x4a941f
mov ecx, dword [esp + 0xc]
mov edx, 0x24
push 0
push dword [esp + 0x2c]
push esi
call fcn.00441fb0
add esp, 0xc
jmp 0x4a944e
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], 0x24
mov dword [eax + ecx*4 + 4], esi
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 + 0x14]
mov edx, dword [esp + 0xc]
mov edi, dword [ecx + 0x38]
dec edi
mov dword [ecx + 0x38], edi
mov ecx, dword [edx + 0x6c]
mov dword [esp + 0x44], edi
mov dword [esp + 0xc4], ecx
cmp dword [edx + 0x70], ecx
jg 0x4a9495
mov ecx, dword [esp + 0xc]
mov edx, 0x87
push 0
push dword [esp + 0x28]
push esi
call fcn.00441fb0
mov edx, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0xc4], eax
jmp 0x4a94c8
mov edi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x44]
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4a94ef
push dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov edx, 0x1f
push edi
push dword [esp + 0x18]
call fcn.00441fb0
add esp, 0xc
jmp 0x4a9376
mov esi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a937a
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
mov edi, dword [ecx + 0x38]
dec edi
mov dword [ecx + 0x38], edi
mov ecx, dword [edx + 0x6c]
mov dword [esp + 0x44], edi
cmp dword [edx + 0x70], ecx
jg 0x4a955c
mov ecx, dword [esp + 0xc]
mov edx, 0x24
push 0
push dword [esp + 0x2c]
push esi
call fcn.00441fb0
add esp, 0xc
jmp 0x4a958b
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], 0x24
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
mov ecx, dword [edx + 0x6c]
mov dword [esp + 0xc4], ecx
test eax, eax
je 0x4a96c6
cmp byte [esp + 0x1b], 2
je 0x4a937e
cmp dword [esp + 0x34], 0
je 0x4a969c
mov eax, dword [esp + 0x6c]
xor esi, esi
movsx edi, ax
mov dword [esp + 0x38], edi
test edi, edi
jle 0x4a963b
jmp 0x4a95d6
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x6c]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
add edx, esi
cmp dword [eax + 0x70], ecx
jg 0x4a95ff
push edx
push esi
push dword [esp + 0x34]
mov edx, 0x5e
mov ecx, eax
call fcn.00441fb0
add esp, 0xc
jmp 0x4a9632
mov edi, dword [esp + 0xc]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
inc esi
cmp esi, edi
jl 0x4a95d2
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x44]
movsx edx, ax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a966c
push edx
push dword [esp + 0x64]
mov edx, 0x1c
mov ecx, esi
push edi
push dword [esp + 0x1c]
call fcn.00441ff0
add esp, 0x10
jmp 0x4a9372
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x60]
mov dword [eax + ecx*4], 0xfd1c
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x4a9372
cmp dword [edx + 0x70], ecx
jg 0x4a9495
mov ecx, dword [esp + 0xc]
mov edx, 0x87
push 0
push dword [esp + 0x28]
push esi
call fcn.00441fb0
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x4a94c8
cmp dword [edx + 0x70], ecx
jg 0x4a96e9
mov ecx, dword [esp + 0xc]
mov edx, 0x86
push 0
push dword [esp + 0x4c]
push esi
call fcn.00441fb0
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x4a971c
mov edi, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x86
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4a9745
mov ecx, dword [esp + 0xc]
mov edx, 0x1c
push 0
push dword [esp + 0x4c]
push edi
push dword [esp + 0x1c]
call fcn.00441ff0
add esp, 0x10
jmp 0x4a9376
mov esi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0xfd1c
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a937a
mov ecx, dword [edx + 0x6c]
mov edi, dword [esp + 0x78]
cmp dword [edx + 0x70], ecx
jg 0x4a97ab
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0xc]
push edx
push edi
push esi
mov edx, 0x5e
call fcn.00441fb0
mov edx, dword [esp + 0x18]
add esp, 0xc
mov esi, dword [esp + 0x70]
jmp 0x4a97d6
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x70]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4a97f6
mov ecx, dword [esp + 0xc]
mov edx, 0xd
push 0
push 0
push esi
call fcn.00441fb0
add esp, 0xc
jmp 0x4a9825
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x3f], 0
jne 0x4a98fc
cmp dword [esp + 0x74], 0
jne 0x4a9907
mov edx, dword [esp + 0x58]
test edx, edx
je 0x4a99f5
xor esi, esi
push dword [ebp + 0x10]
mov edx, dword [esp + 0x5c]
push dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 3
push 0
push dword [esp + 0x6c]
call fcn.004a76f0
mov ecx, dword [esp + 0x30]
or esi, eax
mov dword [esp + 0x8c], esi
xor eax, eax
add esp, 0x14
xor esi, esi
cmp ax, word [ecx + 0x22]
jge 0x4a9980
xor edi, edi
mov eax, dword [ecx + 4]
mov edx, esi
movzx eax, word [edi + eax + 0xe]
mov dword [esp + 0x8c], eax
call fcn.0046f8f0
movsx edx, ax
add edx, dword [esp + 0x84]
cmp dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x38], edx
je 0x4a9956
cmp esi, 0x20
jge 0x4a98cc
mov eax, 1
mov ecx, esi
shl eax, cl
test dword [esp + 0x78], eax
jne 0x4a9956
test byte [esp + 0x8c], 1
jne 0x4a9956
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x4a991b
push 0
push edx
push 0
mov edx, 0x4b
mov ecx, eax
call fcn.00441fb0
jmp 0x4a9969
cmp dword [esp + 0x74], 0
je 0x4a9847
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
call fcn.00481ce0
mov esi, eax
jmp 0x4a9849
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edx + 0x6c], eax
mov eax, edx
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x4b
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 0x4a996c
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x20]
push esi
push dword [esp + 0x18]
call fcn.00461160
add esp, 0xc
mov ecx, dword [esp + 0x1c]
inc esi
add edi, 0x10
movsx eax, word [ecx + 0x22]
cmp esi, eax
jl 0x4a9885
cmp byte [esp + 0x22], 0
jne 0x4a99f1
cmp dword [esp + 0x34], 0
jne 0x4a99f1
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a99be
mov edx, dword [esp + 0x70]
mov ecx, esi
push 0
push edx
push dword [esp + 0x2c]
mov edx, 0x50
call fcn.00441fb0
add esp, 0xc
jmp 0x4a99f1
mov edx, dword [esp + 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 + 4], edx
mov edx, dword [esp + 0x70]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x58]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x20]
push 1
push 1
push dword [esp + 0x6c]
call fcn.004a76f0
mov edx, dword [esp + 0xc0]
xor edi, edi
mov dword [esp + 0xa0], eax
add esp, 0x14
mov eax, dword [esp + 0x1c]
mov esi, edx
mov dword [esp + 0x84], edi
movzx ecx, word [eax + 0x22]
cmp di, cx
jge 0x4a9bec
xor edx, edx
mov dword [esp + 0x78], edx
movsx eax, word [eax + 0x20]
cmp edi, eax
jne 0x4a9a70
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4a9b71
mov ecx, dword [esp + 0xc]
mov edx, 0x4b
push 0
push esi
push 0
call fcn.00441fb0
jmp 0x4a9bc0
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
movzx eax, word [eax + edx + 0xe]
test al, 0x60
je 0x4a9a8e
test al, 0x20
je 0x4a9bc3
dec esi
jmp 0x4a9bc3
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + edi*4]
test eax, eax
js 0x4a9b3d
cmp dword [esp + 0x30], 0
je 0x4a9b20
cmp byte [esp + 0x1b], 2
je 0x4a9ab3
mov ecx, dword [esp + 0x6c]
movzx ecx, cx
movsx edx, cx
add edx, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x84], edx
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x4a9ae5
push esi
push edx
push dword [esp + 0x34]
mov edx, 0x5e
mov ecx, eax
call fcn.00441fb0
jmp 0x4a9bc0
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edx + 0x6c], eax
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x84]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a9bc3
mov ecx, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x5c]
push esi
mov edx, dword [eax + edx*4 + 8]
call fcn.00463e50
add esp, 4
jmp 0x4a9bc3
test dword [esp + 0xd4], 1
je 0x4a9ba2
cmp edi, 0x1f
jg 0x4a9ba2
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [esp + 0x8c], eax
jne 0x4a9ba2
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jle 0x4a9a58
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a9bc3
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
push esi
push edi
push dword [esp + 0x18]
call fcn.00461160
mov dword [esp + 0xd8], 0
add esp, 0xc
mov eax, dword [esp + 0x1c]
inc edi
add dword [esp + 0x78], 0x10
inc esi
mov edx, dword [esp + 0x78]
movzx eax, word [eax + 0x22]
mov ecx, eax
cwde
cmp edi, eax
mov eax, dword [esp + 0x1c]
jl 0x4a9a40
mov edx, dword [esp + 0xac]
test byte [eax + 0x1c], 0x60
je 0x4a9c03
mov ecx, dword [esp + 0x14]
push eax
call fcn.00483550
mov eax, dword [esp + 0x20]
add esp, 4
test byte [esp + 0xd4], 1
je 0x4a9dab
push dword [esp + 0xac]
mov edi, dword [esp + 0x10]
mov edx, eax
mov ecx, edi
call fcn.00483280
mov esi, dword [esp + 0x48]
add esp, 4
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x14]
push esi
push dword [ebp + 0x10]
push dword [esp + 0x2c]
push dword [esp + 0x28]
push 1
push dword [esp + 0x70]
push 0x81
call fcn.004a7600
add esp, 0x1c
cmp byte [esp + 0x1b], 2
je 0x4aa098
cmp dword [esp + 0x34], 0
mov ecx, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
je 0x4a9cc3
cmp eax, ecx
jg 0x4a9c93
push dword [esp + 0x90]
mov edx, 0x1c
mov ecx, edi
push dword [esp + 0x4c]
push esi
push dword [esp + 0x1c]
call fcn.00441ff0
add esp, 0x10
jmp 0x4a9d10
mov edx, dword [esp + 0x10]
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], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x90]
mov dword [eax + ecx*4], 0xfd1c
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x4a9d0c
cmp eax, ecx
jg 0x4a9ce1
push dword [esp + 0x24]
mov edx, 0x1f
mov ecx, edi
push esi
push dword [esp + 0x18]
call fcn.00441fb0
add esp, 0xc
jmp 0x4a9d10
mov edx, dword [esp + 0x10]
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], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 8], esi
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov eax, dword [esp + 0xac]
xor esi, esi
mov edi, eax
cmp cx, word [edx + 0x22]
jge 0x4a9d94
mov dword [esp + 0x84], ecx
mov eax, dword [edx + 4]
movzx eax, word [ecx + eax + 0xe]
test al, 0x60
je 0x4a9d4a
test al, 0x20
lea eax, [edi - 1]
cmove eax, edi
mov edi, eax
jmp 0x4a9d79
mov eax, dword [esp + 0x4c]
cmp dword [eax + esi*4], 0
jge 0x4a9d79
movsx eax, word [edx + 0x20]
cmp esi, eax
je 0x4a9d79
mov ecx, dword [esp + 0xc]
push edi
push esi
push dword [esp + 0x18]
call fcn.00461160
mov ecx, dword [esp + 0x90]
add esp, 0xc
mov edx, dword [esp + 0x1c]
movsx eax, word [edx + 0x22]
inc esi
add ecx, 0x10
inc edi
mov dword [esp + 0x84], ecx
cmp esi, eax
jl 0x4a9d32
mov eax, dword [esp + 0xac]
test byte [edx + 0x1c], 0x60
je 0x4a9dba
mov ecx, dword [esp + 0x14]
push edx
mov edx, eax
call fcn.00483550
add esp, 4
jmp 0x4a9db6
cmp byte [esp + 0x1b], 2
je 0x4aa094
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x44]
lea eax, [esp + 0x128]
push 0
push dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
push eax
push esi
push dword [ebp + 0x10]
push dword [esp + 0x68]
push dword [esp + 0x3c]
push dword [esp + 0x8c]
push dword [esp + 0xe0]
push dword [esp + 0x34]
push dword [esp + 0xc0]
call fcn.00485e10
add esp, 0x2c
cmp dword [esp + 0x128], 0
jne 0x4a9e13
mov al, byte [esp + 0x54]
test al, al
je 0x4a9ee6
cmp dword [esp + 0x34], 0
mov edi, dword [esp + 0xc]
mov ecx, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
je 0x4a9e8f
cmp eax, ecx
jg 0x4a9e54
push dword [esp + 0x90]
mov edx, 0x1c
mov ecx, edi
push dword [esp + 0x4c]
push esi
push dword [esp + 0x1c]
call fcn.00441ff0
mov al, byte [esp + 0x64]
add esp, 0x10
jmp 0x4a9eea
mov edx, dword [esp + 0x10]
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], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x90]
mov dword [eax + ecx*4], 0xfd1c
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0x10], edx
mov al, byte [esp + 0x54]
jmp 0x4a9eea
cmp eax, ecx
jg 0x4a9eb1
push dword [esp + 0x24]
mov edx, 0x1f
mov ecx, edi
push esi
push dword [esp + 0x18]
call fcn.00441fb0
mov al, byte [esp + 0x60]
add esp, 0xc
jmp 0x4a9eea
mov edx, dword [esp + 0x10]
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], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [esp + 0x54]
jmp 0x4a9eee
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x74], 0
je 0x4a9f10
mov ecx, dword [esp + 0x14]
movzx eax, al
push eax
push dword [esp + 0x50]
push 0
push edx
mov edx, dword [esp + 0x2c]
call fcn.00481690
add esp, 0x10
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push dword [esp + 0x9c]
push dword [esp + 0xc8]
push dword [esp + 0x1c]
call fcn.0047a970
add esp, 0x10
cmp dword [esp + 0xcc], 0
je 0x4a9f92
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4a9f5f
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x8f
mov ecx, edi
call fcn.00441fb0
add esp, 0xc
jmp 0x4a9f92
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x8f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x74]
cmp edx, 1
jg 0x4a9fa7
mov al, byte [esp + 0x54]
test al, al
je 0x4aa006
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4a9fcf
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x82
mov ecx, edi
call fcn.00441fb0
mov edx, dword [esp + 0x80]
add esp, 0xc
jmp 0x4aa002
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x82
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [esp + 0x54]
test edx, edx
je 0x4aa028
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
movzx eax, al
push eax
push dword [esp + 0x50]
push dword [esp + 0x78]
push 0
call fcn.00481690
add esp, 0x10
mov edi, dword [esp + 0x40]
xor eax, eax
mov edx, dword [esp + 0x1c]
cmp edi, 2
mov ecx, dword [esp + 0x14]
push 0
sete al
push 0
lea eax, [eax*2 + 4]
push eax
push dword [esp + 0xa4]
push dword [esp + 0x80]
push dword [esp + 0xd4]
push dword [esp + 0x28]
call fcn.00488080
add esp, 0x1c
cmp dword [esp + 0x74], 0
je 0x4aa09c
movzx eax, byte [esp + 0x54]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push eax
push dword [esp + 0x50]
push dword [esp + 0x2c]
push dword [esp + 0x68]
call fcn.00482fb0
add esp, 0x10
jmp 0x4aa09c
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x4aa105
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4aa0cf
mov ecx, dword [esp + 0xc]
mov edx, 0x56
push 0
push 1
push eax
call fcn.00441fb0
add esp, 0xc
jmp 0x4aa105
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0xc8]
mov dword [eax + ecx*4], 0x56
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4aa132
mov ecx, dword [esp + 0x14]
mov edx, eax
push esi
push dword [ebp + 0x10]
push dword [esp + 0x2c]
push dword [esp + 0x28]
push 2
push dword [esp + 0x70]
push 0x81
call fcn.004a7600
add esp, 0x1c
cmp edi, 1
je 0x4aa16d
mov edx, dword [esp + 0xc]
not esi
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + 0x3c]
cmp edi, 2
jne 0x4aa196
add eax, dword [ecx + 0x38]
jns 0x4aa158
push esi
call fcn.00442800
add esp, 4
jmp 0x4aa161
mov ecx, dword [ecx + 0x40]
mov eax, dword [edx + 0x6c]
mov dword [ecx + esi*4], eax
mov ecx, dword [esp + 0xd0]
call fcn.004c07d0
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4aa219
push edx
mov edx, esi
call fcn.00442800
add esp, 4
jmp 0x4aa222
add eax, dword [ecx + 0x38]
jns 0x4aa1aa
push esi
call fcn.00442800
mov edx, dword [esp + 0x10]
add esp, 4
jmp 0x4aa1b3
mov ecx, dword [ecx + 0x40]
mov eax, dword [edx + 0x6c]
mov dword [ecx + esi*4], eax
mov ecx, dword [edx + 0x6c]
mov esi, dword [esp + 0xc]
cmp dword [edx + 0x70], ecx
jg 0x4aa1de
mov edx, dword [esp + 0xc4]
mov ecx, esi
push 0
push edx
push dword [esp + 0x34]
mov edx, 0x27
call fcn.00441fb0
add esp, 0xc
jmp 0x4aa171
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc4]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4aa171
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x12], 0
jne 0x4aa24c
cmp dword [eax + 0x84], 0
jne 0x4aa24c
cmp dword [esp + 0x9c], 0
jne 0x4aa24c
cmp dword [eax + 0x7c], 0
je 0x4aa24c
mov ecx, eax
call fcn.00483920
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x4aa268
push str.rows_updated
mov edx, eax
mov ecx, esi
call fcn.00478e50
add esp, 4
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x4aa280
mov ecx, dword [esp + 0xb0]
mov dword [eax + 0x104], ecx
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x88]
call fcn.00418c30
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x88]
call fcn.00476d60
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4aa2ba
mov ecx, dword [esp + 0x88]
mov edx, eax
call fcn.0045d940
test esi, esi
je 0x4aa2cc
mov ecx, dword [esp + 0x88]
mov edx, esi
call fcn.0045c540
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret