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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x57f0b4]
xor eax, esp
mov dword [esp + 0x104], eax
mov al, byte [ebp + 0x20]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 8]
push esi
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x28]
push edi
mov edi, ecx
mov dword [esp + 0xdc], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], edx
mov eax, dword [edi]
mov esi, dword [edi + 8]
mov dword [esp + 0x58], eax
mov eax, edx
mov dword [esp + 0xc], edi
mov dword [esp + 0xd8], 0
mov dword [esp + 0x78], 0
movsx edx, word [eax + 0x22]
mov ecx, dword [eax + 0x1c]
mov byte [esp + 0x27], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0x34], esi
mov dword [esp + 0x10], edx
test cl, cl
js 0x476a26
mov dword [esp + 0x30], 0
mov dword [esp + 0x88], 1
jmp 0x476a54
mov eax, dword [eax + 8]
mov dword [esp + 0x30], eax
test eax, eax
je 0x476a49
mov esi, eax
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
je 0x476a43
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x476a33
mov dword [esp + 0x30], esi
mov eax, esi
movzx eax, word [eax + 0x32]
mov dword [esp + 0x88], eax
test ecx, 0x800
je 0x476d93
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
xor edi, edi
mov dword [esp + 0x18], edi
test edx, edx
jle 0x476d3c
mov eax, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x2c], edx
nop dword [eax + eax]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 4]
add ecx, edx
mov dword [esp + 0x3c], ecx
mov edx, dword [ecx + 4]
and edx, 0xf
je 0x476d12
mov eax, dword [esp + 0x14]
movsx eax, word [eax + 0x20]
cmp edi, eax
je 0x476d0e
movzx eax, word [ecx + 0xe]
and eax, 0x60
je 0x476ad2
cmp dword [esp + 0x28], 0
jne 0x476ad2
inc dword [esp + 0x50]
jmp 0x476d0e
cmp dword [esp + 0x48], 0
mov esi, dword [esp + 0x34]
je 0x476af3
mov esi, dword [esp + 0x48]
cmp dword [esi + edi*4], 0
mov esi, dword [esp + 0x34]
jge 0x476af3
test eax, eax
je 0x476d0e
cmp byte [esp + 0x70], 0xb
jne 0x476b3c
cmp edx, 0xb
jne 0x476b3c
lea edi, [edx - 9]
cmp dword [esp + 0x28], 0
je 0x476b11
test eax, eax
je 0x476d0e
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
call fcn.00466300
mov edx, dword [ebp + 0x14]
cwde
inc edx
add edx, eax
lea eax, [edi - 1]
mov dword [esp + 0x20], edx
cmp eax, 4
ja case.0x476b35.4
jmp dword [eax*4 + 0x478bd4]
mov ecx, dword [esp + 0x70]
cmp cl, 0xb
movzx edi, cl
mov ecx, dword [esp + 0x3c]
cmove edi, edx
cmp edi, 5
jne 0x476b02
cmp dword [esp + 0x28], 0
jne 0x476b60
cmp word [ecx + 0xc], 0
jne 0x476b11
mov edi, 2
jmp 0x476b11
push edx
mov edx, 0x33
mov ecx, esi
call fcn.0043fe10
inc dword [esp + 0x50]
mov edi, eax
mov eax, dword [esp + 0x40]
add esp, 4
movzx eax, word [eax + 0xc]
test ax, ax
jne 0x476b8e
xor eax, eax
jmp 0x476bb6
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x2b], 0
je 0x476b9c
xor eax, eax
jmp 0x476bb6
mov ecx, dword [ecx + 0x34]
test ecx, ecx
jne 0x476ba7
xor eax, eax
jmp 0x476bb6
cmp dword [ecx], eax
jge 0x476baf
xor eax, eax
jmp 0x476bb6
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4 - 0xc]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
push edx
mov edx, eax
call fcn.0045ce50
mov edx, dword [esi + 0x6c]
add esp, 4
test edi, edi
jns 0x476bd3
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x476be8
mov eax, 0x629608
mov dword [eax + 8], edx
jmp 0x476d0e
mov eax, dword [esi + 0x68]
lea ecx, [edi + edi*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x476d0e
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov eax, dword [esp + 0x3c]
push dword [eax]
mov eax, dword [esp + 0x18]
push dword [eax]
push str._s._s
push dword [esp + 0x64]
call fcn.004207d0
mov ecx, dword [esi + 0x6c]
add esp, 0x10
mov edx, dword [esp + 0x20]
mov dword [esp + 0x6c], eax
cmp dword [esi + 0x70], ecx
jg 0x476c4f
push edx
push edi
push 0x513
mov edx, 0x45
mov ecx, esi
call fcn.0043fd00
add esp, 0xc
jmp 0x476c7a
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0x513
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
mov edx, dword [esp + 0x6c]
cmp byte [ecx + 0x57], 0
je 0x476c96
push edx
mov edx, 0xfffffffa
call fcn.004408d0
add esp, 4
jmp 0x476ca8
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xfa
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x476d0e
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x476d0e
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x476ce0
push 0
push dword [ebp + 0x24]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.0043fd00
add esp, 0xc
jmp 0x476d0e
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 [ebp + 0x24]
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
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
inc ecx
add edx, 0x10
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], edx
mov edi, ecx
cmp ecx, eax
jl 0x476a90
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x4c]
test ecx, ecx
jne 0x476d48
test edi, edi
je 0x476d8f
test eax, eax
jne 0x476d8f
mov eax, 1
mov dword [esp + 0x28], eax
test edi, edi
jle 0x476a70
mov edi, dword [esp + 0x14]
test byte [edi + 0x1c], 0x60
je 0x476a70
mov edx, dword [ebp + 0x14]
mov ecx, dword [esp + 0xc]
push edi
lea edx, [edx + 1]
call fcn.004751f0
mov eax, dword [esp + 0x2c]
add esp, 4
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x10]
jmp 0x476a70
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x90], 2
mov edx, dword [eax + 0x10]
mov dword [esp + 0x2c], edx
test edx, edx
je 0x47705f
mov eax, dword [ecx + 0x20]
and eax, 0x200
or eax, 0
jne 0x47705f
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x70]
movzx edi, al
cmp al, 0xb
jne 0x476dde
mov edi, 2
xor ecx, ecx
mov dword [esp + 0x3c], ecx
cmp dword [edx], ecx
jle 0x477050
lea eax, [edx + 0xc]
mov dword [esp + 0xbc], 0xfffd
mov dword [esp + 0x40], eax
mov dword [esp + 0x80], 3
nop dword [eax]
cmp dword [esp + 0x48], 0
mov eax, dword [eax - 4]
mov esi, dword [esp + 0x34]
mov dword [esp + 0xc8], eax
je 0x476e97
mov esi, dword [esp + 0x48]
xorps xmm0, xmm0
mov dword [esp + 0xf8], 0
movaps xmmword [esp + 0xe0], xmm0
mov dword [esp + 0xf8], esi
mov esi, dword [esp + 0x34]
movq qword [esp + 0xf0], xmm0
mov dword [esp + 0xe4], 0x476910
test eax, eax
je 0x476e78
mov edx, eax
lea ecx, [esp + 0xe0]
call fcn.00452da0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
cmp byte [ebp + 0x1c], 0
mov ax, word [esp + 0xf4]
jne 0x476e8e
and ax, word [esp + 0xbc]
test ax, ax
je 0x477038
cmp byte [esp + 0x27], 0
jne 0x476eb6
mov eax, dword [ebp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x14]
inc eax
push eax
call fcn.00475020
add esp, 4
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0xc8]
dec dword [eax + 0x38]
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x18], ecx
test edx, edx
je 0x476ee5
mov ecx, dword [esp + 0x58]
push 0
push 0
call fcn.004572f0
mov ecx, dword [esp + 0x20]
add esp, 8
jmp 0x476ee7
xor eax, eax
mov edx, dword [esp + 0x58]
mov dword [esp + 0x6c], eax
cmp byte [edx + 0x57], 0
jne 0x476f05
push 0x10
push ecx
push eax
push dword [esp + 0x18]
call fcn.0045d320
add esp, 0x10
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x476f16
mov ecx, dword [esp + 0x58]
call fcn.004570e0
cmp edi, 4
jne 0x476f73
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x476f3c
push 0
push dword [ebp + 0x24]
lea edx, [edi + 4]
mov ecx, esi
push 0
call fcn.0043fd00
add esp, 0xc
jmp 0x477009
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 8
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 0x477009
mov eax, dword [esp + 0x40]
cmp edi, 5
mov ecx, dword [esp + 0xc]
mov edx, dword [eax]
mov eax, 2
cmove edi, eax
mov dword [esp + 0xc8], edx
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x476fbf
cmp dword [ecx + 0x74], eax
jne 0x476fab
mov eax, dword [ecx]
test byte [eax + 0x50], 8
jne 0x476fab
mov byte [ecx + 0x17], 1
call fcn.0043fb10
mov edx, dword [esp + 0xc8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], eax
cmp edi, 2
jne 0x476fd0
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esp + 0x20]
push 0
push edx
push 0
push edi
push 0x113
mov edx, 0x46
call fcn.00440100
mov eax, dword [esp + 0x34]
add esp, 0x14
mov ecx, dword [eax + 0x6c]
test ecx, ecx
jle 0x477009
mov eax, dword [eax + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x80]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x18]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x477027
push edx
mov edx, esi
call fcn.00440470
add esp, 4
jmp 0x477030
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
inc ecx
add eax, 0x14
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
cmp ecx, dword [edx]
jl 0x476e10
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x58]
mov dword [edi + 0x34], 0
cmp dword [esp + 0x44], 0
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x6c], 0
mov dword [esp + 0xbc], 0
mov eax, dword [edx + 8]
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], eax
je 0x4771de
mov esi, dword [esp + 0x44]
cmp dword [esi], 0
mov esi, dword [esp + 0x34]
jne 0x4770c8
mov eax, dword [esp + 0x44]
mov cl, byte [eax + 0x14]
xor eax, eax
test cl, cl
cmovne eax, dword [esp + 0x44]
mov dword [esp + 0x44], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x70], eax
jmp 0x4771de
test eax, eax
je 0x4771de
xor edi, edi
mov eax, dword [eax + 0x14]
inc edi
test eax, eax
jne 0x4770d2
lea eax, [edi + edi*4]
mov dword [esp + 0x6c], 1
add eax, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0xc8], eax
push 0
push eax
test ecx, ecx
je 0x477100
call fcn.0041e1f0
jmp 0x477105
call fcn.0041dc00
add esp, 8
mov dword [esp + 0x48], eax
test eax, eax
je 0x478bc0
push dword [esp + 0xc8]
push 0
push eax
call fcn.0051b820
mov eax, dword [esp + 0x54]
add esp, 0xc
test eax, eax
je 0x478bc0
mov ecx, dword [esp + 0x44]
lea esi, [eax + edi*8]
xor edx, edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edx
mov edi, ecx
mov dword [ecx + 0x18], eax
cmp dword [edi], 0
je 0x47719e
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x477193
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x47716d
cmp eax, edx
je 0x47716d
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x477161
cmp byte [ecx + esi], 0
mov edx, dword [esp + 0x18]
jne 0x477197
mov byte [ecx + esi], 1
mov esi, dword [esp + 0x48]
mov dword [esi + edx*8], eax
mov eax, esi
mov esi, dword [esp + 0x20]
mov dword [eax + edx*8 + 4], ecx
inc edx
mov dword [esp + 0x18], edx
jmp 0x477197
mov edx, dword [esp + 0x18]
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x477148
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov esi, dword [esp + 0x34]
mov eax, dword [eax + 8]
test eax, eax
je 0x4771d6
mov edi, dword [esp + 0x48]
lea edx, [edi + edx*8]
mov edi, dword [esp + 0x20]
nop word [eax + eax]
cmp byte [ecx + edi], 0
jne 0x4771ce
mov dword [edx], eax
mov dword [edx + 4], ecx
add edx, 8
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x4771c0
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0xcc], eax
mov eax, ecx
and eax, 0x6000
or eax, 0
jne 0x477208
mov dword [esp + 0x4c], eax
mov dword [esp + 0x60], eax
jmp 0x4772fd
and ecx, 0x2000
or ecx, 0
je 0x477278
cmp dword [edx + 0x38], 0
jne 0x47722b
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x477234
cmp dword [eax + 0x30], 0
je 0x477234
cmp byte [edi + 0x97], 0
je 0x47723e
mov dword [esp + 0x4c], 0
jmp 0x47725d
push 0
push 0
push 0x80
mov ecx, edi
call fcn.0048c360
add esp, 0xc
mov dword [esp + 0x4c], eax
test eax, eax
jne 0x477298
mov edx, dword [esp + 0x14]
push 0
push 0
mov ecx, edi
call fcn.004742d0
add esp, 8
test eax, eax
jne 0x477298
mov dword [esp + 0x60], eax
jmp 0x4772fd
push 0
push 0
mov ecx, edi
mov dword [esp + 0x54], 0
call fcn.004742d0
mov edx, eax
add esp, 8
mov dword [esp + 0x60], edx
test edx, edx
je 0x4772fd
inc dword [edi + 0x2c]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x60], edx
cmp dword [esi + 0x70], ecx
jg 0x4772c0
push 0
push edx
push 0
mov edx, 0x47
mov ecx, esi
call fcn.0043fd00
add esp, 0xc
jmp 0x4772f3
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x34]
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
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x74], eax
cmp byte [ebp + 0x1c], 0
je 0x477867
cmp dword [esp + 0x30], 0
jne 0x477867
mov eax, dword [esp + 0x14]
dec dword [edi + 0x38]
mov ecx, dword [esp + 0x70]
mov edi, dword [edi + 0x38]
movzx edx, byte [eax + 0x2a]
mov dword [esp + 0x28], edi
cmp cl, 0xb
je 0x477332
movzx edx, cl
jmp 0x47733d
cmp edx, 0xb
cmove edx, dword [esp + 0x90]
cmp dword [esp + 0x44], 0
mov dword [esp + 0x18], edx
je 0x4773f3
mov ecx, dword [esp + 0x44]
cmp dword [ecx], 0
je 0x477362
cmp dword [ecx + 0x1c], 0
je 0x477362
mov ecx, dword [ecx + 0x10]
test ecx, ecx
jne 0x477350
mov dword [esp + 0x78], ecx
test ecx, ecx
je 0x47737d
xor edx, edx
cmp byte [ecx + 0x14], dl
setne dl
lea edx, [edx*2 + 4]
mov dword [esp + 0x18], edx
cmp ecx, dword [esp + 0x44]
je 0x4773ef
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x8c], ecx
cmp dword [esi + 0x70], ecx
jg 0x4773b4
push 0
push 0
push 0
mov edx, 8
mov ecx, esi
call fcn.0043fd00
mov edx, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x8c], eax
jmp 0x4773eb
mov edi, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 8
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
cmp edx, 5
jne 0x477476
cmp cl, dl
je 0x477476
cmp dword [eax + 8], 0
je 0x477476
cmp dword [esp + 0x8c], 0
jne 0x477476
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x477435
push 0
push 0
push 0
mov edx, 8
mov ecx, esi
call fcn.0043fd00
add esp, 0xc
mov edx, eax
jmp 0x47746c
mov edi, dword [esp + 0x28]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 8
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
lea eax, [edx + 1]
mov dword [esp + 0xc0], eax
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x4774e0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x47749b
push edx
push edi
push dword [ebp + 0x14]
mov edx, 0x35
mov ecx, esi
call fcn.0043fd00
add esp, 0xc
jmp 0x4774c9
mov edi, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4774e0
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x477503
push dword [ebp + 0x14]
mov edx, 0x1e
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0043fd00
mov edx, dword [ebp + 0xc]
add esp, 0xc
jmp 0x477530
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [ebp + 0x14]
mov dword [eax + ecx*4], 0x1e
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x18]
lea eax, [edi - 1]
cmp eax, 5
ja case.default.0x477540
jmp dword [eax*4 + 0x478be8]
cmp dword [esp + 0x60], 0
mov edi, dword [esp + 0xc]
je 0x47760f
mov eax, dword [edi + 0x74]
mov ecx, edi
push 0xffffffffffffffff
push 1
push 5
push 0
push 1
push dword [ebp + 0x14]
test eax, eax
push dword [ebp + 0x10]
cmovne ecx, eax
push edx
push dword [esp + 0x6c]
mov edx, dword [esp + 0x38]
mov byte [ecx + 0x14], 1
mov ecx, edi
call fcn.0046e040
mov ecx, dword [esi + 0x6c]
add esp, 0x24
cmp dword [esi + 0x70], ecx
jg 0x4775c1
push 0
push 1
push dword [esp + 0x68]
mov edx, 0x56
mov ecx, esi
call fcn.0043fd00
add esp, 0xc
mov dword [esp + 0xd0], 1
mov dword [esp + 0xd8], 1
jmp 0x477728
mov edx, dword [esp + 0x60]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [esp + 0xd0], 1
mov dword [esp + 0xd8], 1
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
jmp 0x477728
mov edx, dword [esp + 0x14]
cmp dword [edx + 8], 0
je 0x47763b
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
push 0xffffffffffffffff
cmovne ecx, eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov byte [ecx + 0x14], 1
mov ecx, edi
call fcn.0046e3c0
add esp, 0x10
mov dword [esp + 0xd8], 1
jmp 0x477728
mov edi, dword [esp + 0xc]
mov ecx, edi
push edx
mov edx, dword [esp + 0x48]
push 0
push dword [esp + 0x1c]
call fcn.00490ec0
add esp, 0xc
jmp 0x47766a
mov edi, dword [esp + 0xc]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x47768d
push 0
push dword [ebp + 0x24]
mov edx, 8
mov ecx, esi
push 0
call fcn.0043fd00
add esp, 0xc
jmp 0x477728
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 8
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 0x477728
mov edi, 2
mov edx, dword [esp + 0x14]
movzx eax, word [edx + 0x20]
test ax, ax
js 0x4776fa
movsx ecx, ax
mov eax, dword [edx + 4]
add ecx, ecx
push dword [eax + ecx*8]
mov eax, dword [esp + 0x10]
push dword [edx]
push str._s._s
push dword [eax]
call fcn.004207d0
add esp, 0x10
mov edx, 0x613
jmp 0x477714
push dword [edx]
mov eax, dword [esp + 0x10]
push str._s.rowid
push dword [eax]
call fcn.004207d0
add esp, 0xc
mov edx, 0xa13
push 2
push 0xfffffffffffffffa
push eax
push edi
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.0046bef0
add esp, 0x10
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x477746
push edx
mov edx, esi
call fcn.00440470
add esp, 4
jmp 0x47774f
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4777c5
cmp dword [esp + 0x78], eax
je 0x4777c5
mov edx, dword [esi + 0x6c]
mov dword [esp + 0xc4], edx
cmp dword [esi + 0x70], edx
jg 0x47778d
push 0
push 0
push 0
mov edx, 8
mov ecx, esi
call fcn.0043fd00
add esp, 0xc
mov dword [esp + 0xc4], eax
jmp 0x477867
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 8
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
jmp 0x477867
cmp dword [esp + 0xc0], 0
je 0x477867
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0xd4], ecx
cmp dword [esi + 0x70], ecx
jg 0x477800
push 0
push 0
push 0
mov edx, 8
mov ecx, esi
call fcn.0043fd00
add esp, 0xc
mov dword [esp + 0xd4], eax
jmp 0x477833
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 8
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esi + 0x6c]
dec ecx
cmp byte [eax + 0x57], 0
je 0x47784d
mov eax, 0x629610
jmp 0x477865
test ecx, ecx
mov eax, edx
cmovns eax, dword [esp + 0xc0]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
add eax, 0xfffffff4
mov dword [eax], edx
cmp dword [esp + 0x6c], 0
je 0x477879
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x47787f
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x68], edx
test eax, eax
je 0x478885
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x38]
nop
cmp dword [edx + ecx*4], 0
je 0x478839
mov edx, dword [esp + 0x44]
test edx, edx
je 0x477904
mov ecx, edx
cmp dword [ecx], 0
je 0x4778c5
cmp dword [ecx + 0x1c], eax
je 0x4778c5
mov ecx, dword [ecx + 0x10]
test ecx, ecx
jne 0x4778b4
cmp dword [esp + 0x8c], 0
mov dword [esp + 0x78], ecx
je 0x477904
cmp ecx, edx
jne 0x477904
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4778e9
mov eax, 0x629608
jmp 0x477901
mov ecx, dword [esp + 0x8c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [edi + 0x38]
dec eax
cmp byte [esp + 0x27], 0
mov dword [esp + 0x5c], eax
mov dword [edi + 0x38], eax
jne 0x47792e
mov eax, dword [ebp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x14]
inc eax
push eax
call fcn.00475020
add esp, 4
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
cmp dword [eax + 0x24], 0
je 0x477a06
mov eax, dword [esp + 0x38]
mov edx, dword [eax + ecx*4]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x477965
push 0
push edx
push 0
mov edx, 0x4b
mov ecx, esi
call fcn.0043fd00
add esp, 0xc
jmp 0x477998
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x34]
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
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x24]
mov eax, dword [edi]
mov dword [esp + 0x20], eax
test edx, edx
je 0x4779c7
push 0
push 0
mov ecx, eax
call fcn.004572f0
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x20]
jmp 0x4779c9
xor edi, edi
cmp byte [eax + 0x57], 0
jne 0x4779e6
push 0x10
push dword [esp + 0x60]
push edi
push dword [esp + 0x18]
call fcn.0045d6f0
mov eax, dword [esp + 0x30]
add esp, 0x10
test edi, edi
je 0x4779f3
mov edx, edi
mov ecx, eax
call fcn.004570e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x34], 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
movzx eax, word [eax + 0x34]
mov dword [esp + 0x80], 0
mov dword [esp + 0x20], 0
mov edx, dword [edx + ecx*4]
mov ecx, eax
mov dword [esp + 0xc8], edx
lea edi, [edx + 1]
mov dword [esp + 0x28], edi
cmp word [esp + 0x80], ax
jae 0x477bb5
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
movzx edx, word [eax + edx*2]
movsx ecx, dx
cmp ecx, 0xfffffffe
jne 0x477ae3
mov ecx, dword [esp + 0xc]
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x2c]
not eax
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 8]
mov eax, dword [ecx]
mov dword [esp + 0x40], eax
test edx, edx
je 0x477aa8
push 0
push 0
mov ecx, eax
call fcn.004572f0
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x48]
add esp, 8
jmp 0x477aaa
xor edi, edi
cmp byte [eax + 0x57], 0
jne 0x477ac2
push dword [esp + 0x18]
mov edx, edi
call fcn.0045ce00
mov eax, dword [esp + 0x44]
add esp, 4
test edi, edi
je 0x477acf
mov edx, edi
mov ecx, eax
call fcn.004570e0
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x18]
mov dword [eax + 0x34], 0
jmp 0x477b87
cmp ecx, 0xffffffff
je 0x477b3a
mov eax, dword [esp + 0x14]
movsx eax, word [eax + 0x20]
cmp ecx, eax
je 0x477b3a
mov ecx, dword [esp + 0x14]
call fcn.00466300
mov edx, dword [ebp + 0x14]
mov ecx, dword [esi + 0x6c]
inc edx
cwde
add edx, eax
cmp dword [esi + 0x70], ecx
jg 0x477b21
push 0
push edi
push edx
mov edx, 0x51
mov ecx, esi
call fcn.0043fd00
add esp, 0xc
jmp 0x477b87
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x51
jmp 0x477b6f
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x477b59
push 0
push edi
push dword [ebp + 0x14]
mov edx, 0x52
mov ecx, esi
call fcn.0043fd00
add esp, 0xc
jmp 0x477b87
mov edx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x52
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 4], edx
mov eax, dword [esp + 0x10]
inc edi
mov edx, dword [esp + 0x20]
add dword [esp + 0x2c], 0x14
inc edx
mov dword [esp + 0x20], edx
movzx ecx, word [eax + 0x34]
mov dword [esp + 0x18], edi
cmp edx, ecx
jl 0x477a52
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
mov edx, dword [edx + eax*4]
movzx edi, cx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x477bd7
push edx
push edi
push dword [esp + 0x30]
mov edx, 0x61
mov ecx, esi
call fcn.0043fd00
add esp, 0xc
jmp 0x477c06
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x18], 0
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
je 0x477c55
cmp edi, ecx
jne 0x477c55
cmp byte [ebp + 0x1c], 0
jne 0x477c55
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x5c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x477c43
push edx
mov edx, esi
call fcn.00440470
mov edi, dword [esp + 0x10]
add esp, 4
jmp 0x478831
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov edi, dword [esp + 0xc]
mov dword [ecx + edx*4], eax
jmp 0x478831
movzx eax, byte [ecx + 0x36]
test eax, eax
jne 0x477c82
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x5c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x477c43
push edx
mov edx, esi
call fcn.00440470
mov edi, dword [esp + 0x10]
add esp, 4
jmp 0x478831
mov edx, dword [esp + 0x70]
cmp dl, 0xb
je 0x477c90
movzx eax, dl
jmp 0x477c9b
cmp eax, 0xb
mov edx, 2
cmove eax, edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x20], eax
test edx, edx
je 0x477cba
xor eax, eax
cmp byte [edx + 0x14], al
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x1c], 0
jne 0x477d9b
cmp dword [ecx + 0x14], 0
jne 0x477d9b
cmp edi, ecx
jne 0x477d9b
cmp eax, 5
jne 0x477d9b
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
mov eax, dword [eax + 0x20]
and eax, 0x2000
mov dword [esp + 0x80], eax
je 0x477d39
cmp dword [edx + 0x38], 0
jne 0x477d15
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x477d39
cmp dword [eax + 0x30], 0
je 0x477d39
cmp byte [edi + 0x97], 0
jne 0x477d39
push 0
push 0
push 0x80
mov ecx, edi
call fcn.0048c360
add esp, 0xc
test eax, eax
jne 0x477d9b
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x20]
and eax, 0x4000
mov dword [esp + 0x80], eax
je 0x477d6c
cmp dword [edx + 0x30], 0
jne 0x477d9b
mov ecx, dword [edx + 0x3c]
mov edx, dword [edx]
add ecx, 0x38
push 0
call fcn.00422e20
add esp, 4
cmp dword [eax + 8], 0
jne 0x477d9b
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x5c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x477d8d
push edx
mov edx, esi
call fcn.00440470
add esp, 4
jmp 0x478831
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x478831
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x18], edx
movzx edi, word [eax + 0x32]
mov dword [esp + 0x80], edi
cmp dword [esi + 0x70], edx
jg 0x477ddd
push dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov edx, 0x1a
push dword [esp + 0x60]
add eax, dword [ebp + 0x10]
mov ecx, esi
push eax
call fcn.0043fd00
mov edx, eax
add esp, 0xc
mov dword [esp + 0x18], edx
jmp 0x477e22
mov edi, dword [esp + 0x80]
lea eax, [edx + 1]
lea ecx, [edx + edx*4]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov edx, dword [esp + 0x1c]
add edx, dword [ebp + 0x10]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x1a
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x477e39
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edi
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x30]
jne 0x477e4d
mov edi, dword [esp + 0x28]
mov dword [esp + 0x64], edi
jmp 0x477eb4
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0xc]
cmp eax, 1
jne 0x477e7d
mov al, byte [edx + 0x13]
test al, al
jne 0x477e6c
inc dword [edx + 0x2c]
mov edi, dword [edx + 0x2c]
jmp 0x477eac
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov edi, dword [edx + eax*4 + 0x98]
jmp 0x477eac
mov ecx, dword [edx + 0x1c]
mov edi, dword [edx + 0x20]
mov dword [esp + 0x64], edi
cmp eax, ecx
jg 0x477e9c
add eax, edi
sub ecx, dword [esp + 0x88]
mov dword [edx + 0x20], eax
mov dword [edx + 0x1c], ecx
jmp 0x477eb0
mov eax, dword [edx + 0x2c]
lea edi, [eax + 1]
add eax, dword [esp + 0x88]
mov dword [edx + 0x2c], eax
mov dword [esp + 0x64], edi
mov edx, dword [esp + 0x10]
cmp dword [ebp + 0x18], 0
jne 0x477ec5
cmp dword [esp + 0x20], 5
jne 0x478257
mov eax, dword [esp + 0x14]
test byte [eax + 0x1c], 0x80
jne 0x477fac
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x477ef7
mov eax, dword [esp + 0x1c]
mov edx, 0x8e
add eax, dword [ebp + 0x10]
mov ecx, esi
push 0
push edi
push eax
call fcn.0043fd00
add esp, 0xc
jmp 0x477f31
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
add edx, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edi, dword [esp + 0x64]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x8e
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 edx, dword [ebp + 0x18]
test edx, edx
je 0x47825a
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x477f5e
push edx
push dword [esp + 0x60]
mov edx, 0x35
mov ecx, esi
push edi
call fcn.0043fd00
mov edx, dword [ebp + 0x18]
add esp, 0xc
jmp 0x477f8c
mov edx, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x47825a
lea ecx, [eax + eax*4]
mov edi, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], di
jmp 0x47825a
mov edi, dword [esp + 0x30]
cmp edx, edi
je 0x47809d
mov eax, dword [esp + 0x30]
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x40], edi
cmp cx, word [eax + 0x32]
jae 0x478099
mov eax, dword [esp + 0x64]
mov dword [esp + 0x2c], eax
movzx edx, word [edx + 0x34]
xor ecx, ecx
test edx, edx
je 0x477fff
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
movzx edi, word [eax + edi*2]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
cmp di, word [eax]
je 0x478033
inc ecx
add eax, 2
cmp ecx, edx
jl 0x477ff2
or eax, 0xffffffff
mov ecx, dword [esi + 0x6c]
movsx edx, ax
mov dword [esp + 0x80], edx
cmp dword [esi + 0x70], ecx
jg 0x478038
mov edi, dword [esp + 0x2c]
mov ecx, esi
mov eax, dword [esp + 0x1c]
add eax, dword [ebp + 0x10]
push edi
push edx
push eax
mov edx, 0x5e
call fcn.0043fd00
add esp, 0xc
jmp 0x478075
movzx eax, cx
jmp 0x478002
mov edi, dword [esp + 0x1c]
lea eax, [ecx + 1]
add edi, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x80]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x30]
inc edi
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x2c], edi
mov edi, ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x40], ecx
cmp ecx, eax
jl 0x477fd6
mov edi, dword [esp + 0x30]
cmp dword [ebp + 0x18], 0
je 0x478257
movzx ecx, word [edi + 0x32]
mov eax, dword [esi + 0x6c]
add eax, ecx
mov dword [esp + 0x40], 0x34
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x64]
and al, 3
cmp al, 2
cmove edx, dword [esp + 0x28]
mov dword [esp + 0x90], edx
xor edx, edx
mov dword [esp + 0x50], edx
test ecx, ecx
je 0x478257
mov eax, dword [edi + 0x20]
mov edx, dword [eax + edx*4]
mov eax, dword [esp + 0xc]
mov dword [esp + 0xa0], edx
mov ecx, dword [eax]
mov al, byte [ecx + 0x54]
mov byte [esp + 0x57], al
mov al, byte [ecx + 0xb1]
mov byte [esp + 0x7f], al
movzx eax, al
push eax
push edx
mov dl, byte [esp + 0x5f]
call fcn.0046c8f0
add esp, 8
mov edi, eax
cmp byte [esp + 0x7f], 0
mov dword [esp + 0x80], edi
jne 0x478151
test edi, edi
je 0x478130
cmp dword [edi + 0xc], 0
jne 0x478151
push dword [esp + 0xa0]
mov dl, byte [esp + 0x5b]
mov ecx, dword [esp + 0x10]
push edi
call fcn.0046ca50
add esp, 8
mov dword [esp + 0x80], eax
mov edi, eax
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
mov eax, dword [esi + 4]
movzx edx, word [eax + ecx*2]
movzx ecx, word [esi + 0x32]
mov esi, 0x35
mov eax, dword [esp + 0x40]
dec ecx
cmp dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x14]
cmove eax, esi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x5c]
cmovne eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
call fcn.00466300
mov ecx, dword [ebp + 0x18]
mov esi, dword [esp + 0x34]
inc ecx
cwde
add eax, ecx
mov ecx, dword [esp + 0x50]
add ecx, dword [esp + 0x90]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0xa0], eax
cmp dword [esi + 0x70], edx
jg 0x4781cc
mov edx, dword [esp + 0x40]
push ecx
push dword [esp + 0x30]
mov ecx, esi
push eax
call fcn.0043fd00
add esp, 0xc
mov edx, eax
jmp 0x47821a
mov edi, dword [esp + 0x80]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x40]
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0xa0]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
add ecx, dword [esp + 0x90]
mov dword [eax + 0xc], ecx
push 0xfffffffffffffffe
push edi
mov ecx, esi
call fcn.00440aa0
mov eax, dword [esi + 0x6c]
add esp, 8
test eax, eax
jle 0x47823e
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x50]
inc edx
mov dword [esp + 0x50], edx
movzx eax, word [edi + 0x32]
cmp edx, eax
jl 0x4780e1
mov edx, dword [ebp + 0x18]
mov edi, dword [esp + 0x20]
lea eax, [edi - 1]
cmp eax, 5
ja case.0x47826a.5
jmp dword [eax*4 + 0x478c00]
push dword [esp + 0x10]
mov edx, edi
mov edi, dword [esp + 0x10]
mov ecx, edi
call fcn.0046bf70
add esp, 4
jmp 0x47870e
mov eax, dword [esp + 0x1c]
add eax, dword [ebp + 0x10]
mov edi, dword [esp + 0xc]
mov ecx, edi
mov edx, dword [esp + 0x44]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
call fcn.00490ec0
add esp, 0xc
jmp 0x4782b2
mov edi, dword [esp + 0xc]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4782d5
push 0
push dword [ebp + 0x24]
mov edx, 8
mov ecx, esi
push 0
call fcn.0043fd00
add esp, 0xc
jmp 0x47870e
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 8
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 0x47870e
mov edi, dword [esi + 0x6c]
sub edi, dword [esp + 0x18]
cmp dword [esp + 0x60], 0
mov dword [esp + 0x20], edi
je 0x478335
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
inc dword [esp + 0xd0]
mov byte [ecx + 0x14], 1
cmp dword [esp + 0x4c], 0
je 0x478392
test edx, edx
je 0x478392
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x478360
push 0
push 0
push dword [ebp + 0xc]
mov edx, 0xa7
mov ecx, esi
call fcn.0043fd00
add esp, 0xc
jmp 0x478392
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xa7
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 [ebp + 0x10]
mov eax, dword [esp + 0x1c]
add eax, edx
mov ecx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x14], eax
sete al
movzx eax, al
push eax
push 5
push 0
push dword [esp + 0x98]
push dword [esp + 0x78]
push edx
push dword [ebp + 0xc]
mov edx, dword [esp + 0x34]
push dword [esp + 0x6c]
call fcn.0046e040
add esp, 0x24
cmp dword [esp + 0x4c], 0
je 0x478431
cmp dword [ebp + 0x18], 0
je 0x478431
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4783ff
push 0
push 0
push dword [ebp + 0xc]
mov edx, 0xa8
mov ecx, esi
call fcn.0043fd00
add esp, 0xc
jmp 0x478431
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xa8
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 + 0x60]
test edx, edx
je 0x4786ff
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x47845b
push 0
push 1
push edx
mov edx, 0x56
mov ecx, esi
call fcn.0043fd00
add esp, 0xc
jmp 0x47848e
mov edi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], 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
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x80], edx
cmp dword [esi + 0x70], edx
jg 0x4784bb
push 0
push 0
push 0
mov edx, 8
mov ecx, esi
call fcn.0043fd00
add esp, 0xc
mov dword [esp + 0x80], eax
jmp 0x4784ee
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 8
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x68]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47850c
push edx
mov edx, esi
call fcn.00440470
add esp, 4
jmp 0x478515
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0xc]
dec dword [eax + 0x38]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x68], edx
cmp dword [eax + 0x24], 0
je 0x47858b
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x478555
push 0
push edx
mov edx, dword [esp + 0xd0]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.0043fd00
mov edx, dword [esp + 0x74]
add esp, 0xc
jmp 0x47858b
mov edx, dword [esp + 0xc8]
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 + 0x68]
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
test edi, edi
jle 0x4786b5
mov eax, dword [esp + 0x18]
mov ecx, eax
test eax, eax
jns 0x4785a1
mov ecx, dword [esi + 0x6c]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4785b0
mov eax, 0x629608
jmp 0x4785b9
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
movups xmm0, xmmword [eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 0xa0], eax
movd eax, xmm0
movaps xmmword [esp + 0xe0], xmm0
mov dword [esp + 0x90], eax
cmp al, 0x8e
je 0x47869c
mov edi, dword [esp + 0xe8]
movzx eax, al
mov dword [esp + 0xc8], eax
test byte [eax + 0x568648], 1
cmovne edi, edx
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x478623
push dword [esp + 0xec]
mov edx, eax
mov ecx, esi
push edi
push dword [esp + 0xec]
call fcn.0043fd00
add esp, 0xc
mov edx, eax
jmp 0x478666
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0xc8]
mov byte [ecx], al
xor eax, eax
mov word [ecx + 2], ax
mov eax, dword [esp + 0xe4]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xec]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x90]
mov ecx, esi
movsx eax, ah
push eax
push dword [esp + 0xa4]
call fcn.00440aa0
mov eax, dword [esi + 0x6c]
add esp, 8
test eax, eax
jle 0x47869c
mov ecx, dword [esi + 0x68]
lea edx, [eax + eax*4]
mov ax, word [esp + 0xe2]
mov word [ecx + edx*4 - 0x12], ax
mov eax, dword [esp + 0x20]
inc dword [esp + 0x18]
dec eax
mov edx, dword [esp + 0x68]
mov dword [esp + 0x20], eax
test eax, eax
jg 0x478593
push dword [esp + 0x10]
mov edi, dword [esp + 0x10]
mov edx, 2
mov ecx, edi
call fcn.0046bf70
mov eax, dword [esi]
add esp, 4
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4786e1
mov eax, 0x629608
mov dword [eax + 8], edx
jmp 0x478703
mov ecx, dword [esp + 0x80]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x478703
mov edi, dword [esp + 0xc]
mov dword [esp + 0xd8], 1
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x5c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47872c
push edx
mov edx, esi
call fcn.00440470
add esp, 4
jmp 0x478735
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x64]
cmp ecx, dword [esp + 0x28]
je 0x478770
mov eax, dword [esp + 0x88]
cmp eax, 1
jne 0x478765
test ecx, ecx
je 0x478770
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x478770
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
jmp 0x478770
cmp eax, dword [edi + 0x1c]
jle 0x478770
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
mov eax, dword [esp + 0x78]
test eax, eax
je 0x478831
cmp dword [esp + 0xc4], 0
je 0x478831
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4787a0
cmp dword [eax], 0
je 0x4787a0
cmp dword [eax + 0x1c], 0
jne 0x478831
mov edx, dword [esp + 0x8c]
mov ecx, dword [esi + 0x6c]
inc edx
cmp dword [esi + 0x70], ecx
jg 0x4787c6
push 0
push edx
push 0
mov edx, 8
mov ecx, esi
call fcn.0043fd00
add esp, 0xc
jmp 0x4787f9
mov edi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 8
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x47880b
mov eax, 0x629608
jmp 0x478823
mov ecx, dword [esp + 0xc4]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov dword [esp + 0xc4], 0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x6c], 0
je 0x478869
mov eax, dword [esp + 0xbc]
inc eax
mov ecx, eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0x1c], ecx
cmp ecx, dword [esp + 0x3c]
jge 0x478885
mov eax, dword [esp + 0x48]
lea eax, [eax + ecx*8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x478875
mov eax, dword [esp + 0x3c]
inc ecx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
test eax, eax
jne 0x4778a0
mov edx, dword [esp + 0xc0]
test edx, edx
je 0x478912
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4788b2
push 0
push edx
push 0
mov edx, 8
mov ecx, esi
call fcn.0043fd00
add esp, 0xc
jmp 0x4788e5
mov edi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 8
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4788f7
mov eax, 0x629608
jmp 0x47890f
mov ecx, dword [esp + 0xd4]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp dword [esp + 0xd0], 0
je 0x478b1f
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x478944
mov edx, dword [esp + 0x68]
mov ecx, esi
push 0
push edx
push dword [esp + 0x68]
mov edx, 0x10
call fcn.0043fd00
add esp, 0xc
jmp 0x478977
mov edx, dword [esp + 0x60]
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 + 0x68]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x30], 0
jne 0x478aa4
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x4789f7
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4789ae
push edx
push dword [esp + 0x78]
mov edx, 0x35
mov ecx, esi
push dword [ebp + 0x14]
call fcn.0043fd00
add esp, 0xc
jmp 0x4789e0
mov edi, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x74]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4789f7
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x478a1a
push dword [ebp + 0x14]
mov edx, 0x1e
mov ecx, esi
push dword [esp + 0x78]
push dword [ebp + 0xc]
call fcn.0043fd00
add esp, 0xc
jmp 0x478a4b
mov edx, dword [ebp + 0xc]
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 + 0x74]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4], 0x1e
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x14]
movzx eax, word [edx + 0x20]
test ax, ax
js 0x478a7b
movsx ecx, ax
mov eax, dword [edx + 4]
add ecx, ecx
push dword [eax + ecx*8]
push dword [edx]
push str._s._s
push dword [edi]
call fcn.004207d0
add esp, 0x10
mov edx, 0x613
jmp 0x478a91
push dword [edx]
push str._s.rowid
push dword [edi]
call fcn.004207d0
add esp, 0xc
mov edx, 0xa13
push 2
push 0xfffffffffffffffa
push eax
push 2
mov ecx, edi
call fcn.0046bef0
add esp, 0x10
jmp 0x478af8
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x478ac5
push 0
push dword [esp + 0x78]
mov edx, 8
mov ecx, esi
push 0
call fcn.0043fd00
add esp, 0xc
jmp 0x478af8
mov edx, dword [esp + 0x74]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 8
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x68]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x478b16
push edx
mov edx, esi
call fcn.00440470
add esp, 4
jmp 0x478b1f
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x14]
test byte [eax + 0x1c], 0x80
jne 0x478bb0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
mov edi, dword [edx + ecx*4]
movsx edx, word [eax + 0x24]
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x6c]
inc eax
mov dword [esp + 0xbc], edi
cmp dword [esi + 0x70], ecx
jg 0x478b63
push edi
push edx
push eax
mov edx, 0x61
mov ecx, esi
call fcn.0043fd00
add esp, 0xc
jmp 0x478b99
mov edi, dword [esp + 0xbc]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [ebp + 0x14]
inc esi
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x27], 0
jne 0x478bb0
mov edx, dword [esp + 0x14]
mov ecx, esi
push 0
call fcn.00475020
add esp, 4
mov ecx, dword [esp + 0xdc]
mov eax, dword [esp + 0xd8]
mov dword [ecx], eax
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
call fcn.00518690
mov esp, ebp
pop ebp
ret