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

Disassembly:
sub esp, 0xc8
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x44], edx
push esi
xorps xmm0, xmm0
mov dword [esp + 0x14], ebp
push edi
cmp dword [ebp + 0x40], 0
mov edx, dword [ebp]
mov dword [esp + 0x68], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x3c], 0
movlpd qword [esp + 0x94], xmm0
mov dword [esp + 0x38], edx
jne 0x486f17
cmp byte [edx + 0x41], 0
jne 0x486f17
mov edx, dword [esp + 0x4c]
call fcn.00463be0
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x486f17
mov edx, dword [ebx + 0x40]
mov esi, dword [ebp]
mov dword [esp + 0x28], 0xfff0bdc0
test edx, edx
je 0x485715
mov ecx, dword [esi + 0x14]
xor edi, edi
mov dword [esp + 0x28], edi
test ecx, ecx
jle 0x485715
mov eax, dword [esi + 0x10]
add eax, 0xc
cmp dword [eax], edx
je 0x485711
inc edi
add eax, 0x10
cmp edi, ecx
jl 0x485705
mov dword [esp + 0x28], edi
xor ecx, ecx
xor edi, edi
test dword [esi + 0x18], 0x800000
mov dword [esp + 0x70], ecx
je 0x485733
mov edx, ebx
mov ecx, ebp
call fcn.00483ba0
mov edi, eax
xor ecx, ecx
mov esi, edi
test edi, edi
je 0x48576d
mov ebp, dword [esp + 0xdc]
cmp byte [esi + 8], 0x6e
jne 0x485762
mov ecx, dword [esi + 0x10]
mov edx, ebp
call fcn.00484b10
mov ecx, dword [esp + 0x70]
test eax, eax
je 0x485762
movzx eax, byte [esi + 9]
or ecx, eax
mov dword [esp + 0x70], ecx
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x485740
mov ebp, dword [esp + 0x18]
xor eax, eax
mov edx, ebx
test ecx, ecx
mov ecx, ebp
cmovne eax, edi
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x80], eax
call fcn.0045eca0
test eax, eax
jne 0x486f17
push dword [esp + 0x70]
mov edx, ebx
mov ecx, ebp
call fcn.00463cb0
add esp, 4
test eax, eax
jne 0x486f17
mov ecx, dword [esp + 0x4c]
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x24], eax
mov dword [esp + 0x8c], eax
mov dword [ecx + 0x38], eax
inc eax
inc dword [ebp + 0x44]
test byte [ebx + 0x2a], 0x20
mov ecx, dword [ebp + 0x44]
mov dword [esp + 0x60], eax
jne 0x4857db
mov dword [esp + 0x30], 0
jmp 0x4857fa
mov esi, dword [ebx + 8]
mov dword [esp + 0x30], esi
test esi, esi
je 0x4857fa
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
je 0x4857f6
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x4857e6
mov dword [esp + 0x30], esi
mov edx, dword [ebx + 8]
xor edi, edi
test edx, edx
je 0x485836
mov ebx, dword [esp + 0x30]
mov eax, dword [edx + 0x38]
mov esi, ecx
and al, 3
cmp al, 2
jne 0x485824
test ebx, ebx
je 0x485824
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], ecx
mov dword [eax + 0x38], ecx
mov esi, dword [ebp + 0x44]
lea ecx, [esi + 1]
inc edi
mov dword [ebp + 0x44], ecx
mov edx, dword [edx + 0x14]
test edx, edx
jne 0x485807
mov ebx, dword [esp + 0x14]
movsx eax, word [ebx + 0x22]
mov ecx, dword [esp + 0x38]
add eax, edi
lea edx, [eax*4 + 2]
add edx, edi
call fcn.0041f7a0
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
je 0x486f17
movsx ecx, word [ebx + 0x22]
lea eax, [esi + ecx*4]
lea ecx, [eax + edi*4]
mov dword [esp + 0x88], eax
lea eax, [edi + 1]
mov dword [esp + 0x54], ecx
push eax
push 1
push ecx
mov dword [esp + 0xc0], eax
call fcn.004a3c90
mov eax, dword [esp + 0x60]
add esp, 0xc
xor ecx, ecx
mov byte [eax + edi + 1], 0
xor eax, eax
cmp ax, word [ebx + 0x22]
jge 0x4858b0
nop word [eax + eax]
mov dword [esi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [ebx + 0x22]
cmp ecx, eax
jl 0x4858a0
mov eax, dword [esp + 0x4c]
xorps xmm0, xmm0
mov edi, dword [esp + 0xdc]
xor cl, cl
mov dword [esp + 0xbc], eax
xor al, al
movlpd qword [esp + 0xc0], xmm0
movlpd qword [esp + 0xc8], xmm0
cmp dword [edi], 0
movlpd qword [esp + 0xd0], xmm0
mov dword [esp + 0xb8], ebp
mov dword [esp + 0x74], eax
mov byte [esp + 0x1f], cl
mov dword [esp + 0x2c], 0
jle 0x485aa7
xor ebp, ebp
mov dword [esp + 0x44], ebp
nop word [eax + eax]
mov edx, dword [edi + 4]
lea ecx, [esp + 0xb8]
mov edx, dword [edx + ebp]
call fcn.0044f8d0
test eax, eax
jne 0x485b87
movsx ebx, word [ebx + 0x22]
xor esi, esi
test ebx, ebx
jle 0x48596b
mov eax, dword [edi + 4]
add eax, ebp
mov dword [esp + 0x90], eax
mov ebp, dword [eax + 4]
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 4]
nop word [eax + eax]
push ebp
push dword [edi]
call fcn.004221d0
add esp, 8
test eax, eax
je 0x4859bf
inc esi
add edi, 0x18
cmp esi, ebx
jl 0x485950
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
movsx eax, word [edi + 0x22]
cmp esi, eax
jl 0x485a27
cmp dword [esp + 0x30], 0
jne 0x485b60
mov eax, dword [esp + 0xdc]
mov edi, dword [eax + 4]
mov ecx, dword [edi + ebp + 4]
call fcn.00451990
test eax, eax
je 0x485b60
mov eax, dword [edi + ebp]
or esi, 0xffffffff
mov edi, dword [esp + 0x14]
mov edx, str.ROWID
mov byte [esp + 0x1f], 1
mov dword [esp + 0x7c], eax
jmp 0x485a3b
mov edi, dword [esp + 0x14]
movsx eax, word [edi + 0x20]
cmp esi, eax
jne 0x4859ee
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x44]
mov byte [esp + 0x1f], 1
mov eax, dword [eax]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x20]
mov dword [eax + esi*4], ebx
jmp 0x485973
cmp dword [esp + 0x30], 0
je 0x485a13
mov ecx, dword [edi + 4]
lea eax, [esi + esi*2]
test byte [ecx + eax*8 + 0x17], 1
mov ecx, 1
mov eax, dword [esp + 0x74]
movzx eax, al
cmovne eax, ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x44]
mov dword [eax + esi*4], ebx
jmp 0x485973
test esi, esi
jns 0x485a32
mov edx, str.ROWID
jmp 0x485a3b
mov eax, dword [edi + 4]
lea ecx, [esi + esi*2]
mov edx, dword [eax + ecx*8]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, dword [esp + 0x1c]
push edx
push dword [edi]
mov edx, 0x17
call fcn.0045b170
add esp, 0xc
cmp eax, 1
je 0x485b87
cmp eax, 2
jne 0x485a78
mov eax, dword [esp + 0x20]
mov dword [eax + esi*4], 0xffffffff
mov edi, dword [esp + 0xdc]
inc ebx
add ebp, 0x18
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x44], ebp
cmp ebx, dword [edi]
mov ebx, dword [esp + 0x14]
jl 0x485910
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x20]
mov cl, byte [esp + 0x1f]
add al, cl
mov edx, ebx
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x5c], al
movzx eax, al
push eax
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov ecx, ebp
push esi
mov dword [esp + 0xa8], eax
call fcn.0046ab50
mov edi, dword [ebx + 8]
add esp, 8
mov ecx, eax
mov dword [esp + 0x48], ecx
test edi, edi
je 0x485be7
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x88]
inc ebp
mov dword [esp + 0x2c], eax
nop dword [eax + eax]
cmp byte [esp + 0x5c], 0
jne 0x485bb0
test ecx, ecx
jne 0x485bb0
cmp dword [edi + 0x24], ecx
jne 0x485bb0
cmp edi, dword [esp + 0x30]
je 0x485bb0
movzx esi, word [edi + 0x32]
xor ebx, ebx
xor edx, edx
test esi, esi
je 0x485bbe
mov ecx, dword [edi + 4]
nop dword [eax]
movzx eax, word [ecx]
test ax, ax
js 0x485bac
mov esi, dword [esp + 0x20]
cwde
cmp dword [esi + eax*4], ebx
movzx esi, word [edi + 0x32]
jge 0x485bac
inc edx
add ecx, 2
cmp edx, esi
jl 0x485b40
jmp 0x485bbe
mov eax, dword [esp + 0xdc]
lea ecx, [ebx + ebx*2]
mov ebx, dword [esp + 0x18]
mov eax, dword [eax + 4]
push dword [eax + ecx*8 + 4]
push str.no_such_column:__s
push ebx
call fcn.00422040
add esp, 0xc
mov byte [ebx + 0x11], 1
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
cmp dword [edx + 0x208], 0
je 0x486ee8
mov ecx, dword [esp + 0x38]
mov edx, esi
call fcn.0041f520
jmp 0x486f17
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
inc dword [ecx + 0x48]
mov ebx, dword [ecx + 0x48]
test ebx, ebx
jne 0x485bc6
mov eax, dword [esp + 0x2c]
mov byte [ebp], 0
mov ecx, dword [esp + 0x48]
inc ebp
mov dword [eax], ebx
add eax, 4
mov edi, dword [edi + 0x14]
mov dword [esp + 0x2c], eax
test edi, edi
jne 0x485b00
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, ebp
call fcn.0047b830
mov esi, eax
test esi, esi
je 0x485b87
cmp byte [ebp + 0x12], 0
jne 0x485bfe
or dword [esi + 0x58], 4
mov eax, dword [ebp + 0x198]
mov edi, ebp
mov ecx, dword [esp + 0x28]
test eax, eax
cmovne edi, eax
mov eax, 1
shl eax, cl
mov edx, dword [edi + 0x14c]
test edx, eax
jne 0x485c51
mov eax, dword [edi]
bts edx, ecx
mov dword [edi + 0x14c], edx
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 0xc]
mov ecx, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [edi + ecx*4 + 0x150], eax
cmp ecx, 1
jne 0x485c51
mov ecx, edi
call fcn.00462560
mov ecx, dword [esp + 0x28]
mov eax, dword [edi + 0x148]
or byte [edi + 0x14], 1
bts eax, ecx
mov dword [edi + 0x148], eax
test byte [ebx + 0x2a], 0x10
jne 0x485cd8
mov eax, dword [ebp + 0x48]
mov edi, dword [esp + 0x40]
inc eax
cmp byte [esp + 0x74], 0
mov dword [esp + 0x78], eax
lea edx, [eax + 1]
mov dword [esp + 0x50], edx
mov dword [ebp + 0x48], edx
mov dword [esp + 0x34], edx
jne 0x485c99
test edi, edi
jne 0x485c99
mov eax, dword [esp + 0x48]
mov ecx, edx
test eax, eax
je 0x485cad
movsx ecx, word [ebx + 0x22]
lea eax, [edx + 1]
add ecx, edx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x48]
mov dword [ebp + 0x48], ecx
cmp byte [esp + 0x5c], 0
jne 0x485cbc
test edi, edi
jne 0x485cbc
test eax, eax
je 0x485cc8
lea eax, [ecx + 1]
mov dword [esp + 0x50], eax
mov ecx, eax
mov dword [ebp + 0x48], eax
lea eax, [ecx + 1]
mov dword [esp + 0x58], eax
movsx eax, word [ebx + 0x22]
add eax, ecx
mov dword [ebp + 0x48], eax
mov edx, dword [esp + 0x80]
test edx, edx
je 0x485d01
mov ecx, dword [ebp + 0x1e8]
mov eax, dword [ebx]
mov dword [esp + 0xb0], ebp
mov dword [esp + 0x90], ecx
mov dword [ebp + 0x1e8], eax
jmp 0x485d1d
mov eax, dword [esp + 0x98]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x90], eax
mov edi, dword [esp + 0xe0]
test edx, edx
je 0x485d39
push dword [esp + 0x24]
mov edx, ebx
mov ecx, ebp
push edi
call fcn.00463d40
add esp, 8
mov edx, edi
lea ecx, [esp + 0xb8]
call fcn.0044f8d0
test eax, eax
jne 0x486ec3
mov al, byte [ebx + 0x2a]
test al, 0x10
je 0x485d85
push dword [esp + 0xe4]
mov esi, dword [esp + 0x24]
mov ecx, ebp
mov edx, dword [esp + 0x50]
push edi
push esi
push dword [esp + 0x88]
push dword [esp + 0xec]
push ebx
call fcn.00486f50
add esp, 0x18
jmp 0x486ec7
test al, 0x20
jne 0x485ece
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
cmp dword [eax + 0x54], edi
jg 0x485da3
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x485dd7
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x78]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x60]
mov eax, dword [esp + 0xe4]
mov ecx, ebp
mov edx, dword [esp + 0x50]
push 4
push 0
push 0
push eax
call fcn.00493e00
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x486ec3
mov eax, dword [ebp + 0x40]
mov edi, dword [esi + 0x20]
mov ecx, edi
mov ebx, dword [ebp + 0x3c]
mov dword [esp + 0x94], eax
movzx eax, byte [ebp + 0x26]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], edi
jg 0x485e31
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x485e68
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x68
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x44], 0
jne 0x4861d0
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x485e92
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x4861d0
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x78]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x81
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4861d0
mov eax, dword [ebp + 0x48]
mov ecx, dword [esp + 0x30]
lea ebx, [eax + 1]
inc eax
movsx ebp, word [ecx + 0x32]
mov ecx, dword [esp + 0x18]
add eax, ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
mov dword [ecx + 0x48], eax
mov eax, dword [ecx + 0x44]
mov dword [esp + 0x6c], eax
inc eax
mov dword [ecx + 0x44], eax
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x485f18
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x485f4b
mov ecx, dword [esi + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
mov dword [esp + 0xa8], ebx
cmp dword [eax + 0x54], ebx
jg 0x485f75
mov ecx, esi
call fcn.0043d1e0
test eax, eax
je 0x485f75
mov dword [esp + 0xa8], 1
jmp 0x485fa5
mov eax, dword [esi + 4]
lea ecx, [ebx + ebx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x6c]
mov word [eax + ecx*4], 0x39
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, eax
mov edx, dword [esp + 0x30]
mov edi, dword [eax + 8]
call fcn.00462e40
mov ebp, dword [edi + 4]
mov ebx, eax
mov ecx, dword [edi]
test ebp, ebp
je 0x485ffc
cmp byte [ecx + 0x41], 0
jne 0x485ffc
mov edx, dword [edi + 0x20]
dec edx
lea eax, [edx + edx*4]
lea edi, [eax*4]
add edi, ebp
push dword [edi + 0x10]
movsx edx, byte [edi + 1]
call fcn.0043d920
add esp, 4
test ebx, ebx
jne 0x485ff3
mov dword [edi + 0x10], ebx
mov byte [edi + 1], bl
jmp 0x48600a
mov dword [edi + 0x10], ebx
mov byte [edi + 1], 0xfa
jmp 0x48600a
push ebx
mov edx, 0xfffffffa
call fcn.0043d920
add esp, 4
push dword [esp + 0x60]
mov eax, dword [esp + 0xe4]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
push 4
push 0
push 0
push eax
call fcn.00493e00
mov ebp, eax
add esp, 0x14
mov dword [esp + 0xac], ebp
test ebp, ebp
je 0x486ec3
mov eax, dword [ebp + 0x3c]
xor edi, edi
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x9c], eax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x94], eax
movzx eax, byte [ebp + 0x26]
mov dword [esp + 0x44], eax
test ebx, ebx
jle 0x486099
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
lea eax, [edi + ebp]
push eax
mov eax, dword [esp + 0x34]
mov ecx, esi
mov eax, dword [eax + 4]
movsx eax, word [eax + edi*2]
push eax
push dword [esp + 0x2c]
call fcn.00453810
inc edi
add esp, 0xc
cmp edi, ebx
jl 0x486067
mov ebp, dword [esp + 0xac]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4860f8
mov ebx, dword [esp + 0xa8]
cmp ebx, dword [esi + 0x20]
jge 0x4860e0
mov eax, dword [esi + 4]
lea ecx, [ebx + ebx*4]
push dword [eax + ecx*4 + 0x10]
movsx edx, byte [eax + ecx*4 + 1]
lea edi, [eax + ecx*4]
mov ecx, dword [esi]
call fcn.0043d920
xorps xmm0, xmm0
add esp, 4
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov byte [edi], 0x9f
mov eax, dword [esi + 0x20]
dec eax
cmp ebx, eax
jne 0x4860e0
mov dword [esi + 0x20], eax
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x84], edx
mov dword [esp + 0x3c], eax
jmp 0x4861c9
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
call fcn.0046ba00
mov ecx, dword [esi + 0x18]
mov ebx, eax
mov edi, dword [esi + 0x20]
mov eax, edi
cmp dword [ecx + 0x54], edi
jg 0x48612d
mov ecx, esi
call fcn.0043d1e0
test eax, eax
je 0x48612a
mov edx, dword [esp + 0x2c]
mov edi, 1
jmp 0x486169
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x28]
lea ecx, [edi + edi*4]
mov ebp, dword [esp + 0x3c]
inc eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 0xc], ebp
mov ebp, dword [esp + 0xac]
mov word [eax + ecx*4], 0x31
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
push edx
push ebx
mov edx, edi
mov ecx, esi
call fcn.0043db40
mov eax, dword [esi + 0x18]
add esp, 8
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x486192
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x4861c9
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x6c]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x6f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esp + 0x9c]
mov ecx, ebp
call fcn.00494930
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x18]
test byte [eax + 0x18], 0x80
je 0x48624d
cmp dword [edi + 0x19c], 0
jne 0x48624d
inc dword [edi + 0x48]
mov eax, dword [esi + 0x18]
mov ebp, dword [edi + 0x48]
mov edi, dword [esi + 0x20]
mov ecx, edi
mov dword [esp + 0xa4], ebp
cmp dword [eax + 0x54], edi
jg 0x486216
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x486249
mov ecx, dword [esi + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x17
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x18]
mov ecx, esi
call fcn.0043d630
cmp dword [esp + 0x80], 0
mov ecx, eax
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
jne 0x4862f5
cmp dword [esp + 0xe4], 5
je 0x48628f
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4862a4
nop dword [eax]
cmp byte [ecx + 0x36], 5
je 0x48628f
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x486280
jmp 0x4862a4
push dword [esp + 0xb4]
push 1
push dword [esp + 0x5c]
call fcn.004a3c90
add esp, 0xc
cmp dword [esp + 0x44], 0
je 0x4862d1
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x54]
test ebx, ebx
js 0x4862c0
sub ebx, ecx
mov byte [ebx + edx], 0
mov eax, dword [esp + 0x94]
test eax, eax
js 0x4862d1
sub eax, ecx
mov byte [eax + edx], 0
mov ebx, dword [esp + 0x8c]
mov edx, ebp
push 0
push 0
push dword [esp + 0x5c]
mov ecx, edi
push ebx
push 0x37
call fcn.0046f790
mov ecx, dword [esp + 0x40]
add esp, 0x14
jmp 0x4862fc
mov ebx, dword [esp + 0x8c]
cmp dword [esp + 0x44], 0
je 0x4863a6
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x24]
sub eax, ebx
cmp byte [eax + edx], 0
je 0x48633d
cmp dword [esp + 0x80], 0
jne 0x48633d
push dword [esp + 0x84]
push dword [esp + 0x40]
push ecx
push edx
mov edx, 0x45
mov ecx, esi
call fcn.0043d580
add esp, 0x10
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x28], ebx
cmp dword [eax + 0x54], edi
jg 0x486364
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x48653c
mov ecx, dword [esi + 0x20]
cmp dword [esp + 0x30], 0
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x4c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], ebx
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x34]
mov dword [ecx + 0xc], 0
cmovne eax, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov dword [ecx + 0x10], 0
jmp 0x48653c
cmp dword [esp + 0x30], 0
je 0x48648d
mov ecx, esi
call fcn.0043d630
mov ecx, dword [esi + 0x18]
mov ebx, eax
mov edi, dword [esi + 0x20]
mov eax, edi
mov dword [esp + 0x28], ebx
cmp dword [ecx + 0x54], edi
jg 0x4863d9
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x48640e
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x6c]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x6d
mov byte [eax + ecx*4 + 3], 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 + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
mov dword [esp + 0x68], edi
cmp dword [eax + 0x54], edi
jg 0x486437
mov ecx, esi
call fcn.0043d1e0
test eax, eax
je 0x486434
mov dword [esp + 0x68], 1
jmp 0x48646e
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x6c]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x66
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0
push dword [esp + 0x40]
mov edx, 0x45
mov ecx, esi
push ebx
push dword [esp + 0x30]
call fcn.0043d580
add esp, 0x10
jmp 0x48653c
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
mov ecx, ebx
mov dword [esp + 0x28], ebx
cmp dword [eax + 0x54], ebx
jg 0x4864b7
mov ecx, esi
call fcn.0043d1e0
test eax, eax
je 0x4864b4
mov ebx, 1
mov dword [esp + 0x28], ebx
jmp 0x4864ee
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x78]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x82
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x486509
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x48653c
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x49
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x1f], 0
mov ebx, dword [esp + 0x18]
je 0x4865ae
push dword [esp + 0x50]
mov edx, dword [esp + 0x80]
mov ecx, ebx
call fcn.00455710
mov eax, dword [esi + 0x18]
add esp, 4
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x486577
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x4865ae
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x26
mov byte [eax + ecx*4 + 3], 0
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
cmp byte [esp + 0x74], 0
jne 0x486839
cmp dword [esp + 0x48], 0
jne 0x486844
mov edx, dword [esp + 0x40]
test edx, edx
je 0x486712
xor ebx, ebx
push dword [esp + 0xe4]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
push ebp
push 3
push 0
push dword [esp + 0xec]
call fcn.004854b0
mov edx, dword [esp + 0x28]
or ebx, eax
xor eax, eax
mov dword [esp + 0xa8], ebx
add esp, 0x14
xor edi, edi
cmp ax, word [edx + 0x22]
jge 0x4866ae
xor ebp, ebp
cmp ebx, 0xffffffff
je 0x486854
cmp edi, 0x20
jge 0x486631
mov eax, 1
mov ecx, edi
shl eax, cl
test ebx, eax
jne 0x486854
mov eax, dword [edx + 4]
test byte [eax + ebp + 0x17], 1
jne 0x486854
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
mov ecx, ebx
cmp dword [eax + 0x54], ebx
jg 0x48665e
mov ecx, esi
call fcn.0043d1e0
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x486697
mov ecx, dword [esi + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x64]
add eax, edi
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], 0
mov ebx, dword [esp + 0x94]
movsx eax, word [edx + 0x22]
inc edi
add ebp, 0x18
cmp edi, eax
jl 0x486612
cmp byte [esp + 0x1f], 0
jne 0x48670e
cmp dword [esp + 0x30], 0
jne 0x48670e
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x4866d7
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x48670e
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 0x1f
mov byte [eax + ecx*4 + 3], 0
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 + 0x40]
push dword [esp + 0xe4]
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x18]
push 1
push 1
push dword [esp + 0xec]
call fcn.004854b0
mov edx, dword [esp + 0x28]
mov ebp, eax
xor eax, eax
add esp, 0x14
xor edi, edi
cmp ax, word [edx + 0x22]
jge 0x4867c1
nop word [eax + eax]
movsx eax, word [edx + 0x20]
cmp edi, eax
jne 0x486873
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
mov ecx, ebx
cmp dword [eax + 0x54], ebx
jg 0x48677b
mov ecx, esi
call fcn.0043d1e0
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x4867b4
mov ecx, dword [esi + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
lea ecx, [ebx + ebx*4]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x58]
add eax, edi
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov ebx, dword [esp + 0x18]
movsx eax, word [edx + 0x22]
inc edi
cmp edi, eax
jl 0x486750
test byte [esp + 0x70], 1
mov ebp, dword [esp + 0x14]
je 0x4869a3
push dword [esp + 0x58]
mov edx, ebp
mov ecx, esi
call fcn.0046bab0
mov edi, dword [esp + 0x2c]
add esp, 4
mov edx, dword [esp + 0x40]
mov ecx, ebx
push edi
push dword [esp + 0xe8]
push dword [esp + 0x3c]
push ebp
push 1
push dword [esp + 0xf0]
push 0x6e
call fcn.00485440
add esp, 0x1c
cmp dword [esp + 0x30], 0
je 0x486909
push dword [esp + 0x84]
mov edx, 0x45
mov ecx, esi
push dword [esp + 0x40]
push edi
push dword [esp + 0x30]
call fcn.0043d580
add esp, 0x10
jmp 0x48695b
cmp dword [esp + 0x48], 0
je 0x4865d0
mov edx, ebp
mov ecx, ebx
call fcn.0046aa60
mov ebx, eax
jmp 0x4865d2
mov eax, dword [esp + 0x64]
mov ecx, esi
add eax, edi
push eax
push edi
push dword [esp + 0x2c]
call fcn.00453810
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x48669e
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + edi*4]
test ecx, ecx
js 0x4868a8
mov eax, dword [esp + 0x58]
add eax, edi
push eax
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0xe0]
mov edx, dword [ecx + 4]
mov ecx, ebx
mov edx, dword [edx + eax*8]
call fcn.00455710
mov edx, dword [esp + 0x18]
add esp, 4
jmp 0x4867b8
test dword [esp + 0x70], 1
je 0x4868ea
cmp edi, 0x1f
jg 0x4868ea
mov eax, 1
mov ecx, edi
shl eax, cl
test ebp, eax
jne 0x4868ea
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
cmp dword [eax + 0x54], ebx
jg 0x4868e2
mov ecx, esi
call fcn.0043d1e0
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x4867b4
inc dword [esi + 0x20]
jmp 0x486781
mov eax, dword [esp + 0x58]
mov ecx, esi
add eax, edi
push eax
push edi
push dword [esp + 0x2c]
call fcn.00453810
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4867b8
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x486924
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x48695b
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x49
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
xor eax, eax
xor edi, edi
cmp ax, word [ebp + 0x22]
jge 0x4869a3
mov ebx, dword [esp + 0x20]
nop dword [eax]
cmp dword [ebx + edi*4], 0
jge 0x486996
movsx eax, word [ebp + 0x20]
cmp edi, eax
je 0x486996
mov eax, dword [esp + 0x58]
mov edx, ebp
add eax, edi
mov ecx, esi
push eax
push edi
push dword [esp + 0x2c]
call fcn.00453810
add esp, 0xc
movsx eax, word [ebp + 0x22]
inc edi
cmp edi, eax
jl 0x486970
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x80], 0
jne 0x486bdc
lea eax, [esp + 0x64]
xor edi, edi
push eax
push dword [esp + 0x2c]
mov edx, ebp
mov dword [esp + 0x6c], edi
push dword [esp + 0xec]
mov ecx, ebx
push dword [esp + 0x68]
push dword [esp + 0x44]
push dword [esp + 0x64]
push dword [esp + 0x78]
push dword [esp + 0x40]
push dword [esp + 0xa8]
call fcn.0046e210
add esp, 0x24
cmp dword [esp + 0x48], edi
je 0x486a10
push dword [esp + 0xa0]
mov edx, ebp
mov ecx, ebx
push dword [esp + 0x24]
push edi
push dword [esp + 0x40]
call fcn.0046a480
add esp, 0x10
cmp dword [esp + 0x64], edi
jne 0x486a21
cmp byte [esp + 0x5c], 0
je 0x486aa4
cmp dword [esp + 0x30], edi
je 0x486a4b
push dword [esp + 0x84]
mov edx, 0x45
mov ecx, esi
push dword [esp + 0x40]
push 0
push dword [esp + 0x30]
call fcn.0043d580
add esp, 0x10
mov edi, eax
jmp 0x486aa4
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x486a6d
mov ecx, esi
call fcn.0043d1e0
test eax, eax
je 0x486a6a
mov edi, 1
jmp 0x486aa4
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x49
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push 0xffffffffffffffff
push dword [esp + 0x8c]
mov edx, ebp
mov ecx, ebx
push dword [esp + 0x68]
push dword [esp + 0x30]
call fcn.00465390
add esp, 0x10
cmp dword [esp + 0x48], 0
jne 0x486ad7
mov al, byte [esp + 0x5c]
test al, al
jne 0x486ad7
cmp dword [esp + 0x30], 0
je 0x486b31
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
mov ecx, ebx
cmp dword [eax + 0x54], ebx
jg 0x486af2
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x486b29
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x62
mov byte [eax + ecx*4 + 3], 0
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 al, byte [esp + 0x5c]
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x64], 0
jne 0x486b3c
test al, al
je 0x486b6c
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
dec ecx
mov dword [eax + 0x58], ecx
mov eax, dword [esi]
mov edx, dword [esi + 0x20]
cmp byte [eax + 0x41], 0
je 0x486b58
mov eax, 0x4dda18
jmp 0x486b69
test edi, edi
lea eax, [edx - 1]
cmovns eax, edi
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp dword [esp + 0x48], 0
mov edi, dword [esp + 0x20]
je 0x486b91
push dword [esp + 0xa0]
mov edx, ebp
mov ecx, ebx
push edi
push dword [esp + 0x58]
push 0
call fcn.0046a480
add esp, 0x10
push 0
push 0
push 1
push dword [esp + 0x94]
mov edx, ebp
mov ecx, ebx
push dword [esp + 0x60]
push dword [esp + 0x74]
push dword [esp + 0x3c]
call fcn.0046f440
add esp, 0x1c
cmp dword [esp + 0x48], 0
je 0x486bdc
push dword [esp + 0xa0]
mov edx, ebp
mov ecx, ebx
push edi
push dword [esp + 0x3c]
push dword [esp + 0xe8]
call fcn.0046b820
add esp, 0x10
mov eax, dword [esp + 0x38]
test byte [eax + 0x18], 0x80
je 0x486c44
cmp dword [ebx + 0x19c], 0
jne 0x486c44
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x486c0a
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x486c44
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0xa4]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x25
mov byte [eax + ecx*4 + 3], 0
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 edi, dword [esp + 0x28]
mov ecx, ebx
mov edx, dword [esp + 0x40]
push edi
push dword [esp + 0xe8]
push dword [esp + 0x3c]
push ebp
push 2
push dword [esp + 0xf0]
push 0x6e
call fcn.00485440
add esp, 0x1c
cmp dword [esp + 0x44], 0
jne 0x486d27
cmp dword [esp + 0x30], 0
mov edx, dword [esi + 0x18]
je 0x486cda
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x486c98
lea eax, [edi*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
mov ecx, edi
cmp dword [eax + 0x54], edi
jg 0x486cba
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x486d27
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x6c]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 8
jmp 0x486d0e
mov edi, dword [esi + 0x20]
mov eax, edi
cmp dword [edx + 0x54], edi
jg 0x486cf2
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x486d27
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x28]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edx
mov byte [eax + ecx*4 + 3], 0
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x486d43
mov eax, dword [esp + 0x2c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x486dbd
mov ebp, dword [esp + 0x54]
mov edx, dword [esp + 0x60]
inc ebp
mov dword [esp + 0x68], edx
nop
cmp byte [ebp], 0
je 0x486db0
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
cmp dword [eax + 0x54], edi
jg 0x486d80
mov ecx, esi
call fcn.0043d1e0
mov edx, dword [esp + 0x68]
test eax, eax
jne 0x486db0
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x3d
mov byte [eax + ecx*4 + 3], 0
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 ebx, dword [ebx + 0x14]
inc edx
inc ebp
mov dword [esp + 0x68], edx
test ebx, ebx
jne 0x486d60
mov ebx, dword [esp + 0x24]
cmp ebx, dword [esp + 0x60]
jge 0x486e0d
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
cmp dword [eax + 0x54], edi
jg 0x486ddd
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x486e0d
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x3d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
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 + 0x18]
cmp byte [eax + 0x12], 0
jne 0x486e2b
cmp dword [eax + 0x19c], 0
jne 0x486e2b
mov ecx, eax
call fcn.0046c060
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
test byte [ecx + 0x18], 0x80
je 0x486ec3
cmp dword [eax + 0x19c], 0
jne 0x486ec3
cmp byte [eax + 0x12], 0
jne 0x486ec3
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
cmp dword [eax + 0x54], edi
jg 0x486e62
mov ecx, esi
call fcn.0043d1e0
test eax, eax
jne 0x486e99
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0xa4]
mov word [eax + ecx*4], 0x21
mov byte [eax + ecx*4 + 3], 0
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 edx, 1
mov ecx, esi
call fcn.0043eb80
mov eax, dword [esi]
cmp byte [eax + 0x41], 0
jne 0x486ec3
mov ecx, dword [esi + 0x10]
mov edx, str.rows_updated
push 0
push 1
push 0xffffffffffffffff
call fcn.0043c720
add esp, 0xc
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x485b8b
mov ecx, dword [esp + 0x90]
mov dword [eax + 0x1e8], ecx
jmp 0x485b8b
cmp esi, dword [edx + 0x114]
jb 0x486f0e
cmp esi, dword [edx + 0x118]
jae 0x486f0e
mov eax, dword [edx + 0x110]
mov dword [esi], eax
dec dword [edx + 0xfc]
mov dword [edx + 0x110], esi
jmp 0x486f17
push esi
call fcn.0041f4b0
add esp, 4
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
call fcn.00461e90
mov edx, dword [esp + 0xdc]
mov ecx, dword [esp + 0x38]
call fcn.00451530
mov edx, dword [esp + 0xe0]
mov ecx, dword [esp + 0x38]
call fcn.00450900
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret