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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x74], edx
xor edx, edx
mov dword [esp + 0x1c], edi
xor eax, eax
mov dword [esp + 0x28], 0
xor esi, esi
mov dword [esp + 0x4c], eax
xorps xmm0, xmm0
mov eax, dword [edi]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x3c], edx
movlpd qword [esp + 0x78], xmm0
mov dword [esp + 0x5c], eax
cmp dword [edi + 0x24], edx
jne 0x496c6e
mov edx, dword [esp + 0x74]
call fcn.00495630
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
je 0x496c6c
cmp dword [esi + 0x38], 0
jne 0x495b56
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x495b5f
cmp dword [eax + 0x30], 0
je 0x495b5f
cmp byte [edi + 0x9b], 0
je 0x495b74
mov bl, byte [esi + 0x2b]
xor eax, eax
mov byte [esp + 0xf], bl
mov byte [esp + 0x27], bl
xor ebx, ebx
mov dword [esp + 0x6c], eax
jmp 0x495b9e
push 0
push 0
push 0x80
mov edx, esi
mov ecx, edi
call fcn.004bf3b0
mov ebx, eax
add esp, 0xc
mov al, byte [esi + 0x2b]
mov dword [esp + 0x6c], ebx
mov byte [esp + 0xf], al
mov byte [esp + 0x27], al
test ebx, ebx
jne 0x495bba
push 0
push 0
mov edx, esi
mov ecx, edi
call fcn.0049d990
add esp, 8
mov dword [esp + 0x40], 0
test eax, eax
je 0x495bc2
mov dword [esp + 0x40], 1
cmp byte [esi + 0x2b], 1
je 0x495bcf
cmp word [esi + 0x22], 0
jg 0x495be0
mov edx, esi
mov ecx, edi
call fcn.0048fe00
test eax, eax
jne 0x496c6c
xor eax, eax
mov edx, esi
test ebx, ebx
mov ecx, edi
setne al
push eax
call fcn.004957a0
add esp, 4
test eax, eax
jne 0x496c6c
mov ecx, dword [esi + 0x3c]
mov ebx, 0xffff8000
test ecx, ecx
je 0x495c20
mov eax, dword [esp + 0x5c]
xor ebx, ebx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x495c20
lea eax, [eax + 0x10]
inc ebx
cmp dword [eax], ecx
jne 0x495c18
mov eax, dword [esp + 0x5c]
mov ecx, ebx
shl ecx, 4
mov edx, 9
mov dword [esp + 0x44], ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx]
mov ecx, edi
push 0
push dword [esi]
call fcn.0048a7e0
add esp, 0xc
mov dword [esp + 0x48], eax
cmp eax, 1
je 0x496c6c
mov ecx, dword [esp + 0x74]
xor edx, edx
mov eax, dword [edi + 0x28]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], edx
mov dword [ecx + 0x34], eax
mov ecx, dword [edi + 0x28]
inc ecx
mov dword [edi + 0x28], ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x495c85
inc ecx
inc edx
mov dword [edi + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x495c75
mov dword [esp + 0x10], edx
cmp byte [esp + 0xf], 2
jne 0x495caa
mov ecx, dword [edi + 0xfc]
mov eax, dword [esi]
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], ecx
mov dword [edi + 0xfc], eax
jmp 0x495cc0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x88], eax
mov esi, dword [edi + 8]
mov dword [esp + 0x38], esi
test esi, esi
je 0x495cdd
lea edx, [edi + 0x78]
mov dword [esp + 0x80], edx
mov eax, edx
mov dword [esp + 0x14], edx
jmp 0x495d17
cmp dword [edi + 0x78], 0
lea eax, [edi + 0x78]
mov dword [esp + 0x14], eax
jne 0x495cf6
mov eax, dword [edi]
test byte [eax + 0x50], 8
jne 0x495cf6
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.004606d0
mov esi, eax
lea edx, [edi + 0x78]
mov dword [esp + 0x38], esi
mov eax, edx
mov dword [esp + 0x80], edx
test esi, esi
je 0x496c4e
cmp byte [edi + 0x12], 0
jne 0x495d24
or dword [esi + 0x98], 0x10
mov eax, dword [eax]
mov edx, edi
test eax, eax
mov ecx, ebx
cmovne edx, eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x34], edx
mov ecx, dword [edx + 0x58]
test ecx, eax
jne 0x495d57
bts ecx, ebx
mov dword [edx + 0x58], ecx
cmp ebx, 1
jne 0x495d57
mov ecx, edx
call fcn.00493f70
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x54]
bts eax, ebx
mov dword [edx + 0x54], eax
mov eax, dword [esp + 0x40]
or byte [edx + 0x14], al
cmp byte [esp + 0x27], 2
jne 0x495d93
push dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov ecx, edi
push 0
push 0
push dword [ebp + 8]
call fcn.004958d0
mov eax, dword [esp + 0x3c]
add esp, 0x10
mov dword [esp + 0x60], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x90]
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [esp + 0x98], xmm0
movlpd qword [esp + 0xa0], xmm0
movlpd qword [esp + 0xa8], xmm0
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], eax
call fcn.00477e20
test eax, eax
jne 0x496c4e
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x495e56
cmp byte [edi + 0x12], 0
jne 0x495e56
cmp dword [edi + 0x7c], 0
jne 0x495e56
cmp byte [edi + 0x99], 0
jne 0x495e56
inc dword [edi + 0x2c]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x64], edx
cmp dword [esi + 0x70], ecx
jg 0x495e27
push 0
push edx
push 0
mov edx, 0x47
mov ecx, esi
call fcn.00460920
add esp, 0xc
jmp 0x495e56
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x47
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
cmp dword [esp + 0x48], 0
mov edx, dword [esp + 0x20]
jne 0x49601e
cmp dword [ebp + 8], 0
jne 0x49601e
cmp dword [esp + 0x40], 0
jne 0x49601e
cmp byte [edx + 0x2b], 1
je 0x49601e
cmp ebx, 1
je 0x495eb3
mov eax, dword [edi]
mov ecx, dword [esp + 0x44]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx + 4]
cmp byte [eax + 9], 0
je 0x495eb3
push dword [edx]
mov ecx, edi
push 1
push dword [edx + 0x14]
mov edx, ebx
call fcn.0048a880
mov edx, dword [esp + 0x2c]
add esp, 0xc
test byte [edx + 0x1c], 0x80
jne 0x495f4a
mov eax, dword [edx]
or ecx, 0xffffffff
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x64]
test eax, eax
cmovne ecx, eax
mov eax, dword [edx + 0x14]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x34], eax
lea eax, [esi + 0x70]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x50], eax
cmp dword [eax], edx
jg 0x495f01
push ecx
push ebx
push dword [esp + 0x3c]
mov edx, 0x91
mov ecx, esi
call fcn.00460920
add esp, 0xc
mov edx, eax
jmp 0x495f34
mov edi, dword [esp + 0x34]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x6c]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x91
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0x10], 0
push 0xffffffffffffffff
push dword [esp + 0x58]
mov ecx, esi
call fcn.00461760
mov edx, dword [esp + 0x28]
add esp, 8
jmp 0x495f51
lea eax, [esi + 0x70]
mov dword [esp + 0x50], eax
mov ecx, dword [edx + 8]
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x496c1c
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
jne 0x495fa8
test byte [edx + 0x1c], 0x80
je 0x495fa8
mov eax, dword [esp + 0x64]
or edx, 0xffffffff
mov edi, dword [ecx + 0x2c]
test eax, eax
mov ecx, dword [esi + 0x6c]
cmovne edx, eax
mov eax, dword [esp + 0x50]
cmp dword [eax], ecx
jg 0x495f8e
push edx
push ebx
push edi
jmp 0x495fbe
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x20]
jmp 0x495feb
mov edi, dword [esp + 0x50]
mov eax, dword [ecx + 0x2c]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x6c], eax
cmp dword [edi], ecx
jg 0x495fd3
push 0
push ebx
push eax
mov edx, 0x91
mov ecx, esi
call fcn.00460920
mov edx, dword [esp + 0x2c]
add esp, 0xc
jmp 0x496002
mov edi, dword [esp + 0x6c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4], 0x91
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x34], ecx
test ecx, ecx
jne 0x495f60
mov edi, dword [esp + 0x1c]
jmp 0x496c1c
test byte [esp + 0xa8], 0x40
mov eax, 1
mov ebx, dword [esp + 0x40]
cmovne ebx, eax
xor eax, eax
test ebx, ebx
sete al
test byte [edx + 0x1c], 0x80
lea eax, [eax*8 + 0x14]
movzx eax, ax
mov dword [esp + 0x38], eax
jne 0x4960cb
inc dword [edi + 0x2c]
lea ebx, [esi + 0x6c]
mov ecx, dword [ebx]
lea eax, [esi + 0x70]
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 1
mov dword [esp + 0x70], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], eax
cmp dword [eax], ecx
jg 0x496094
push 0
push edx
push 0
mov edx, 0x4b
mov ecx, esi
call fcn.00460920
add esp, 0xc
jmp 0x4961cc
mov edi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [ebx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 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 0x4961cc
mov ecx, dword [edx + 8]
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x4960ea
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4960e6
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4960d6
mov dword [esp + 0x44], ecx
mov eax, dword [edi + 0x2c]
lea ebx, [esi + 0x6c]
movzx ecx, word [ecx + 0x32]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], ebx
lea edx, [eax + 1]
mov dword [esp + 0x58], edx
movsx edx, cx
add eax, edx
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x30], eax
inc eax
mov dword [edi + 0x28], eax
lea eax, [esi + 0x70]
mov ecx, dword [ebx]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x18], eax
cmp dword [eax], ecx
jg 0x496143
push 0
push edx
push dword [esp + 0x38]
mov edx, 0x76
mov ecx, esi
call fcn.00460920
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x496175
mov edi, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [ebx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 8]
mov ecx, edi
mov edx, dword [esp + 0x44]
mov dword [esp + 0x54], eax
call fcn.00494800
mov dword [esp + 0x34], eax
test eax, eax
je 0x4961cc
mov edx, dword [esp + 0x54]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x4961ab
push eax
mov edx, 0xfffffff8
call fcn.00461290
add esp, 4
jmp 0x4961c1
mov eax, dword [edx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x34]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
lea eax, [esi + 0x70]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
mov ecx, edi
mov edx, dword [esp + 0x74]
inc eax
push eax
push dword [esp + 0x3c]
push 0
push 0
push 0
push dword [ebp + 8]
call fcn.004d8060
mov edx, eax
add esp, 0x18
mov dword [esp + 0x34], edx
test edx, edx
je 0x496c4e
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x54], eax
mov al, byte [edx + 0x2e]
mov dword [esp + 0x78], ecx
mov byte [esp + 0xf], al
mov byte [esp + 0x8c], al
cmp al, 1
je 0x49622c
mov eax, dword [esp + 0x14]
mov ecx, edi
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
test byte [edx + 0x30], 1
mov edx, dword [esp + 0x18]
je 0x49628f
mov ecx, dword [ebx]
cmp dword [edx], ecx
jg 0x496259
push 0
push 0
push dword [esp + 0x34]
mov edx, 0x8f
mov ecx, esi
call fcn.00460920
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x49628f
mov edi, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [ebx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x8f
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 + 0x64]
test eax, eax
je 0x4962e5
mov ecx, dword [ebx]
cmp dword [edx], ecx
jg 0x4962b3
push 0
push 1
push eax
mov edx, 0x56
mov ecx, esi
call fcn.00460920
add esp, 0xc
jmp 0x4962e5
mov edx, dword [esp + 0x64]
lea eax, [ecx + 1]
mov dword [ebx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
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
cmp dword [esp + 0x44], 0
je 0x496348
mov eax, dword [esp + 0x48]
xor ecx, ecx
cwde
mov dword [esp + 0x38], ecx
test eax, eax
jle 0x49633e
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x58]
mov edx, edi
add eax, ecx
push eax
mov eax, dword [ebx + 4]
movsx eax, word [eax + ecx*2]
mov ecx, esi
push eax
push dword [esp + 0x34]
call fcn.0047e040
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov edx, dword [esp + 0x48]
inc ecx
movsx eax, dx
mov dword [esp + 0x38], ecx
cmp ecx, eax
jl 0x496303
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x14], edx
jmp 0x4963ab
mov edx, dword [edi + 0x2c]
mov eax, dword [esp + 0x18]
inc edx
mov dword [edi + 0x2c], edx
mov ecx, dword [ebx]
mov dword [esp + 0x14], edx
cmp dword [eax], ecx
jg 0x496379
push 0
push edx
push dword [esp + 0x34]
mov edx, 0x87
mov ecx, esi
call fcn.00460920
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4963ab
lea eax, [ecx + 1]
mov dword [ebx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov ebx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0xf], 0
lea ecx, [edi + 0x2c]
je 0x496457
mov eax, dword [esp + 0x48]
movzx ecx, ax
mov eax, dword [esp + 0x10]
add eax, 2
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x5c]
cdq
push edx
push eax
call fcn.0043b7c0
mov ecx, eax
add esp, 8
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x4963f2
mov ecx, dword [esp + 0x34]
call fcn.004d8fe0
jmp 0x496c4e
mov eax, dword [esp + 0x10]
inc eax
push eax
push 1
push ecx
call fcn.00570cd0
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x2c]
mov byte [eax + edx + 1], 0
mov eax, dword [esp + 0x78]
test eax, eax
js 0x496422
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x54]
test eax, eax
js 0x496430
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x496441
mov edx, eax
mov ecx, esi
call fcn.004614a0
dec dword [edi + 0x38]
lea edx, [esi + 0x68]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x50], eax
mov dword [esp + 0x10], edx
jmp 0x496611
mov eax, dword [esp + 0x44]
test eax, eax
je 0x49659b
inc dword [ecx]
mov edx, eax
mov ecx, dword [ecx]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi]
mov dword [esp + 0x38], 0
call fcn.0049ed10
mov ecx, dword [ebx]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
movsx edx, ax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x78], ecx
cmp dword [eax], ecx
jg 0x4964b8
push dword [esp + 0x14]
mov ecx, esi
push edx
push dword [esp + 0x60]
mov edx, 0x61
call fcn.00460920
mov edx, eax
add esp, 0xc
lea eax, [esi + 0x68]
mov dword [esp + 0x10], eax
jmp 0x4964f4
mov edi, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [ebx], eax
lea ecx, [ecx + ecx*4]
lea eax, [esi + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [eax]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x78]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x48]
movsx eax, cx
mov ecx, esi
push eax
push dword [esp + 0x50]
call fcn.00461760
mov eax, dword [esp + 0x20]
add esp, 8
mov ecx, dword [ebx]
mov dword [esp + 0x78], ecx
cmp dword [eax], ecx
jg 0x49653b
push dword [esp + 0x58]
mov edx, 0x8a
mov ecx, esi
push dword [esp + 0x18]
push dword [esp + 0x38]
call fcn.00460920
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, eax
jmp 0x496578
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
mov dword [ebx], eax
mov eax, dword [edx]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x58]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x8a
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x78]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x496604
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
mov edi, dword [esp + 0x48]
movsx edx, di
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x496600
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx]
mov dword [esp + 0x38], 1
cmp dword [eax], ecx
jg 0x4965cc
push 0
push edx
push dword [esp + 0x78]
mov edx, 0x9c
mov ecx, esi
call fcn.00460920
lea eax, [esi + 0x68]
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x496604
mov edi, dword [esp + 0x70]
lea eax, [ecx + 1]
mov dword [ebx], eax
lea ecx, [ecx + ecx*4]
lea eax, [esi + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x9c
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
call fcn.004d8fe0
mov edx, dword [esp + 0x10]
cmp byte [esp + 0x27], 2
je 0x4966e4
xor eax, eax
cmp byte [esp + 0xf], 2
mov dword [esp + 0x4c], eax
jne 0x496683
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx]
mov dword [esp + 0x4c], ecx
cmp dword [eax], ecx
jg 0x496652
push 0
push 0
push 0
mov edx, 0xf
mov ecx, esi
call fcn.00460920
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x496683
lea eax, [ecx + 1]
mov dword [ebx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
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 + 0x20]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
push dword [esp + 0x70]
push dword [esp + 0x38]
push 8
push 0x71
call fcn.004a3b90
mov al, byte [esp + 0x27]
add esp, 0x18
cmp al, 2
jne 0x4966e8
mov edx, dword [ebx]
mov ecx, dword [esp + 0x4c]
lea eax, [edx - 1]
cmp ecx, eax
jne 0x4966c0
mov dword [ebx], eax
jmp 0x4966f0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4966d2
mov eax, 0x5dfc94
mov dword [eax + 8], edx
jmp 0x4966f0
mov eax, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4966f0
mov al, byte [esp + 0xf]
test al, al
je 0x4967a8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
cmp byte [eax + 0x2b], 1
je 0x49693e
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x2c]
cmp byte [eax + ecx], 0
je 0x49693e
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx]
mov dword [esp + 0x78], ecx
cmp dword [eax], ecx
jg 0x496745
push dword [esp + 0x14]
mov edx, 0x1c
mov ecx, esi
push dword [esp + 0x54]
push dword [esp + 0x30]
call fcn.00460920
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, eax
jmp 0x496782
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x28]
lea ecx, [ecx + ecx*4]
mov dword [ebx], eax
mov eax, dword [edx]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x78]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x49693a
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 1], 0xfd
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x38]
cwde
mov dword [ecx + 0x10], eax
jmp 0x49693a
cmp dword [esp + 0x44], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx]
mov dword [esp + 0x3c], ecx
mov eax, dword [eax]
je 0x4968de
cmp eax, ecx
jg 0x4967e4
push 0
push 0
push dword [esp + 0x38]
mov edx, 0x24
mov ecx, esi
call fcn.00460920
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x3c], eax
jmp 0x496819
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov edi, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
mov dword [ebx], eax
mov eax, dword [edx]
mov dword [eax + ecx*4], 0x24
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 eax, dword [esp + 0x20]
mov ecx, dword [ebx]
mov edi, dword [esp + 0x18]
cmp byte [eax + 0x2b], 1
jne 0x496885
cmp dword [edi], ecx
mov edi, dword [esp + 0x1c]
jg 0x49684f
push dword [esp + 0x14]
mov edx, 0x5e
mov ecx, esi
push 0
push dword [esp + 0x38]
call fcn.00460920
add esp, 0xc
jmp 0x49693a
lea eax, [ecx + 1]
mov dword [ebx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x49693a
cmp dword [edi], ecx
mov edi, dword [esp + 0x1c]
jg 0x4968ab
push 0
push dword [esp + 0x18]
mov edx, 0x86
mov ecx, esi
push dword [esp + 0x38]
call fcn.00460920
add esp, 0xc
jmp 0x49693a
lea eax, [ecx + 1]
mov dword [ebx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x86
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x49693a
cmp eax, ecx
jg 0x4968fd
push dword [esp + 0x14]
mov edx, 0x2e
mov ecx, esi
push 0
push dword [esp + 0x78]
call fcn.00460920
add esp, 0xc
jmp 0x496936
mov edx, dword [esp + 0x70]
lea eax, [ecx + 1]
mov dword [ebx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x2e
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
cmp byte [edx + 0x2b], 1
jne 0x496a86
mov eax, dword [edx + 0x34]
mov dword [esp + 0x60], eax
test eax, eax
je 0x49696f
mov ecx, dword [esp + 0x5c]
nop dword [eax + eax]
cmp dword [eax], ecx
je 0x49696b
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x496960
mov dword [esp + 0x60], eax
mov ecx, edi
call fcn.004c7280
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx]
test eax, eax
mov ecx, edi
cmovne ecx, eax
cmp byte [esp + 0xf], 1
mov byte [ecx + 0x15], 1
jne 0x4969f9
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx]
cmp dword [eax], ecx
jg 0x4969b4
push 0
push 0
push dword [esp + 0x34]
mov edx, 0x7a
mov ecx, esi
call fcn.00460920
add esp, 0xc
jmp 0x4969e9
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [ebx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x7a
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 eax, dword [esp + 0x80]
cmp dword [eax], 0
jne 0x4969f9
mov byte [edi + 0x14], 0
mov eax, dword [esp + 0x18]
mov edx, dword [ebx]
cmp dword [eax], edx
jg 0x496a1e
push dword [esp + 0x14]
mov edx, 7
mov ecx, esi
push 1
push 0
call fcn.00460920
add esp, 0xc
mov edx, eax
jmp 0x496a57
mov edi, dword [esp + 0x14]
lea eax, [edx + 1]
mov dword [ebx], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 7
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff5
push dword [esp + 0x64]
mov ecx, esi
call fcn.00461760
mov eax, dword [ebx]
add esp, 8
mov edx, dword [esp + 0x10]
test eax, eax
jle 0x496ac1
lea ecx, [eax + eax*4]
mov ebx, 2
mov eax, dword [edx]
mov word [eax + ecx*4 - 0x12], bx
mov ebx, dword [esp + 0x40]
jmp 0x496ac1
push dword [esp + 0x54]
cmp byte [edi + 0x12], 0
push dword [esp + 0x90]
sete al
push 0xb
movzx eax, al
push eax
push dword [esp + 0x48]
mov eax, dword [esp + 0x80]
push dword [esp + 0x28]
push dword [esp + 0x78]
push ecx
push eax
mov ecx, edi
call fcn.00496cb0
mov edx, dword [esp + 0x34]
add esp, 0x24
cmp byte [esp + 0xf], 0
je 0x496b08
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x50]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x496af2
push edx
mov edx, esi
call fcn.00460fb0
mov ecx, dword [esp + 0x38]
add esp, 4
call fcn.004d8fe0
jmp 0x496c1c
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x34]
call fcn.004d8fe0
jmp 0x496c1c
cmp dword [esp + 0x44], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx]
mov eax, dword [eax]
je 0x496ba6
mov edi, dword [esp + 0x3c]
inc edi
cmp eax, ecx
jg 0x496b41
mov eax, dword [esp + 0x3c]
mov edx, 0x27
push 0
inc eax
mov ecx, esi
push eax
push dword [esp + 0x38]
call fcn.00460920
add esp, 0xc
jmp 0x496b6e
lea eax, [ecx + 1]
mov dword [ebx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esp + 0x10]
mov edi, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x496b8d
mov eax, 0x5dfc94
mov dword [eax + 8], edi
mov edi, dword [esp + 0x1c]
jmp 0x496c1c
mov eax, dword [esp + 0x3c]
lea ecx, [eax + eax*4]
mov eax, dword [edx]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x1c]
lea eax, [eax + ecx*4]
jmp 0x496c1c
cmp eax, ecx
jg 0x496bc7
push 0
push dword [esp + 0x40]
mov edx, 9
mov ecx, esi
push 0
call fcn.00460920
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x496bfc
mov edi, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [ebx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov ebx, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x496c0d
mov eax, 0x5dfc94
jmp 0x496c19
mov eax, dword [esp + 0x3c]
lea ecx, [eax + eax*4]
mov eax, dword [edx]
lea eax, [eax + ecx*4]
mov dword [eax + 8], ebx
cmp byte [edi + 0x12], 0
jne 0x496c35
cmp dword [edi + 0x7c], 0
jne 0x496c35
cmp dword [edi + 0x74], 0
je 0x496c35
mov ecx, edi
call fcn.0049f410
mov eax, dword [esp + 0x64]
test eax, eax
je 0x496c4e
push str.rows_deleted
mov edx, eax
mov ecx, esi
call fcn.004956c0
add esp, 4
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x68]
test eax, eax
je 0x496c6e
mov ecx, dword [esp + 0x88]
mov dword [eax + 0xfc], ecx
jmp 0x496c6e
xor esi, esi
mov ebx, dword [esp + 0x5c]
mov ecx, ebx
mov edx, dword [esp + 0x74]
call fcn.004936b0
mov eax, dword [ebp + 8]
test eax, eax
je 0x496c8d
mov edx, eax
mov ecx, ebx
call fcn.004798d0
test esi, esi
je 0x496c9a
mov edx, esi
mov ecx, ebx
call fcn.0043b3e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret