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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 0x78], 0
mov dword [esp + 0x6c], 0
mov esi, dword [edi + 8]
mov eax, dword [edi]
mov byte [esp + 0x33], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x50], esi
test esi, esi
jne 0x1007a9d2
cmp dword [edi + 0x74], esi
jne 0x1007a9c3
test byte [eax + 0x4c], 8
jne 0x1007a9c3
mov byte [edi + 0x17], 1
call fcn.10049530
mov edx, dword [esp + 0xc]
mov esi, eax
mov dword [esp + 0x50], esi
movsx eax, word [edx + 0x2a]
mov ecx, dword [edx + 0x24]
mov dword [esp + 0x10], eax
test cl, cl
js 0x1007a9f3
mov dword [esp + 0x24], 0
mov dword [esp + 0x64], 1
jmp 0x1007aa24
mov eax, dword [edx + 8]
mov dword [esp + 0x24], eax
test eax, eax
je 0x1007aa1c
mov esi, eax
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
je 0x1007aa10
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x1007aa00
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x24]
movzx eax, word [eax + 0x32]
mov dword [esp + 0x64], eax
test ecx, 0x800
je 0x1007ad66
xor eax, eax
xor edi, edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], edi
mov ecx, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x20], edx
test ecx, ecx
jle 0x1007ad13
mov eax, dword [esp + 0x10]
xor edi, edi
mov dword [esp + 0x54], edi
nop dword [eax]
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 4]
add ecx, edi
mov dword [esp + 0x18], ecx
movzx edi, byte [ecx + 0xc]
mov dword [esp + 0x1c], edi
test edi, edi
je 0x1007ace9
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x28]
cmp edx, eax
je 0x1007ace5
movzx eax, word [ecx + 0x10]
and eax, 0x60
je 0x1007aaa6
cmp dword [esp + 0x34], 0
jne 0x1007aaa6
inc dword [esp + 0x28]
jmp 0x1007ace5
cmp dword [ebp + 0x2c], 0
mov ecx, dword [esp + 0x18]
je 0x1007aac5
mov edi, dword [ebp + 0x2c]
cmp dword [edi + edx*4], 0
mov edi, dword [esp + 0x1c]
jge 0x1007aac5
test eax, eax
je 0x1007ace5
cmp byte [ebp + 0x20], 0xb
mov edx, dword [esp + 0x20]
jne 0x1007ab0f
cmp edi, 0xb
jne 0x1007ab0f
mov edi, 2
cmp dword [esp + 0x34], 0
je 0x1007aae8
test eax, eax
je 0x1007ace5
mov ecx, dword [esp + 0xc]
call fcn.1006b600
mov edx, dword [ebp + 0x14]
cwde
inc edx
add edx, eax
lea eax, [edi - 1]
mov dword [esp + 0x1c], edx
cmp eax, 4
ja case.0x1007ab08.4
jmp dword [eax*4 + 0x1007c7e4]
cmp byte [ebp + 0x20], 0xb
movzx edi, byte [ebp + 0x20]
cmove edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
cmp edi, 5
jne 0x1007aad9
cmp dword [esp + 0x34], 0
jne 0x1007ab32
cmp dword [ecx + 4], 0
jne 0x1007aae8
mov edi, 2
jmp 0x1007aae8
push edx
mov edx, 0x33
mov ecx, esi
call fcn.10049860
mov edi, dword [esp + 0x20]
add esp, 4
mov ecx, dword [esp + 8]
inc dword [esp + 0x38]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
push edi
mov eax, dword [eax + 4]
mov edx, eax
mov dword [esp + 0x60], eax
call fcn.10062d50
add esp, 4
cmp eax, edi
je 0x1007ab9c
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x1007ab9c
mov edx, dword [esp + 0x5c]
push edi
push eax
mov edx, dword [edx + 4]
and edx, 0x200000
neg edx
sbb edx, edx
add edx, 0x4e
call fcn.100498c0
add esp, 8
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x1007abaa
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x1007abbf
mov eax, 0x1041cd0c
mov dword [eax + 8], edx
jmp 0x1007ace5
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x1007ace5
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov eax, dword [esp + 0x18]
push dword [eax]
mov eax, dword [esp + 0x10]
push dword [eax]
push str._s._s
push dword [esp + 0x74]
call fcn.1002ca00
mov ecx, dword [esi + 0x6c]
add esp, 0x10
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x70], ecx
jg 0x1007ac26
push edx
push edi
push 0x513
mov edx, 0x43
mov ecx, esi
call fcn.10049750
add esp, 0xc
jmp 0x1007ac51
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x43
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 + 0x18]
cmp byte [ecx + 0x51], 0
je 0x1007ac6d
push edx
mov edx, 0xfffffff9
call fcn.1004a2f0
add esp, 4
jmp 0x1007ac7f
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf9
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x1007ace5
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x1007ace5
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1007acb7
push 0
push dword [ebp + 0x24]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.10049750
add esp, 0xc
jmp 0x1007ace5
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 + 0x20]
mov edi, dword [esp + 0x54]
inc ecx
add edi, 0x14
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], edi
mov edx, ecx
cmp ecx, eax
jl 0x1007aa60
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
test edi, edi
jne 0x1007ad1f
test edx, edx
je 0x1007ad5e
test eax, eax
jne 0x1007ad5e
mov eax, 1
mov dword [esp + 0x34], eax
test edx, edx
jle 0x1007aa44
mov edx, dword [esp + 0xc]
test byte [edx + 0x24], 0x60
je 0x1007aa44
mov ecx, dword [esp + 8]
push edx
mov edx, dword [ebp + 0x14]
lea edx, [edx + 1]
call fcn.100792e0
mov eax, dword [esp + 0x38]
add esp, 4
jmp 0x1007aa40
mov edi, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x1007af9a
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x20]
and eax, 0x200
or eax, 0
jne 0x1007af9a
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
mov al, byte [ebp + 0x20]
movzx edi, al
cmp al, 0xb
jne 0x1007ada1
mov edi, 2
xor edx, edx
mov dword [esp + 0x20], edx
cmp dword [ecx], edx
jle 0x1007af8f
lea eax, [ecx + 8]
mov dword [esp + 0x2c], 0xfffd
mov dword [esp + 0x1c], eax
nop
mov ecx, dword [eax - 4]
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x5c], ecx
test eax, eax
je 0x1007ae35
mov dword [esp + 0xb8], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0xa0], xmm0
movq qword [esp + 0xb0], xmm0
mov dword [esp + 0xa4], 0x1007a900
mov dword [esp + 0xb8], eax
test ecx, ecx
je 0x1007ae19
mov edx, ecx
lea ecx, [esp + 0xa0]
call fcn.1005b0c0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
cmp byte [ebp + 0x1c], 0
mov ax, word [esp + 0xb4]
jne 0x1007ae2c
and ax, word [esp + 0x2c]
test ax, ax
je 0x1007af73
mov edx, dword [esp + 8]
push 0x10
dec dword [edx + 0x38]
mov eax, dword [edx + 0x38]
push eax
push ecx
push edx
mov dword [esp + 0x6c], eax
call fcn.10064250
add esp, 0x10
cmp edi, 4
jne 0x1007aead
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1007ae76
push 0
push dword [ebp + 0x24]
lea edx, [edi + 7]
mov ecx, esi
push 0
call fcn.10049750
add esp, 0xc
jmp 0x1007af48
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], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1007af48
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov dword [esp + 0x28], ecx
test ecx, ecx
jne 0x1007aec5
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 8]
cmp edi, 5
mov eax, 2
cmove edi, eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1007aefd
cmp dword [ecx + 0x74], eax
jne 0x1007aef0
mov eax, dword [ecx]
test byte [eax + 0x4c], 8
jne 0x1007aef0
mov byte [ecx + 0x17], 1
call fcn.10049530
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], eax
cmp edi, 2
jne 0x1007af0e
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esp + 0x18]
mov edx, 0x44
push 0
push dword [esp + 0x2c]
push 0
push edi
push 0x113
call fcn.10049b50
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov ecx, dword [eax + 0x6c]
test ecx, ecx
jle 0x1007af48
mov eax, dword [eax + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, 3
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x5c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1007af66
push edx
mov edx, esi
call fcn.10049e50
add esp, 4
jmp 0x1007af6f
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
inc edx
mov eax, dword [esp + 0x1c]
add eax, 0x14
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
cmp edx, dword [ecx]
jl 0x1007adc0
mov edi, dword [esp + 8]
mov dword [edi + 0x34], 0
mov edx, dword [ebp + 0x30]
test edx, edx
je 0x1007b018
cmp dword [edx], 0
jne 0x1007afb3
mov byte [ebp + 0x20], 4
mov dword [ebp + 0x30], 0
jmp 0x1007b018
mov eax, dword [edx + 0x10]
mov dword [esp + 0x6c], eax
test eax, eax
je 0x1007b018
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x70], edx
cmp dword [esi + 0x70], edx
jg 0x1007afe5
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.10049750
add esp, 0xc
mov dword [esp + 0x70], eax
jmp 0x1007b018
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x84], eax
mov eax, ecx
and eax, 0x6000
or eax, 0
jne 0x1007b042
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], eax
jmp 0x1007b140
and ecx, 0x2000
or ecx, 0
je 0x1007b0b7
mov ecx, dword [esp + 8]
xor edx, edx
xor edi, edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x1007b06e
mov edx, dword [esp + 0xc]
call fcn.1008d000
mov edx, eax
mov ecx, edx
test edx, edx
je 0x1007b087
cmp byte [ecx + 8], 0x7e
jne 0x1007b080
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x1007b074
xor eax, eax
test edi, edi
mov edi, dword [esp + 8]
cmovne eax, edx
mov dword [esp + 0x38], eax
test eax, eax
jne 0x1007b0db
mov edx, dword [esp + 0xc]
mov ecx, edi
push eax
push eax
call fcn.10078500
add esp, 8
test eax, eax
jne 0x1007b0db
mov dword [esp + 0x48], eax
jmp 0x1007b140
mov edx, dword [esp + 0xc]
mov ecx, edi
push 0
push 0
mov dword [esp + 0x40], 0
call fcn.10078500
mov edx, eax
add esp, 8
mov dword [esp + 0x48], edx
test edx, edx
je 0x1007b140
inc dword [edi + 0x2c]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x48], edx
cmp dword [esi + 0x70], ecx
jg 0x1007b103
push 0
push edx
push 0
mov edx, 0x45
mov ecx, esi
call fcn.10049750
add esp, 0xc
jmp 0x1007b136
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x45
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 + 0x58], eax
cmp byte [ebp + 0x1c], 0
mov dword [esp + 0xcc], 0x35
je 0x1007b4eb
cmp dword [esp + 0x24], 0
jne 0x1007b4eb
mov ecx, dword [esp + 0xc]
dec dword [edi + 0x38]
cmp byte [ebp + 0x20], 0xb
mov edx, dword [edi + 0x38]
movzx eax, byte [ecx + 0x32]
mov dword [esp + 0x1c], edx
je 0x1007b17e
movzx eax, byte [ebp + 0x20]
jmp 0x1007b189
cmp eax, 0xb
mov edi, 2
cmove eax, edi
mov edi, dword [ebp + 0x30]
mov dword [esp + 0x18], eax
test edi, edi
je 0x1007b1af
cmp dword [edi + 0x10], 0
jne 0x1007b1af
xor eax, eax
cmp dword [edi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x18], eax
jmp 0x1007b21c
cmp eax, 5
jne 0x1007b21c
cmp byte [ebp + 0x20], al
je 0x1007b21c
cmp dword [ecx + 8], 0
je 0x1007b21c
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x1007b1de
push 0
push 0
push 0
lea edx, [eax + 6]
mov ecx, esi
call fcn.10049750
add esp, 0xc
mov edx, eax
jmp 0x1007b211
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [edx + 1]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x1007b289
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1007b245
push edi
push edx
push dword [ebp + 0x14]
mov edx, 0x35
mov ecx, esi
call fcn.10049750
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x1007b272
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 [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x1007b289
lea ecx, [eax + eax*4]
mov edi, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], di
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1007b2ac
push dword [ebp + 0x14]
mov ecx, esi
push edx
push dword [ebp + 0xc]
mov edx, 0x20
call fcn.10049750
mov edx, dword [ebp + 0x14]
add esp, 0xc
jmp 0x1007b2d9
mov edi, 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], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x18]
lea eax, [edi - 1]
cmp eax, 5
ja case.default.0x1007b2e9
jmp dword [eax*4 + 0x1007c7f8]
cmp dword [esp + 0x48], 0
mov edi, dword [esp + 8]
je 0x1007b356
mov eax, dword [edi + 0x74]
mov ecx, edi
push 0xffffffffffffffff
push 1
push 5
push 0
push 1
push edx
push dword [ebp + 0x10]
mov edx, dword [esp + 0x28]
test eax, eax
push dword [ebp + 0xc]
cmovne ecx, eax
push dword [esp + 0x58]
mov byte [ecx + 0x14], 1
mov ecx, edi
call fcn.10072690
add esp, 0x24
mov edx, 0x52
mov ecx, esi
push 1
push dword [esp + 0x4c]
call fcn.100498c0
add esp, 8
mov dword [esp + 0x7c], 1
mov dword [esp + 0x78], 1
jmp 0x1007b42b
mov edx, dword [esp + 0xc]
cmp dword [edx + 8], 0
je 0x1007b382
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.10072a90
add esp, 0x10
mov dword [esp + 0x78], 1
jmp 0x1007b42b
push dword [ebp + 0xc]
mov edi, dword [esp + 0xc]
mov ecx, edi
mov edx, dword [ebp + 0x30]
push 0
push dword [esp + 0x14]
call fcn.10091590
mov edx, dword [ebp + 0x24]
add esp, 0xc
mov ecx, esi
call fcn.10049930
jmp 0x1007b42b
mov edx, dword [ebp + 0x24]
mov ecx, esi
mov edi, dword [esp + 8]
call fcn.10049930
jmp 0x1007b42b
mov edi, 2
mov edx, dword [esp + 0xc]
movzx eax, word [edx + 0x28]
test ax, ax
js 0x1007b3fd
cwde
lea ecx, [eax + eax*4]
mov eax, dword [edx + 4]
push dword [eax + ecx*4]
mov eax, dword [esp + 0xc]
push dword [edx]
push str._s._s
push dword [eax]
call fcn.1002ca00
add esp, 0x10
mov edx, 0x613
jmp 0x1007b417
push dword [edx]
mov eax, dword [esp + 0xc]
push str._s.rowid
push dword [eax]
call fcn.1002ca00
add esp, 0xc
mov edx, 0xa13
push 2
push 0xfffffffffffffff9
push eax
push edi
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.10070880
add esp, 0x10
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x1c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1007b449
push edx
mov edx, esi
call fcn.10049e50
add esp, 4
jmp 0x1007b452
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
cmp dword [esp + 0x74], 0
je 0x1007b4eb
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x8c], ecx
cmp dword [esi + 0x70], ecx
jg 0x1007b48a
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.10049750
add esp, 0xc
mov dword [esp + 0x8c], eax
jmp 0x1007b4bd
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [esp + 0x74]
mov edx, dword [esi + 0x6c]
dec ecx
cmp byte [eax + 0x51], 0
je 0x1007b4d4
mov eax, 0x1041cd14
jmp 0x1007b4e9
test ecx, ecx
mov eax, edx
cmovns eax, dword [esp + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
add eax, 0xfffffff4
mov dword [eax], edx
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x10], 0
mov dword [esp + 0x4c], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1007c4b7
mov dword [esp + 0x4c], ecx
xor ecx, ecx
mov edi, dword [ebp + 8]
cmp dword [edi + ecx*4], 0
mov edi, dword [esp + 8]
je 0x1007c4a3
cmp dword [esp + 0x6c], eax
jne 0x1007b5d8
mov eax, dword [esp + 0x70]
mov ecx, dword [esi + 0x6c]
inc eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x88], ecx
cmp dword [esi + 0x70], ecx
jg 0x1007b565
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.10049750
add esp, 0xc
mov dword [esp + 0x88], eax
jmp 0x1007b598
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x1007b5b5
mov eax, 0x1041cd0c
mov dword [eax + 8], edx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
jmp 0x1007b5e2
mov ecx, dword [esp + 0x70]
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
mov edx, dword [esp + 0xc]
lea eax, [eax + ecx*4]
mov eax, dword [esp + 0x14]
jmp 0x1007b5e2
dec dword [edi + 0x38]
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x40], ecx
cmp byte [esp + 0x33], 0
jne 0x1007b609
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x1007b5f5
cmp ecx, eax
jne 0x1007b609
mov eax, dword [ebp + 0x14]
mov ecx, esi
inc eax
push eax
call fcn.100791d0
add esp, 4
mov byte [esp + 0x33], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp dword [eax + 0x24], 0
je 0x1007b6e0
mov eax, dword [ebp + 8]
mov edx, dword [eax + ecx*4]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1007b63f
push 0
push edx
push 0
mov edx, 0x48
mov ecx, esi
call fcn.10049750
add esp, 0xc
jmp 0x1007b672
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x48
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 + 0x14]
mov edx, dword [eax + 0x24]
mov eax, dword [edi]
mov dword [esp + 0x18], eax
test edx, edx
je 0x1007b6a1
push 0
push 0
mov ecx, eax
call fcn.1005ec30
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x18]
jmp 0x1007b6a3
xor edi, edi
cmp byte [eax + 0x51], 0
jne 0x1007b6c0
push 0x10
push dword [esp + 0x44]
push edi
push dword [esp + 0x14]
call fcn.10064620
mov eax, dword [esp + 0x28]
add esp, 0x10
test edi, edi
je 0x1007b6cd
mov edx, edi
mov ecx, eax
call fcn.1005ea40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x34], 0
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 8]
movzx eax, word [eax + 0x34]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], 0
mov edx, dword [edx + ecx*4]
mov ecx, eax
mov dword [esp + 0x5c], edx
lea edi, [edx + 1]
mov dword [esp + 0x34], edi
cmp word [esp + 0x2c], ax
jae 0x1007b884
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
movzx edx, word [eax + edx*2]
movsx ecx, dx
cmp ecx, 0xfffffffe
jne 0x1007b7b3
mov ecx, dword [esp + 8]
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x1c]
not eax
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 4]
mov eax, dword [ecx]
mov dword [esp + 0x28], eax
test edx, edx
je 0x1007b778
push 0
push 0
mov ecx, eax
call fcn.1005ec30
mov ecx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x30]
add esp, 8
jmp 0x1007b77a
xor edi, edi
cmp byte [eax + 0x51], 0
jne 0x1007b792
push dword [esp + 0x20]
mov edx, edi
call fcn.10063ec0
mov eax, dword [esp + 0x2c]
add esp, 4
test edi, edi
je 0x1007b79f
mov edx, edi
mov ecx, eax
call fcn.1005ea40
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x20]
mov dword [eax + 0x34], 0
jmp 0x1007b857
cmp ecx, 0xffffffff
je 0x1007b80a
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x28]
cmp ecx, eax
je 0x1007b80a
mov ecx, dword [esp + 0xc]
call fcn.1006b600
mov edx, dword [ebp + 0x14]
mov ecx, dword [esi + 0x6c]
inc edx
cwde
add edx, eax
cmp dword [esi + 0x70], ecx
jg 0x1007b7f1
push 0
push edi
push edx
mov edx, 0x4e
mov ecx, esi
call fcn.10049750
add esp, 0xc
jmp 0x1007b857
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], 0x4e
jmp 0x1007b83f
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1007b829
push 0
push edi
push dword [ebp + 0x14]
mov edx, 0x4f
mov ecx, esi
call fcn.10049750
add esp, 0xc
jmp 0x1007b857
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], 0x4f
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 + 0x14]
inc edi
mov edx, dword [esp + 0x18]
add dword [esp + 0x1c], 0x14
inc edx
mov dword [esp + 0x18], edx
movzx ecx, word [eax + 0x34]
mov dword [esp + 0x20], edi
cmp edx, ecx
jl 0x1007b722
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 8]
mov edx, dword [edx + eax*4]
movzx edi, cx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1007b8a6
push edx
push edi
push dword [esp + 0x3c]
mov edx, 0x5b
mov ecx, esi
call fcn.10049750
add esp, 0xc
jmp 0x1007b8d5
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 + 4], esi
mov esi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x5b
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 + 0x14]
mov edx, dword [esp + 0x24]
je 0x1007b924
cmp edx, ecx
jne 0x1007b924
cmp byte [ebp + 0x1c], 0
jne 0x1007b924
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1007b912
push edx
mov edx, esi
call fcn.10049e50
mov edi, dword [esp + 0xc]
add esp, 4
jmp 0x1007c497
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov edi, dword [esp + 8]
mov dword [ecx + edx*4], eax
jmp 0x1007c497
movzx eax, byte [ecx + 0x36]
test eax, eax
jne 0x1007b951
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1007b912
push edx
mov edx, esi
call fcn.10049e50
mov edi, dword [esp + 0xc]
add esp, 4
jmp 0x1007c497
cmp byte [ebp + 0x20], 0xb
je 0x1007b95d
movzx eax, byte [ebp + 0x20]
jmp 0x1007b968
cmp eax, 0xb
mov edi, 2
cmove eax, edi
mov dword [esp + 0x18], eax
cmp dword [esp + 0x6c], ecx
jne 0x1007b988
mov edi, dword [ebp + 0x30]
xor eax, eax
cmp dword [edi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x10], 0
jne 0x1007ba6e
cmp dword [ecx + 0x14], 0
jne 0x1007ba6e
cmp edx, ecx
jne 0x1007ba6e
cmp eax, 5
jne 0x1007ba6e
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x20]
and eax, 0x2000
mov dword [esp + 0x80], eax
je 0x1007ba0e
mov ecx, dword [esp + 8]
xor edx, edx
xor edi, edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x1007b9e4
mov edx, dword [esp + 0xc]
call fcn.1008d000
mov edx, eax
mov ecx, edx
test edx, edx
je 0x1007ba03
nop word [eax + eax]
cmp byte [ecx + 8], 0x7e
jne 0x1007b9fc
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x1007b9f0
xor eax, eax
test edi, edi
cmovne eax, edx
test eax, eax
jne 0x1007ba6e
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0x20]
and eax, 0x4000
mov dword [esp + 0x80], eax
je 0x1007ba45
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x10], 0
jne 0x1007ba6e
mov ecx, dword [eax + 0x48]
mov edx, dword [eax]
add ecx, 0x38
push 0
call fcn.1002ecb0
add esp, 4
cmp dword [eax + 8], 0
jne 0x1007ba6e
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1007b912
push edx
mov edx, esi
call fcn.10049e50
mov edi, dword [esp + 0xc]
add esp, 4
jmp 0x1007c497
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x20], edx
movzx edi, word [eax + 0x32]
mov dword [esp + 0x2c], edi
cmp dword [esi + 0x70], edx
jg 0x1007baad
push dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov edx, 0x1c
push dword [esp + 0x44]
add eax, dword [ebp + 0x10]
mov ecx, esi
push eax
call fcn.10049750
mov edx, eax
add esp, 0xc
mov dword [esp + 0x20], edx
jmp 0x1007baef
mov edi, dword [esp + 0x2c]
lea eax, [edx + 1]
lea ecx, [edx + edx*4]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov edx, dword [esp + 0x10]
add edx, dword [ebp + 0x10]
mov esi, dword [esp + 0x50]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x1007bb06
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 + 0x14]
cmp edx, dword [esp + 0x24]
jne 0x1007bb1a
mov edi, dword [esp + 0x34]
mov dword [esp + 0x44], edi
jmp 0x1007bb78
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 8]
cmp eax, 1
jne 0x1007bb47
mov al, byte [edx + 0x13]
test al, al
jne 0x1007bb36
inc dword [edx + 0x2c]
mov edi, dword [edx + 0x2c]
jmp 0x1007bb70
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov edi, dword [edx + eax*4 + 0x94]
jmp 0x1007bb70
mov ecx, dword [edx + 0x1c]
mov edi, dword [edx + 0x20]
mov dword [esp + 0x44], edi
cmp eax, ecx
jg 0x1007bb63
add eax, edi
sub ecx, dword [esp + 0x64]
mov dword [edx + 0x20], eax
mov dword [edx + 0x1c], ecx
jmp 0x1007bb74
mov eax, dword [edx + 0x2c]
lea edi, [eax + 1]
add eax, dword [esp + 0x64]
mov dword [edx + 0x2c], eax
mov dword [esp + 0x44], edi
mov edx, dword [esp + 0x14]
cmp dword [ebp + 0x18], 0
jne 0x1007bb89
cmp dword [esp + 0x18], 5
jne 0x1007bf08
mov eax, dword [esp + 0xc]
test byte [eax + 0x24], 0x80
jne 0x1007bc70
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1007bbbb
mov eax, dword [esp + 0x10]
mov edx, 0x86
add eax, dword [ebp + 0x10]
mov ecx, esi
push 0
push edi
push eax
call fcn.10049750
add esp, 0xc
jmp 0x1007bbf5
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
add edx, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edi, dword [esp + 0x44]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x86
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 0x1007bf0b
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1007bc22
push edx
push dword [esp + 0x44]
mov edx, 0x35
mov ecx, esi
push edi
call fcn.10049750
mov edx, dword [ebp + 0x18]
add esp, 0xc
jmp 0x1007bc50
mov edx, dword [esp + 0x40]
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 0x1007bf0b
lea ecx, [eax + eax*4]
mov edi, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], di
jmp 0x1007bf0b
mov edi, dword [esp + 0x24]
cmp edx, edi
je 0x1007bd65
mov eax, dword [esp + 0x24]
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x28], edi
cmp cx, word [eax + 0x32]
jae 0x1007bd61
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
nop word [eax + eax]
movzx edx, word [edx + 0x34]
xor ecx, ecx
test edx, edx
je 0x1007bccd
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
movzx edi, word [eax + edi*2]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
nop dword [eax]
cmp di, word [eax]
je 0x1007bcfe
inc ecx
add eax, 2
cmp ecx, edx
jl 0x1007bcc0
or eax, 0xffffffff
mov ecx, dword [esi + 0x6c]
movsx edx, ax
mov dword [esp + 0x2c], edx
cmp dword [esi + 0x70], ecx
jg 0x1007bd03
mov edi, dword [esp + 0x1c]
mov ecx, esi
mov eax, dword [esp + 0x10]
add eax, dword [ebp + 0x10]
push edi
push edx
push eax
mov edx, 0x59
call fcn.10049750
add esp, 0xc
jmp 0x1007bd3d
movzx eax, cx
jmp 0x1007bcd0
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
add edi, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x50]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x59
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 + 0x24]
inc edi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x1c], edi
mov edi, ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x28], ecx
cmp ecx, eax
jl 0x1007bca0
mov edi, dword [esp + 0x24]
cmp dword [ebp + 0x18], 0
je 0x1007bf08
movzx ecx, word [edi + 0x32]
mov eax, dword [esi + 0x6c]
add eax, ecx
mov dword [esp + 0x28], 0x34
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x44]
and al, 3
cmp al, 2
cmove edx, dword [esp + 0x34]
mov dword [esp + 0x90], edx
xor edx, edx
mov dword [esp + 0x54], edx
test ecx, ecx
je 0x1007bf08
nop dword [eax]
mov eax, dword [edi + 0x20]
mov edx, dword [eax + edx*4]
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax]
mov al, byte [ecx + 0x4e]
mov byte [esp + 0x3f], al
mov al, byte [ecx + 0xa5]
mov byte [esp + 0x63], al
movzx eax, al
push eax
push edx
mov dl, byte [esp + 0x47]
call fcn.10071120
add esp, 8
mov edi, eax
cmp byte [esp + 0x63], 0
jne 0x1007be0c
test edi, edi
je 0x1007bdf5
cmp dword [edi + 0xc], 0
jne 0x1007be0c
push dword [esp + 0x2c]
mov dl, byte [esp + 0x43]
mov ecx, dword [esp + 0xc]
push edi
call fcn.10071230
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x54]
mov eax, dword [eax + 4]
movzx edx, word [eax + ecx*2]
mov eax, dword [esp + 0x24]
movzx ecx, word [eax + 0x32]
mov eax, dword [esp + 0x28]
dec ecx
cmp dword [esp + 0x54], ecx
mov ecx, dword [esp + 0xc]
cmove eax, dword [esp + 0xcc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
cmovne eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.1006b600
mov ecx, dword [ebp + 0x18]
mov edx, dword [esi + 0x6c]
inc ecx
cwde
add ecx, eax
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x90]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x80], eax
cmp dword [esi + 0x70], edx
jg 0x1007be8b
mov edx, dword [esp + 0x28]
push eax
push dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.10049750
add esp, 0xc
mov edx, eax
jmp 0x1007becb
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 + 0x28]
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0xc], ecx
push 0xfffffffffffffffe
push edi
mov ecx, esi
call fcn.1004a580
mov eax, dword [esi + 0x6c]
add esp, 8
test eax, eax
jle 0x1007beef
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
inc edx
mov dword [esp + 0x54], edx
movzx eax, word [edi + 0x32]
cmp edx, eax
jl 0x1007bdb0
mov edx, dword [ebp + 0x18]
mov edi, dword [esp + 0x18]
lea eax, [edi - 1]
cmp eax, 5
ja case.0x1007bf1b.5
jmp dword [eax*4 + 0x1007c810]
push dword [esp + 0x14]
mov edx, edi
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.10070900
add esp, 4
jmp 0x1007c39d
mov eax, dword [esp + 0x10]
add eax, dword [ebp + 0x10]
mov edi, dword [esp + 8]
mov ecx, edi
mov edx, dword [ebp + 0x30]
push eax
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.10091590
add esp, 0xc
jmp 0x1007bf62
mov edi, dword [esp + 8]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1007bf85
push 0
push dword [ebp + 0x24]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.10049750
add esp, 0xc
jmp 0x1007c39d
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], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1007c39d
mov edi, dword [esi + 0x6c]
sub edi, dword [esp + 0x20]
cmp dword [esp + 0x48], 0
mov dword [esp + 0x18], edi
je 0x1007bfe2
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
inc dword [esp + 0x7c]
mov byte [ecx + 0x14], 1
cmp dword [esp + 0x38], 0
je 0x1007c03f
test edx, edx
je 0x1007c03f
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1007c00d
push 0
push 0
push dword [ebp + 0xc]
mov edx, 0x9f
mov ecx, esi
call fcn.10049750
add esp, 0xc
jmp 0x1007c03f
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], 0x9f
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 + 0x10]
add eax, edx
mov ecx, dword [esp + 8]
push eax
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x18], eax
sete al
movzx eax, al
push eax
push 5
push 0
push dword [esp + 0x74]
push dword [esp + 0x58]
push edx
push dword [ebp + 0xc]
mov edx, dword [esp + 0x2c]
push dword [esp + 0x58]
call fcn.10072690
add esp, 0x24
cmp dword [esp + 0x38], 0
je 0x1007c0db
cmp dword [ebp + 0x18], 0
je 0x1007c0db
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1007c0a9
push 0
push 0
push dword [ebp + 0xc]
mov edx, 0xa0
mov ecx, esi
call fcn.10049750
add esp, 0xc
jmp 0x1007c0db
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], 0xa0
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 + 0x48]
test edx, edx
je 0x1007c391
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1007c105
push 0
push 1
push edx
mov edx, 0x52
mov ecx, esi
call fcn.10049750
add esp, 0xc
jmp 0x1007c138
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], 0x52
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 + 0x2c], edx
cmp dword [esi + 0x70], edx
jg 0x1007c15f
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.10049750
add esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x1007c192
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x4c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1007c1b0
push edx
mov edx, esi
call fcn.10049e50
add esp, 4
jmp 0x1007c1b9
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 8]
dec dword [eax + 0x38]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], edx
cmp dword [eax + 0x24], 0
je 0x1007c229
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1007c1f6
push 0
push edx
mov edx, dword [esp + 0x64]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.10049750
mov edx, dword [esp + 0x58]
add esp, 0xc
jmp 0x1007c229
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 + 4], edx
mov edx, dword [esp + 0x4c]
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 0x1007c34a
mov eax, dword [esp + 0x20]
mov ecx, eax
test eax, eax
jns 0x1007c23f
mov ecx, dword [esi + 0x6c]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x1007c24e
mov eax, 0x1041cd0c
jmp 0x1007c257
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 + 0x90], eax
movd eax, xmm0
movaps xmmword [esp + 0xa0], xmm0
cmp al, 0x86
je 0x1007c331
mov edi, dword [esp + 0xa8]
movzx eax, al
mov dword [esp + 0x80], eax
test byte [eax + 0x103d8c00], 1
cmovne edi, edx
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x1007c2ba
push dword [esp + 0xac]
mov edx, eax
mov ecx, esi
push edi
push dword [esp + 0xac]
call fcn.10049750
add esp, 0xc
mov edx, eax
jmp 0x1007c2fd
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 + 0x80]
mov byte [ecx], al
xor eax, eax
mov word [ecx + 2], ax
mov eax, dword [esp + 0xa4]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xac]
mov dword [ecx + 0xc], eax
movsx eax, byte [esp + 0xa1]
mov ecx, esi
push eax
push dword [esp + 0x94]
call fcn.1004a580
mov eax, dword [esi + 0x6c]
add esp, 8
test eax, eax
jle 0x1007c331
mov ecx, dword [esi + 0x68]
lea edx, [eax + eax*4]
mov ax, word [esp + 0xa2]
mov word [ecx + edx*4 - 0x12], ax
mov eax, dword [esp + 0x18]
inc dword [esp + 0x20]
dec eax
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
test eax, eax
jg 0x1007c231
push dword [esp + 0x14]
mov edi, dword [esp + 0xc]
mov edx, 2
mov ecx, edi
call fcn.10070900
mov eax, dword [esi]
add esp, 4
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x1007c376
mov eax, 0x1041cd0c
mov dword [eax + 8], edx
jmp 0x1007c395
mov ecx, dword [esp + 0x2c]
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 0x1007c395
mov edi, dword [esp + 8]
mov dword [esp + 0x78], 1
mov eax, dword [esp + 0x6c]
cmp eax, dword [esp + 0x14]
jne 0x1007c434
mov edx, dword [esp + 0x70]
mov ecx, dword [esi + 0x6c]
inc edx
cmp dword [esi + 0x70], ecx
jg 0x1007c3ce
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.10049750
add esp, 0xc
jmp 0x1007c401
mov edi, dword [esp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x1007c416
mov eax, 0x1041cd0c
mov dword [eax + 8], edx
jmp 0x1007c45b
mov ecx, dword [esp + 0x88]
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 0x1007c45b
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1007c452
push edx
mov edx, esi
call fcn.10049e50
add esp, 4
jmp 0x1007c45b
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x44]
cmp ecx, dword [esp + 0x34]
je 0x1007c497
mov eax, dword [esp + 0x64]
cmp eax, 1
jne 0x1007c48c
test ecx, ecx
je 0x1007c497
mov al, byte [edi + 0x13]
mov edx, dword [esp + 0xc]
cmp al, 8
jae 0x1007c49b
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
jmp 0x1007c49b
cmp eax, dword [edi + 0x1c]
jle 0x1007c497
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x14]
inc ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
test eax, eax
jne 0x1007b514
mov edx, dword [esp + 0x74]
test edx, edx
je 0x1007c53d
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1007c4dd
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.10049750
add esp, 0xc
jmp 0x1007c510
mov edi, dword [esp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x1007c522
mov eax, 0x1041cd0c
jmp 0x1007c53a
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
cmp dword [esp + 0x7c], 0
je 0x1007c742
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1007c56c
mov edx, dword [esp + 0x4c]
mov ecx, esi
push 0
push edx
push dword [esp + 0x50]
mov edx, 0x14
call fcn.10049750
add esp, 0xc
jmp 0x1007c59f
mov edx, dword [esp + 0x48]
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 + 0x4c]
mov dword [eax + ecx*4], 0x14
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x24], 0
jne 0x1007c6c7
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x1007c61b
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1007c5d2
push edx
push dword [esp + 0x5c]
mov edx, 0x35
mov ecx, esi
push dword [ebp + 0x14]
call fcn.10049750
add esp, 0xc
jmp 0x1007c604
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 + 0x58]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 8]
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 0x1007c61b
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 0x1007c63e
push dword [ebp + 0x14]
mov edx, 0x20
mov ecx, esi
push dword [esp + 0x5c]
push dword [ebp + 0xc]
call fcn.10049750
add esp, 0xc
jmp 0x1007c66f
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 + 0x58]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0xc]
movzx eax, word [edx + 0x28]
test ax, ax
js 0x1007c69e
cwde
lea ecx, [eax + eax*4]
mov eax, dword [edx + 4]
push dword [eax + ecx*4]
push dword [edx]
push str._s._s
push dword [edi]
call fcn.1002ca00
add esp, 0x10
mov edx, 0x613
jmp 0x1007c6b4
push dword [edx]
push str._s.rowid
push dword [edi]
call fcn.1002ca00
add esp, 0xc
mov edx, 0xa13
push 2
push 0xfffffffffffffff9
push eax
push 2
mov ecx, edi
call fcn.10070880
add esp, 0x10
jmp 0x1007c71b
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1007c6e8
push 0
push dword [esp + 0x5c]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.10049750
add esp, 0xc
jmp 0x1007c71b
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x4c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1007c739
push edx
mov edx, esi
call fcn.10049e50
add esp, 4
jmp 0x1007c742
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0xc]
test byte [eax + 0x24], 0x80
jne 0x1007c7d2
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
mov edi, dword [edx + ecx*4]
movsx edx, word [eax + 0x2c]
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x6c]
inc eax
mov dword [esp + 0x80], edi
cmp dword [esi + 0x70], ecx
jg 0x1007c785
push edi
push edx
push eax
mov edx, 0x5b
mov ecx, esi
call fcn.10049750
add esp, 0xc
jmp 0x1007c7bb
mov edi, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
inc edi
mov esi, dword [esp + 0x50]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x5b
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x33], 0
jne 0x1007c7d2
mov edx, dword [esp + 0xc]
mov ecx, esi
push 0
call fcn.100791d0
add esp, 4
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x78]
pop edi
pop esi
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret