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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
push edi
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x44], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xbc], 1
mov dword [esp + 0xb4], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xa4], ecx
cmp dword [esi + 0x24], eax
jne 0x10087448
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
mov eax, esi
call fcn.10060b10
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x10087448
mov ecx, dword [edi + 0x3c]
xor edx, edx
mov dword [esp + 0x24], 0xffff8000
cmp ecx, edx
je 0x100850f1
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x24], edx
cmp dword [eax + 0xc], ecx
je 0x100850f1
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
add eax, 0xc
inc dword [esp + 0x24]
add eax, 0x10
cmp dword [eax], ecx
jne 0x100850e4
xor edx, edx
cmp dword [edi + 0x38], edx
jne 0x10085107
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, edx
je 0x10085110
cmp dword [eax + 0x30], edx
je 0x10085110
cmp byte [esi + 0x9d], 0
je 0x1008511d
mov dword [esp + 0x90], edx
mov dword [esp + 0x68], edx
jmp 0x1008513e
mov edx, dword [ebp + 0x10]
lea ecx, [esp + 0x90]
push ecx
push edx
push 0x81
push edi
push esi
call fcn.10083670
add esp, 0x14
mov dword [esp + 0x68], eax
xor edx, edx
mov al, byte [edi + 0x2b]
xor ecx, ecx
cmp al, 2
sete cl
cmp dword [ebx], 1
mov dword [esp + 0x80], ecx
jle 0x1008515f
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [esp + 0x58], ecx
jmp 0x10085163
mov dword [esp + 0x58], edx
cmp al, 1
je 0x1008516d
cmp word [edi + 0x22], dx
jg 0x10085180
push edi
mov eax, esi
call fcn.1005b980
add esp, 4
test eax, eax
jne 0x10087448
mov ebx, dword [esp + 0x68]
mov eax, edi
call fcn.10060cc0
test eax, eax
jne 0x10087448
mov ebx, esi
mov edx, dword [ebx + 0x28]
mov dword [esp + 0x18], edx
mov dword [esp + 0x70], edx
inc edx
mov dword [ebx + 0x28], edx
test byte [edi + 0x1c], 0x80
mov dword [esp + 0xb0], edx
jne 0x100851b7
mov dword [esp + 0x28], eax
jmp 0x100851c2
mov eax, edi
call fcn.10058d10
mov dword [esp + 0x28], eax
mov eax, dword [edi + 8]
xor esi, esi
mov dword [esp + 0x84], esi
test eax, eax
je 0x100851ef
cmp dword [esp + 0x28], eax
jne 0x100851dc
mov dword [esp + 0x18], edx
inc edx
mov dword [ebx + 0x28], edx
mov eax, dword [eax + 0x14]
inc esi
test eax, eax
jne 0x100851d2
mov dword [esp + 0x84], esi
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x1008520e
mov edx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], edx
mov dword [esp + 0xb0], eax
mov dword [ebx + 0x28], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x18]
mov dword [edx + 0x34], eax
movsx ecx, word [edi + 0x22]
add ecx, esi
lea edx, [esi + ecx*4 + 6]
mov ecx, dword [esp + 0xa4]
push 0
push edx
call fcn.1000ab60
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x10087448
movsx eax, word [edi + 0x22]
mov ecx, dword [esp + 0x2c]
lea ebx, [ecx + eax*4]
lea eax, [esi + 1]
push eax
mov dword [esp + 0x8c], ebx
lea ebx, [ebx + esi*4 + 4]
push 1
push ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x4c], eax
call fcn.100ff5c0
xor edx, edx
add esp, 0xc
mov byte [ebx + esi + 1], 0
xor eax, eax
cmp dx, word [edi + 0x22]
jge 0x10085293
mov ecx, dword [esp + 0x2c]
mov dword [ecx + eax*4], 0xffffffff
movsx edx, word [edi + 0x22]
inc eax
cmp eax, edx
jl 0x10085283
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0x100], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 8]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], edx
mov dword [esp + 0xfc], 0x200
test esi, esi
je 0x10085303
mov dword [esp + 0x54], esi
jmp 0x10085324
cmp dword [eax + 0x7c], 0
jne 0x10085315
mov ecx, dword [eax]
test byte [ecx + 0x50], 8
jne 0x10085315
mov byte [eax + 0x17], 1
push eax
call fcn.1002f4f0
add esp, 4
mov dword [esp + 0x54], eax
mov esi, eax
test esi, esi
je 0x10087448
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
mov byte [esp + 0x33], 0
mov byte [esp + 0x17], 0
mov dword [esp + 0x34], 0
jle 0x10085534
add eax, 8
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + 4]
xor dl, dl
test ecx, ecx
jne 0x10085364
mov byte [esp + 0x6f], dl
jmp 0x10085385
mov al, byte [ecx]
test al, al
je 0x10085381
lea ebx, [ebx]
movzx eax, al
add dl, byte [eax + 0x10112f10]
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x10085370
mov byte [esp + 0x6f], dl
cmp dword [esp + 0x58], 0
jne 0x100853a6
mov ebx, dword [edi]
lea esi, [esp + 0xe4]
call fcn.10046190
test eax, eax
jne 0x10087448
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
movsx eax, word [ecx + 0x22]
xor edi, edi
mov dword [esp + 0x5c], eax
test eax, eax
jle 0x10085473
mov eax, dword [ecx + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x48]
mov dl, byte [esp + 0x6f]
cmp byte [ecx + 0xa], dl
jne 0x1008542c
mov eax, ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
mov ebx, dword [ecx + 4]
sub ebx, eax
lea ecx, [ecx]
movzx ecx, byte [eax]
movzx edx, byte [eax + ebx]
cmp ecx, edx
jne 0x10085417
test ecx, ecx
jne 0x10085429
mov eax, dword [esp + 0x10]
movsx edx, word [eax + 0x20]
cmp edi, edx
jne 0x1008543a
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x34]
mov byte [esp + 0x17], 1
mov dword [esp + 0x94], ecx
mov dword [esp + 0x60], edx
jmp 0x10085468
movzx edx, byte [edx + 0x10112f10]
movzx ecx, byte [ecx + 0x10112f10]
sub ecx, edx
jne 0x1008542c
inc eax
jmp 0x100853e0
add dword [esp + 0x48], 0x10
inc edi
cmp edi, dword [esp + 0x5c]
jl 0x100853c3
jmp 0x10085473
cmp dword [esp + 0x28], 0
je 0x10085456
mov ecx, dword [eax + 4]
mov ebx, edi
add ebx, ebx
mov dl, 1
test byte [ecx + ebx*8 + 0xe], dl
je 0x10085456
mov byte [esp + 0x33], dl
jmp 0x10085468
mov eax, dword [eax + 4]
mov ecx, edi
add ecx, ecx
test byte [eax + ecx*8 + 0xe], 0x60
jne 0x10085594
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov dword [edx + edi*4], eax
mov ecx, dword [esp + 0x10]
movsx edx, word [ecx + 0x22]
cmp edi, edx
jl 0x100854be
cmp dword [esp + 0x28], 0
jne 0x100855b7
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebx + 4]
call fcn.10049850
test eax, eax
je 0x100855b7
mov eax, dword [ebx]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x94], eax
or edi, 0xffffffff
mov byte [esp + 0x17], 1
mov dword [esp + 0x60], ecx
mov eax, str.ROWID
jmp 0x100854d5
test edi, edi
jns 0x100854c9
mov eax, str.ROWID
jmp 0x100854d5
mov eax, ecx
mov ecx, dword [eax + 4]
mov edx, edi
add edx, edx
mov eax, dword [ecx + edx*8]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0xa4]
mov ecx, dword [ecx + 0x10]
add edx, edx
mov edx, dword [ecx + edx*8]
push edx
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
push ecx
push 0x17
call fcn.10056e10
add esp, 0x10
cmp eax, 1
je 0x10087448
cmp eax, 2
jne 0x10085517
mov edx, dword [esp + 0x2c]
mov dword [edx + edi*4], 0xffffffff
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 0x10]
add dword [esp + 0x1c], 0x14
inc eax
mov dword [esp + 0x34], eax
cmp eax, dword [ecx]
jl 0x10085351
mov edi, dword [esp + 0x10]
mov al, byte [esp + 0x33]
add al, byte [esp + 0x17]
test byte [edi + 0x1c], 0x60
mov byte [esp + 0x5c], al
je 0x100856ae
lea ebx, [ebx]
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x1c], ebx
cmp ax, word [edi + 0x22]
jge 0x100856ae
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x2c]
cmp dword [edx + ebx*4], 0
jge 0x10085691
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x48]
test byte [eax + ecx + 0xe], 0x60
je 0x10085691
movzx eax, word [eax + ecx + 0xc]
test ax, ax
jne 0x100855e0
xor ecx, ecx
jmp 0x10085600
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
mov edx, dword [ebp + 8]
add edi, edi
mov ecx, dword [eax + edi*8]
push ecx
push str.cannot_UPDATE_generated_column___s_
push edx
call fcn.1000e200
add esp, 0xc
jmp 0x10087448
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
lea eax, [eax + eax*4]
mov edx, dword [ecx + eax*4 + 0xc]
push edx
push str.no_such_column:__s
push esi
call fcn.1000e200
add esp, 0xc
mov byte [esi + 0x11], 1
jmp 0x10087448
cmp byte [edi + 0x2b], 0
je 0x100855ea
xor ecx, ecx
jmp 0x10085600
mov ecx, dword [edi + 0x34]
test ecx, ecx
je 0x10085600
cmp dword [ecx], eax
jge 0x100855f9
xor ecx, ecx
jmp 0x10085600
lea eax, [eax + eax*4]
mov ecx, dword [ecx + eax*4 - 0xc]
xor eax, eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov word [esp + 0xd4], ax
mov dword [esp + 0xc4], 0x1006a740
mov dword [esp + 0xd8], edx
test ecx, ecx
je 0x1008566e
push ecx
lea ecx, [esp + 0xc4]
push ecx
call fcn.10043470
mov ax, word [esp + 0xdc]
mov edx, dword [esp + 0x34]
add esp, 8
cmp byte [esp + 0x17], 0
jne 0x1008567d
mov ecx, 0xfffd
and ax, cx
test ax, ax
je 0x10085691
mov dword [edx + ebx*4], 0x1869f
mov dword [esp + 0x1c], 1
movsx edx, word [edi + 0x22]
add dword [esp + 0x48], 0x10
inc ebx
cmp ebx, edx
jl 0x10085566
cmp dword [esp + 0x1c], 0
jne 0x10085550
cmp byte [edi + 0x2b], 1
jne 0x100856bc
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x100856c0
xor eax, eax
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x40], eax
mov eax, dword [ebp + 8]
mov dword [edx + 0x44], ecx
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
and eax, 0x4000
xor ecx, ecx
or eax, ecx
je 0x100856f9
movzx ecx, byte [esp + 0x5c]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
push ecx
push edx
call fcn.10067d00
add esp, 8
mov dword [esp + 0x50], eax
jmp 0x100856fd
mov dword [esp + 0x50], ecx
cmp dword [ebp + 0x18], 5
jne 0x1008570e
mov dword [esp + 0xa0], 1
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 8]
mov dword [esp + 0x48], 0
test ebx, ebx
je 0x10085942
cmp byte [esp + 0x5c], 0
jne 0x100858f6
cmp dword [esp + 0x50], 1
jg 0x100858f6
cmp ebx, dword [esp + 0x28]
je 0x100858f6
mov ecx, dword [ebx + 0x24]
xor edi, edi
cmp ecx, edi
je 0x100857df
xor eax, eax
push ecx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc4]
xor edx, edx
push ecx
mov word [esp + 0xdc], dx
mov dword [esp + 0xcc], 0x1006a740
mov dword [esp + 0xe0], eax
call fcn.10043470
add esp, 8
cmp byte [esp + 0x17], 0
jne 0x100857ca
mov edx, 0xfffd
and word [esp + 0xd4], dx
xor eax, eax
cmp word [esp + 0xd4], di
setne al
cmp eax, edi
jne 0x100858f6
xor eax, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], edi
cmp ax, word [ebx + 0x32]
jae 0x10085910
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
xor edi, edi
lea ecx, [ecx]
mov ecx, dword [ebx + 4]
movzx eax, word [ecx + eax*2]
test ax, ax
js 0x1008581a
cwde
xor ecx, ecx
cmp dword [edx + eax*4], ecx
setge cl
jmp 0x100858a6
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + edi + 8]
xor eax, eax
mov dword [esp + 0x108], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], eax
mov word [esp + 0x118], ax
mov dword [esp + 0x108], 0x1006a740
mov dword [esp + 0x11c], edx
test ecx, ecx
je 0x1008588f
push ecx
lea ecx, [esp + 0x108]
push ecx
call fcn.10043470
mov ax, word [esp + 0x120]
mov edx, dword [esp + 0x34]
add esp, 8
cmp byte [esp + 0x17], 0
jne 0x1008589e
mov ecx, 0xfffd
and ax, cx
xor ecx, ecx
test ax, ax
setne cl
mov eax, ecx
test eax, eax
jne 0x100858c6
mov eax, dword [esp + 0x34]
movzx ecx, word [ebx + 0x32]
inc eax
add edi, 0x14
mov dword [esp + 0x34], eax
cmp eax, ecx
jl 0x10085800
jmp 0x10085910
mov eax, dword [ebp + 8]
mov edx, 1
add dword [eax + 0x2c], edx
movzx edi, word [ebx + 0x34]
mov ecx, dword [eax + 0x2c]
add edi, ecx
cmp dword [ebp + 0x18], 0xb
mov dword [esp + 0x1c], ecx
mov dword [eax + 0x2c], edi
jne 0x1008590c
cmp byte [ebx + 0x36], 5
jne 0x1008590c
mov dword [esp + 0xa0], edx
jmp 0x1008590c
mov eax, dword [ebp + 8]
inc dword [eax + 0x2c]
movzx edx, word [ebx + 0x34]
mov ecx, dword [eax + 0x2c]
add edx, ecx
mov dword [esp + 0x1c], ecx
mov dword [eax + 0x2c], edx
test ecx, ecx
jne 0x10085920
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x9c]
mov byte [eax + ecx + 1], 0
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x88]
mov dword [ecx + eax*4], edx
mov ebx, dword [ebx + 0x14]
inc eax
mov dword [esp + 0x48], eax
test ebx, ebx
jne 0x10085725
mov edi, dword [ebp + 8]
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x48]
mov ebx, 1
add dword [edi + 0x2c], ebx
mov eax, dword [edi + 0x2c]
mov dword [edx + ecx*4], eax
cmp dword [esp + 0xa0], 0
je 0x1008597e
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x9c]
push edx
push ebx
push eax
call fcn.100ff5c0
add esp, 0xc
cmp byte [edi + 0x12], 0
jne 0x1008598b
or dword [esi + 0x98], 0x10
cmp dword [esp + 0x68], 0
jne 0x100859a1
cmp dword [esp + 0x50], 0
mov dword [esp + 0x1c], 0
je 0x100859a5
mov dword [esp + 0x1c], ebx
mov ebx, dword [edi + 0x7c]
test ebx, ebx
jne 0x100859ae
mov ebx, edi
mov ecx, dword [esp + 0x24]
mov eax, dword [ebx + 0x58]
mov edi, 1
shl edi, cl
test edi, eax
jne 0x100859cf
or eax, edi
mov dword [ebx + 0x58], eax
cmp ecx, 1
jne 0x100859cf
call fcn.1005f3a0
mov cl, byte [esp + 0x1c]
mov edx, dword [esp + 0x10]
or dword [ebx + 0x54], edi
or byte [ebx + 0x14], cl
cmp byte [edx + 0x2b], 1
je 0x10085a71
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x88]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 8]
mov edi, 1
add dword [eax + 0x2c], edi
cmp byte [esp + 0x33], 0
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x20], ecx
jne 0x10085a27
cmp dword [esp + 0x68], 0
jne 0x10085a27
cmp dword [esp + 0x50], 0
je 0x10085a3a
lea ebx, [ecx + 1]
mov dword [esp + 0xac], ebx
movsx ebx, word [edx + 0x22]
add ebx, ecx
mov dword [eax + 0x2c], ebx
cmp byte [esp + 0x5c], 0
jne 0x10085a4f
cmp dword [esp + 0x68], 0
jne 0x10085a4f
cmp dword [esp + 0x50], 0
je 0x10085a59
add dword [eax + 0x2c], edi
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0x2c]
lea edi, [ecx + 1]
mov dword [esp + 0x98], edi
movsx edi, word [edx + 0x22]
add edi, ecx
mov dword [eax + 0x2c], edi
jmp 0x10085a74
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x10085a9b
mov edi, dword [eax + 0x100]
mov edx, dword [edx]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xdc], edi
mov dword [eax + 0x100], edx
cmp dword [esp + 0x58], 0
mov edi, dword [ebp + 8]
jne 0x10085adf
test ecx, ecx
je 0x10085ac4
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x10]
push eax
push 0
push 0
push ecx
push edx
push edi
call fcn.10060d50
add esp, 0x18
mov ebx, dword [ebp + 0x14]
lea esi, [esp + 0xe4]
call fcn.10046190
test eax, eax
jne 0x10087448
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x10]
cmp byte [ebx + 0x2b], 1
jne 0x10085b15
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
push ecx
push ebx
push edx
push edi
call fcn.10087560
add esp, 0x20
jmp 0x10087448
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x24]
and ecx, 1
xor eax, eax
xor edx, edx
or eax, ecx
je 0x10085b9f
cmp dword [edi + 0x80], edx
jne 0x10085b9f
cmp byte [edi + 0x12], dl
jne 0x10085b9f
cmp byte [edi + 0x9b], dl
jne 0x10085b9f
cmp dword [ebp + 0x1c], edx
jne 0x10085b9f
inc dword [edi + 0x2c]
mov eax, dword [esi + 0x6c]
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0xb4], ecx
cmp dword [esi + 0x70], eax
jg 0x10085b7a
push edx
push ecx
push edx
push 0x47
mov eax, esi
call fcn.1002f760
add esp, 0x10
xor edx, edx
jmp 0x10085b9f
lea ebx, [eax + 1]
mov dword [esi + 0x6c], ebx
mov ebx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
mov ebx, dword [esp + 0x10]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0x47
cmp dword [esp + 0x58], edx
jne 0x10085c95
test byte [ebx + 0x1c], 0x80
jne 0x10085c95
mov eax, dword [esi + 0x6c]
mov ebx, dword [esp + 0x8c]
cmp dword [esi + 0x70], eax
jg 0x10085bd7
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
push 0x4b
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x10085c01
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov word [eax], 0x4b
mov edx, dword [edi + 0x28]
lea eax, [edx + 1]
mov dword [edi + 0x28], eax
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x44], edx
cmp dword [esi + 0x70], ecx
jg 0x10085c6c
push ebx
push 0
push edx
push 0x76
mov eax, esi
call fcn.1002f760
add esp, 0x10
mov dword [esp + 0x74], eax
xor edx, edx
cmp dword [ebp + 0x1c], edx
je 0x10085ede
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
push 0x10
push eax
push ecx
xor ebx, ebx
push edx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x34], 1
call fcn.1004ebd0
mov edi, dword [ebp + 8]
add esp, 0x10
mov dword [esp + 0xbc], ebx
jmp 0x10085fae
mov edi, dword [esi + 0x68]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea eax, [ecx + ecx*4]
lea eax, [edi + eax*4]
mov dword [eax + 4], edx
xor edx, edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], edx
mov dword [eax], 0x76
mov dword [esp + 0x74], ecx
jmp 0x10085c2a
mov eax, dword [esp + 0x28]
cmp eax, edx
je 0x10085ca7
movzx ecx, word [eax + 0x32]
mov dword [esp + 0x78], ecx
jmp 0x10085cab
mov dword [esp + 0x78], edx
movsx ebx, word [esp + 0x78]
mov eax, dword [edi + 0x2c]
lea ecx, [eax + 1]
mov dword [esp + 0x34], ebx
add ebx, eax
mov eax, dword [esp + 0x58]
lea eax, [ebx + eax + 1]
mov dword [esp + 0x64], ecx
mov dword [edi + 0x2c], eax
mov dword [esp + 0x3c], eax
cmp dword [ebp + 0x1c], edx
jne 0x10085e27
cmp dword [esp + 0x80], edx
je 0x10085ceb
mov edx, dword [esp + 0x10]
movsx ebx, word [edx + 0x22]
jmp 0x10085ced
xor ebx, ebx
mov eax, dword [ebp + 8]
add ebx, dword [esp + 0x34]
mov edi, dword [eax + 0x28]
add ebx, dword [esp + 0x58]
cmp dword [esp + 0x28], 0
lea edx, [edi + 1]
mov dword [esp + 0x44], edi
mov dword [eax + 0x28], edx
je 0x10085d5c
mov eax, dword [esp + 0x34]
lea edx, [eax + ecx - 1]
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x74], edx
cmp dword [esi + 0x70], eax
jg 0x10085d32
push edx
push ecx
push 0
push 0x4b
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x10085d5c
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x74]
mov word [eax + 2], dx
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov word [eax], 0x4b
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x10085d76
push 0
push ebx
push edi
push 0x76
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x10085d9e
lea edx, [ecx + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x76
mov eax, ecx
cmp dword [esp + 0x28], 0
mov dword [esp + 0x74], eax
je 0x10085dea
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.1005fc50
add esp, 8
test eax, eax
je 0x10085dea
mov word [eax + 8], bx
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x10085dd6
mov edx, 0xfffffff8
call fcn.100304a0
jmp 0x10085dea
mov ecx, dword [esi + 0x6c]
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x68]
lea ecx, [ecx + edx*4 - 0x14]
mov byte [ecx + 1], 0xf8
mov dword [ecx + 0x10], eax
cmp dword [esp + 0x58], 0
je 0x10085ede
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x28]
push edx
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
mov ecx, edi
push ecx
mov ecx, dword [ebp + 0x14]
push edx
call fcn.10084aa0
xor edx, edx
add esp, 0x10
cmp dword [esp + 0x80], edx
je 0x10085e24
mov eax, edi
mov dword [esp + 0x18], eax
mov edi, dword [ebp + 8]
cmp dword [esp + 0x58], edx
je 0x10085c2c
mov eax, dword [edi + 0x7c]
cmp eax, edx
je 0x10085e3a
mov edi, eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x64]
mov byte [edi + 0x14], 1
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x3c], edx
mov edi, dword [esp + 0x44]
cmp dword [ebp + 0x1c], 0
jne 0x100867e4
cmp dword [esp + 0x58], 0
jne 0x10085e7e
cmp dword [esp + 0x24], 2
je 0x10085e7e
mov eax, dword [esp + 0xb8]
push eax
call fcn.1009a160
add esp, 4
cmp dword [esp + 0x80], 0
jne 0x10086353
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x74], edx
cmp dword [esp + 0x24], edx
je 0x10086296
mov eax, dword [esp + 0x34]
cmp eax, edx
jl 0x10085ebb
sub eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x9c]
mov byte [eax + ecx], dl
mov eax, dword [esp + 0x38]
cmp eax, edx
jl 0x1008629a
mov ecx, dword [esp + 0x9c]
mov edx, eax
sub edx, dword [esp + 0x70]
mov byte [edx + ecx], bl
xor edx, edx
jmp 0x1008629a
mov edi, dword [ebp + 8]
cmp byte [edi + 0x12], 0
mov eax, 4
jne 0x10085f20
cmp dword [esp + 0x68], 0
jne 0x10085f20
cmp dword [esp + 0x50], 0
jne 0x10085f20
cmp byte [esp + 0x5c], 0
jne 0x10085f20
cmp dword [esp + 0xa0], 0
jne 0x10085f20
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x10085f1b
test dword [ecx + 4], 0x400000
jne 0x10085f20
mov eax, 0xc
mov ecx, dword [esp + 0xb0]
mov edx, dword [ebp + 0x14]
push ecx
push eax
mov eax, dword [ebp + 0xc]
push 0
push 0
push 0
push edx
push eax
push edi
call fcn.10099470
add esp, 0x20
mov dword [esp + 0xb8], eax
test eax, eax
je 0x10087448
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x34], ecx
movzx ecx, byte [eax + 0x2e]
mov eax, dword [eax + 0x30]
and eax, 1
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0xbc], eax
cmp ecx, 1
je 0x10085fae
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x10085f80
mov eax, edi
cmp dword [esp + 0x24], 2
mov byte [eax + 0x14], 1
jne 0x10085fae
test edx, edx
js 0x10085fae
cmp edx, dword [esp + 0x18]
je 0x10085fae
sub edx, dword [esp + 0x70]
mov eax, dword [esp + 0x9c]
cmp byte [edx + eax], 0
je 0x10085fae
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x1c], 0x80
jne 0x100860bf
mov eax, dword [esi + 0x6c]
mov ebx, dword [esp + 0x20]
cmp dword [esi + 0x70], eax
jg 0x10085fe1
mov edx, dword [esp + 0x18]
push 0
push ebx
push edx
push 0x87
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1008600b
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x87
cmp dword [esp + 0x24], 0
jne 0x10086081
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov dword [ecx + edx*4], eax
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x10086050
mov eax, dword [esp + 0x8c]
push ebx
push eax
push edi
push pe_nt_image_headers32
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x10085e56
lea ecx, [eax + 1]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x8c]
mov dword [esi + 0x6c], ecx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 0
mov dword [eax], pe_nt_image_headers32
jmp 0x10085e56
mov eax, dword [esp + 0x74]
test eax, eax
je 0x10085e52
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
jne 0x10085e52
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea ebx, [edx + eax*4]
movsx edx, byte [ebx + 1]
mov eax, dword [ebx + 0x10]
call fcn.100304a0
mov dword [ebx + 0x10], 0
mov word [ebx], 0xb8
jmp 0x10085e52
mov edi, dword [esp + 0x78]
xor ebx, ebx
test di, di
jle 0x100860fe
lea ebx, [ebx]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x28]
lea ecx, [ebx + eax]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x10]
movsx eax, word [eax + ebx*2]
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push edx
push esi
call fcn.1004c390
movsx eax, di
inc ebx
add esp, 0x10
cmp ebx, eax
jl 0x100860d0
cmp dword [esp + 0x24], 0
je 0x1008614c
mov eax, dword [esp + 0x74]
test eax, eax
je 0x10086136
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
jne 0x10086136
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea ebx, [edx + eax*4]
movsx edx, byte [ebx + 1]
mov eax, dword [ebx + 0x10]
call fcn.100304a0
mov dword [ebx + 0x10], 0
mov word [ebx], 0xb8
movsx eax, word [esp + 0x78]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x3c], eax
jmp 0x10085e52
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x1008616d
mov edx, dword [esp + 0xa4]
push edx
mov esi, ecx
call fcn.10068960
mov esi, dword [esp + 0x58]
add esp, 4
mov ecx, dword [esi + 0x6c]
mov ebx, eax
cmp dword [esi + 0x70], ecx
jg 0x10086193
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x64]
push eax
movsx eax, di
push eax
push ecx
push 0x61
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x100861ca
lea edx, [ecx + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x64]
mov dword [eax + 4], edx
movsx edx, di
mov dword [eax + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0x61
mov eax, ecx
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x100861e3
movsx edx, di
cmp edx, 0xfffffff5
je 0x1008622c
mov eax, ebx
call fcn.100304a0
jmp 0x1008622c
test eax, eax
jns 0x100861eb
mov eax, dword [esi + 0x6c]
dec eax
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
movsx eax, di
test eax, eax
jns 0x10086222
cmp byte [ecx + 1], 0
jne 0x10086222
cmp eax, 0xfffffffd
jne 0x1008620e
mov dword [ecx + 0x10], ebx
mov byte [ecx + 1], al
jmp 0x1008622c
test ebx, ebx
je 0x1008622c
mov dword [ecx + 0x10], ebx
mov byte [ecx + 1], al
cmp eax, 0xfffffff5
jne 0x1008622c
inc dword [ebx + 0xc]
jmp 0x1008622c
push ebx
push esi
call fcn.100305a0
add esp, 8
mov eax, dword [esi + 0x6c]
mov edi, dword [esp + 0x44]
cmp dword [esi + 0x70], eax
jg 0x1008625e
movsx eax, word [esp + 0x78]
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x68]
push 0x8a
mov edx, edi
call fcn.1002f7a0
mov esi, dword [esp + 0x5c]
add esp, 8
jmp 0x10085e56
mov ecx, dword [esi + 0x68]
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x3c]
xor edx, edx
mov dword [eax + 8], ecx
movsx ecx, word [esp + 0x78]
mov word [eax + 2], dx
mov edx, dword [esp + 0x64]
mov dword [eax + 4], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov word [eax], 0xfd8a
jmp 0x10085e56
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x24], 2
jne 0x100862f6
xor ecx, ecx
cmp eax, edx
mov eax, dword [esp + 0x84]
setge cl
sub eax, ecx
test eax, eax
jle 0x100862f6
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100862d1
push 0
push 0
push 0
push 0xf
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x100862f4
mov ebx, dword [esi + 0x68]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea eax, [ecx + ecx*4]
lea eax, [ebx + eax*4]
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0xf
mov eax, ecx
mov ebx, eax
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x90]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [ebp + 8]
push ecx
push 0
push 0x71
push edx
push eax
call fcn.1006cf40
add esp, 0x20
test ebx, ebx
je 0x10086353
mov ecx, dword [esi + 0x6c]
lea eax, [ecx - 1]
cmp ebx, eax
jne 0x10086338
mov dword [esi + 0x6c], eax
jmp 0x10086353
mov edx, dword [esi]
cmp byte [edx + 0x57], 0
je 0x10086347
mov eax, 0x1013ace8
jmp 0x10086350
mov edx, dword [esi + 0x68]
lea eax, [ebx + ebx*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
xor ecx, ecx
cmp dword [esp + 0x24], ecx
je 0x10086437
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x34], eax
je 0x100863ce
cmp dword [esp + 0x38], eax
je 0x100863ce
mov eax, dword [esi + 0x6c]
mov ebx, dword [esp + 0x1c]
cmp dword [esi + 0x70], eax
jg 0x1008639a
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x40]
push 0x1c
mov ecx, ebx
call fcn.1002f7a0
mov esi, dword [esp + 0x5c]
add esp, 8
jmp 0x100863d2
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov word [eax], 0xfd1c
jmp 0x100863d2
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x24], 1
je 0x100863e6
mov eax, dword [ebp + 8]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x40], eax
cmp dword [esp + 0x28], 0
mov ecx, dword [esp + 0x3c]
jne 0x100863f5
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x10086412
push 0
push ebx
push ecx
push 0x32
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x100867e4
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x32
jmp 0x100867e1
cmp dword [esp + 0x28], ecx
jne 0x1008654b
cmp dword [esp + 0x58], ecx
jne 0x1008654b
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x10086468
mov eax, dword [esp + 0x1c]
push ecx
push eax
push edi
push 0x24
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x10086492
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x24
mov eax, dword [ebp + 8]
dec dword [eax + 0x38]
mov ecx, dword [esi + 0x6c]
mov ebx, dword [eax + 0x38]
mov dword [esp + 0x40], ebx
cmp dword [esi + 0x70], ecx
jg 0x100864c2
mov eax, dword [esp + 0x20]
push 0
push eax
push edi
push 0x87
mov eax, esi
call fcn.1002f760
add esp, 0x10
xor edx, edx
jmp 0x100864f0
lea edx, [ecx + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x20]
mov dword [eax + 8], edx
xor edx, edx
mov dword [eax + 4], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x87
mov eax, ecx
mov dword [esp + 0xa8], eax
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1008651b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push eax
push ebx
push ecx
push 0x1f
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x100867e4
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov word [eax], 0x1f
jmp 0x100867e1
mov eax, dword [ebp + 8]
dec dword [eax + 0x38]
mov ebx, dword [eax + 0x38]
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x40], ebx
cmp dword [esi + 0x70], eax
jg 0x10086576
mov edx, dword [esp + 0x1c]
push 0
push edx
push edi
push 0x24
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x100865a0
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x24
mov eax, dword [esi + 0x6c]
xor edx, edx
mov dword [esp + 0xa8], eax
cmp dword [esp + 0x58], edx
je 0x10086746
cmp dword [esp + 0x80], edx
jne 0x100867e4
cmp dword [esp + 0x28], edx
je 0x1008669c
movsx ecx, word [esp + 0x78]
xor ebx, ebx
mov dword [esp + 0x34], ecx
cmp ecx, edx
jle 0x10086639
lea esp, [esp]
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x10086604
mov eax, dword [esp + 0x64]
lea ecx, [ebx + eax]
push ecx
push ebx
push edi
push 0x5e
mov eax, esi
call fcn.1002f760
mov ecx, dword [esp + 0x44]
add esp, 0x10
jmp 0x10086634
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x64]
add edx, ebx
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0x5e
inc ebx
cmp ebx, ecx
jl 0x100865e0
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x10086665
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x68]
push 0x1c
call fcn.1002f7a0
mov esi, dword [esp + 0x5c]
add esp, 8
jmp 0x100867e4
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov word [eax], 0xfd1c
jmp 0x100867e4
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0x20]
cmp dword [esi + 0x70], eax
jg 0x100866c1
push 0
push ebx
push edi
push 0x87
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x100866eb
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x87
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1008670f
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
push ebx
push edx
push eax
push 0x1f
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x100867e4
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 0
mov word [eax], 0x1f
jmp 0x100867e4
cmp dword [esi + 0x70], eax
jg 0x10086764
mov edx, dword [esp + 0x3c]
push 0
push edx
push edi
push 0x86
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x1008678e
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x86
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x100867b2
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
push 0
push 0x1c
mov ecx, ebx
call fcn.1002f7a0
mov esi, dword [esp + 0x5c]
add esp, 8
jmp 0x100867e4
mov ecx, dword [esi + 0x68]
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x18]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0xfd1c
mov dword [eax + 8], ebx
cmp byte [esp + 0x17], 0
je 0x10086936
cmp dword [esp + 0x58], 0
jne 0x1008689a
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x100868ed
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x94]
push ecx
mov edx, eax
push ebx
push edx
call fcn.1004cb20
mov edi, eax
add esp, 0xc
cmp edi, dword [esp + 0x4c]
je 0x100868ed
test ebx, ebx
je 0x10086841
test dword [ebx + 4], 0x400000
jne 0x1008683d
cmp byte [ebx], 0xb0
jne 0x10086841
mov al, 0x50
jmp 0x10086843
mov al, 0x51
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx + 0x6c]
movzx eax, al
cmp dword [ecx + 0x70], edx
jg 0x1008686c
mov edx, dword [esp + 0x4c]
push 0
push edx
push edi
push eax
mov eax, ecx
call fcn.1002f760
add esp, 0x10
jmp 0x100868ed
lea ebx, [edx + 1]
mov dword [ecx + 0x6c], ebx
mov ecx, dword [ecx + 0x68]
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*4]
mov byte [ecx], al
mov eax, dword [esp + 0x4c]
xor edx, edx
mov dword [ecx + 8], eax
xor eax, eax
mov word [ecx + 2], dx
mov dword [ecx + 4], edi
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], al
jmp 0x100868ed
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x100868bb
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x60]
push ecx
push edx
push edi
push 0x5e
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x100868ed
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x60]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x5e
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x1008690c
mov edx, dword [esp + 0x4c]
push 0
push 0
push edx
push 0xd
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x10086936
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x4c]
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0xd
cmp byte [esp + 0x33], 0
jne 0x10086960
cmp dword [esp + 0x50], 0
jne 0x10086967
cmp dword [esp + 0x68], 0
je 0x10086b38
mov edi, dword [esp + 0x10]
xor ebx, ebx
cmp byte [edi + 0x2b], 2
jne 0x1008697c
or eax, 0xffffffff
jmp 0x1008699c
cmp dword [esp + 0x50], 0
je 0x1008694f
mov edi, dword [esp + 0x10]
mov eax, dword [ebp + 8]
push edi
push eax
call fcn.10067c20
add esp, 8
mov ebx, eax
jmp 0x10086955
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push ecx
push edi
push 3
push 0
push edx
push eax
mov eax, dword [esp + 0x80]
call fcn.100848a0
add esp, 0x18
or ebx, eax
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x34], eax
cmp cx, word [edi + 0x22]
jge 0x10086ad8
mov dword [esp + 0x60], eax
jmp 0x100869c0
mov eax, dword [esp + 0x10]
test byte [eax + 0x1c], 0x20
mov edi, dword [eax + 4]
mov edx, dword [esp + 0x60]
movzx ecx, word [edx + edi + 0xe]
mov dword [esp + 0x94], ecx
je 0x10086a24
movzx eax, word [esp + 0x34]
test ax, ax
js 0x10086a24
cwde
xor edx, edx
xor ebx, ebx
test eax, eax
jle 0x10086a01
lea ecx, [edi + 0xe]
mov edx, eax
test byte [ecx], 0x20
jne 0x100869fb
inc ebx
add ecx, 0x10
dec eax
jne 0x100869f5
mov eax, edx
add eax, eax
test byte [edi + eax*8 + 0xe], 0x20
je 0x10086a1f
mov ecx, dword [esp + 0x10]
mov ax, word [ecx + 0x24]
sub ax, bx
add ax, dx
movzx eax, ax
jmp 0x10086a29
movzx eax, bx
jmp 0x10086a29
movzx eax, word [esp + 0x34]
movsx edx, ax
add edx, dword [esp + 0xac]
cmp dword [esp + 0x84], 0xffffffff
je 0x10086aa2
cmp dword [esp + 0x34], 0x20
jge 0x10086a58
mov ecx, dword [esp + 0x34]
mov eax, 1
shl eax, cl
test dword [esp + 0x84], eax
jne 0x10086aa2
test byte [esp + 0x94], 1
jne 0x10086aa2
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x10086a7a
push 0
push edx
push 0
push 0x4b
mov eax, esi
call fcn.1002f760
jmp 0x10086ab7
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x4b
jmp 0x10086aba
mov eax, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x40]
push esi
call fcn.1004c390
add esp, 0x10
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
movsx edx, word [ecx + 0x22]
add dword [esp + 0x60], 0x10
inc eax
mov dword [esp + 0x34], eax
cmp eax, edx
jl 0x100869c0
cmp byte [esp + 0x17], 0
jne 0x10086b38
cmp dword [esp + 0x28], 0
jne 0x10086b38
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x10086b08
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
push 0
push eax
push ecx
push 0x50
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x10086b38
mov ecx, dword [esi + 0x68]
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x20]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
xor ecx, ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x50
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x2b], 2
jne 0x10086b4f
mov dword [esp + 0x84], 0xffffffff
jmp 0x10086b75
mov ecx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 8]
mov edx, eax
mov eax, dword [ebp + 0x10]
push edx
push 1
push 1
push eax
mov eax, dword [esp + 0x7c]
push ecx
call fcn.100848a0
add esp, 0x18
mov dword [esp + 0x84], eax
mov edx, dword [esp + 0x10]
movsx ecx, word [edx + 0x22]
mov ebx, dword [esp + 0x98]
xor edi, edi
mov dword [esp + 0x34], edi
test ecx, ecx
jle 0x10086cfb
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0x10]
movsx edx, word [eax + 0x20]
cmp edi, edx
jne 0x10086bd9
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jle 0x10086e11
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x4b
jmp 0x10086ce0
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x60]
movzx eax, word [edx + eax + 0xe]
test al, 0x60
je 0x10086bf7
test al, 0x20
je 0x10086ce0
dec ebx
jmp 0x10086ce0
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + edi*4]
xor edx, edx
cmp eax, edx
jl 0x10086de5
cmp dword [esp + 0x58], edx
je 0x10086c6e
cmp dword [esp + 0x80], edx
jne 0x10086c1c
movsx ecx, word [esp + 0x78]
add ecx, eax
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x10086c3e
mov eax, dword [esp + 0x44]
push ebx
push ecx
push eax
push 0x5e
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x10086ce0
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 0
mov word [eax], 0x5e
jmp 0x10086ce0
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
mov ecx, dword [ebp + 0x10]
lea eax, [eax + eax*4]
mov edi, dword [ecx + eax*4 + 8]
je 0x10086cdc
push ebx
mov eax, edx
push edi
push eax
call fcn.1004cb20
add esp, 0xc
mov dword [esp + 0xac], eax
cmp eax, ebx
je 0x10086cdc
test edi, edi
je 0x10086caf
test dword [edi + 4], 0x400000
jne 0x10086cab
cmp byte [edi], 0xb0
jne 0x10086caf
mov al, 0x50
jmp 0x10086cb1
mov al, 0x51
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx + 0x6c]
movzx eax, al
cmp dword [ecx + 0x70], edx
jg 0x10086db1
mov edx, dword [esp + 0xac]
push 0
push ebx
push edx
push eax
mov eax, ecx
call fcn.1002f760
add esp, 0x10
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
movsx ecx, word [ecx + 0x22]
add dword [esp + 0x60], 0x10
inc edi
inc ebx
mov dword [esp + 0x34], edi
cmp edi, ecx
jl 0x10086b96
mov eax, dword [esp + 0x10]
test byte [eax + 0x1c], 0x60
je 0x10086d19
mov edx, dword [esp + 0x98]
mov ecx, dword [ebp + 8]
push edx
push ecx
call fcn.10068d60
add esp, 8
test byte [esp + 0x90], 1
je 0x10086f9b
mov ebx, dword [esp + 0x98]
mov eax, dword [esp + 0x10]
mov edi, esi
call fcn.10068a80
mov edx, dword [esp + 0x40]
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [ebp + 8]
push 1
push eax
push 0x81
push ecx
push edx
call fcn.10084800
add esp, 0x24
cmp dword [esp + 0x80], 0
jne 0x1008727d
cmp dword [esp + 0x28], 0
mov eax, dword [esi + 0x6c]
je 0x10086eab
cmp dword [esi + 0x70], eax
jg 0x10086e73
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x40]
push 0x1c
call fcn.1002f7a0
mov esi, dword [esp + 0x5c]
add esp, 8
jmp 0x10086f03
lea edi, [edx + 1]
mov dword [ecx + 0x6c], edi
mov ecx, dword [ecx + 0x68]
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*4]
mov byte [ecx], al
mov eax, dword [esp + 0xac]
xor edx, edx
mov dword [ecx + 4], eax
xor eax, eax
mov word [ecx + 2], dx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], al
jmp 0x10086cdc
test dword [esp + 0x90], 1
je 0x10086e4d
cmp edi, 0x1f
jg 0x10086e4d
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [esp + 0x84], eax
jne 0x10086e4d
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x10086e27
push 0
push ebx
push 0
push 0x4b
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x10086ce0
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0x4b
jmp 0x10086ce0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push ebx
push edx
push eax
push esi
mov eax, edi
call fcn.1004c390
add esp, 0x10
mov dword [esp + 0xbc], 0
jmp 0x10086ce0
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov word [eax], 0xfd1c
jmp 0x10086f03
cmp dword [esi + 0x70], eax
jg 0x10086ecd
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
push 0x1f
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x10086f03
mov ecx, dword [esi + 0x68]
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x18]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x1f
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x98]
xor eax, eax
xor edi, edi
mov dword [esp + 0x70], edx
cmp ax, word [ebx + 0x22]
jge 0x10086f7d
mov dword [esp + 0x90], edi
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x90]
movzx eax, word [ecx + edx + 0xe]
test al, 0x60
je 0x10086f40
test al, 0x20
je 0x10086f68
dec dword [esp + 0x70]
jmp 0x10086f68
mov eax, dword [esp + 0x2c]
cmp dword [eax + edi*4], 0
jge 0x10086f68
movsx ecx, word [ebx + 0x20]
cmp edi, ecx
je 0x10086f68
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x18]
push edx
push eax
push ebx
push esi
mov eax, edi
call fcn.1004c390
add esp, 0x10
movsx ecx, word [ebx + 0x22]
add dword [esp + 0x90], 0x10
inc dword [esp + 0x70]
inc edi
cmp edi, ecx
jl 0x10086f23
test byte [ebx + 0x1c], 0x60
je 0x10086fa9
mov edx, dword [esp + 0x98]
mov eax, dword [ebp + 8]
push edx
push eax
mov eax, ebx
call fcn.10068d60
add esp, 8
jmp 0x10086fa9
cmp dword [esp + 0x80], 0
jne 0x1008727d
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x40]
mov eax, dword [ebp + 0x18]
mov ebx, dword [esp + 0x18]
push 0
push ecx
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0xa8]
push edx
mov edx, dword [esp + 0x2c]
push edi
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0xc8]
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [ebp + 8]
push ebx
push edx
push eax
push ecx
call fcn.1006a780
add esp, 0x34
cmp dword [esp + 0xa0], 0
jne 0x1008700b
cmp byte [esp + 0x5c], 0
je 0x100870a5
cmp dword [esp + 0x28], 0
mov eax, dword [esi + 0x6c]
je 0x10087062
cmp dword [esi + 0x70], eax
jg 0x1008703b
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x3c]
push edx
push 0x1c
mov ecx, edi
mov edx, ebx
call fcn.1002f7a0
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x20]
add esp, 8
jmp 0x100870a5
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x3c]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0x10], ecx
mov word [eax], 0xfd1c
jmp 0x1008709c
cmp dword [esi + 0x70], eax
jg 0x1008707c
mov edx, dword [esp + 0x20]
push edx
push edi
push ebx
push 0x1f
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x100870a5
lea ecx, [eax + 1]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x6c], ecx
mov dword [eax + 0x10], 0
mov dword [eax], 0x1f
mov dword [eax + 0xc], edx
mov dword [eax + 8], edi
mov dword [eax + 4], ebx
xor edi, edi
cmp dword [esp + 0x50], edi
je 0x100870cf
movzx eax, byte [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [ebp + 8]
push edi
push edx
push eax
push ecx
call fcn.10067600
add esp, 0x18
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0xb0]
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push edx
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x24]
call fcn.10061fa0
add esp, 0x14
cmp dword [esp + 0xbc], edi
je 0x10087138
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x10087117
push edi
push edi
push ebx
push 0x8f
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x10087138
mov ecx, dword [esi + 0x68]
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], 0x8f
cmp dword [esp + 0x50], 1
jg 0x1008714d
cmp byte [esp + 0x5c], 0
jne 0x1008714d
mov eax, 0x40
jmp 0x1008714f
xor eax, eax
mov edi, dword [esp + 0x4c]
or eax, 4
mov ecx, eax
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x10087174
push edi
push ecx
push ebx
push 0x82
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x10087199
lea edx, [eax + 1]
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x68]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 0
mov dword [eax], 0x82
cmp dword [esp + 0x24], 2
jne 0x100871b7
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x100871b7
mov ecx, dword [esi + 0x68]
lea eax, [eax + eax*4]
mov edx, 2
mov word [ecx + eax*4 - 0x12], dx
mov eax, dword [ebp + 8]
cmp byte [eax + 0x12], 0
jne 0x100871f0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x100871d8
mov eax, dword [esp + 0x10]
mov edx, 0xfffffffb
call fcn.100304a0
jmp 0x100871f0
mov eax, dword [esi + 0x6c]
mov edx, dword [esi + 0x68]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4 - 0x14]
mov ecx, dword [esp + 0x10]
mov byte [eax + 1], 0xfb
mov dword [eax + 0x10], ecx
cmp dword [esp + 0x50], 0
je 0x10087216
movzx edx, byte [esp + 0x5c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [ebp + 8]
push eax
push edi
push 0
push ecx
push edx
call fcn.10067600
add esp, 0x18
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0xb0]
xor eax, eax
cmp dword [esp + 0x24], 2
push 0
setne al
push 0
dec eax
and eax, 2
or eax, 4
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 8]
push edi
push edx
push ebx
push eax
push ecx
call fcn.1006ccd0
add esp, 0x24
cmp dword [esp + 0x50], 0
je 0x1008727d
movzx edx, byte [esp + 0x5c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov ebx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0x10]
push eax
push ecx
push edx
call fcn.10068570
mov esi, dword [esp + 0x64]
add esp, 0x10
mov ebx, dword [esp + 0xb4]
xor edi, edi
cmp ebx, edi
je 0x100872c9
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x100872a4
push edi
push 1
push ebx
push 0x56
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x100872c9
lea ecx, [eax + 1]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov dword [esi + 0x6c], ecx
mov dword [eax + 4], ebx
mov dword [eax + 8], 1
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], 0x56
mov eax, dword [esp + 0x68]
cmp eax, edi
mov edi, dword [esp + 0x40]
je 0x100872fc
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x20]
push edi
push edx
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push 2
push ecx
push 0x81
push eax
push edx
call fcn.10084800
add esp, 0x24
mov eax, dword [esp + 0x24]
cmp eax, 1
je 0x100873df
cmp eax, 2
mov eax, dword [esi + 0xc]
not edi
jne 0x10087361
mov ecx, dword [eax + 0x3c]
add ecx, dword [eax + 0x38]
jns 0x10087343
push edi
push esi
mov edi, eax
call fcn.10030010
mov ecx, dword [esp + 0xc0]
mov ebx, dword [esp + 0xbc]
add esp, 8
push ecx
call fcn.1009a160
add esp, 4
jmp 0x100873df
mov edx, dword [eax + 0x40]
mov ecx, dword [esp + 0xb8]
mov eax, dword [esi + 0x6c]
push ecx
mov dword [edx + edi*4], eax
call fcn.1009a160
add esp, 4
jmp 0x100873df
mov edx, dword [eax + 0x3c]
add edx, dword [eax + 0x38]
jns 0x1008737e
push edi
push esi
mov edi, eax
call fcn.10030010
mov ebx, dword [esp + 0xbc]
add esp, 8
jmp 0x10087387
mov eax, dword [eax + 0x40]
mov ecx, dword [esi + 0x6c]
mov dword [eax + edi*4], ecx
mov eax, dword [esi + 0x6c]
cmp dword [esi + 0x70], eax
jg 0x100873ac
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x44]
push 0
push edx
push eax
push 0x27
mov eax, esi
call fcn.1002f760
add esp, 0x10
jmp 0x100873df
lea ecx, [eax + 1]
mov dword [esi + 0x6c], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x44]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0xa8]
mov dword [eax + 8], ecx
xor ecx, ecx
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x27
mov edi, dword [esi + 0xc]
mov edx, dword [edi + 0x3c]
add edx, dword [edi + 0x38]
mov eax, dword [esp + 0x1c]
not eax
jns 0x10087403
push eax
push esi
call fcn.10030010
mov ebx, dword [esp + 0xbc]
add esp, 8
jmp 0x1008740c
mov ecx, dword [edi + 0x40]
mov edx, dword [esi + 0x6c]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp + 8]
cmp byte [eax + 0x12], 0
jne 0x10087435
cmp dword [eax + 0x80], 0
jne 0x10087435
cmp dword [ebp + 0x1c], 0
jne 0x10087435
cmp dword [eax + 0x78], 0
je 0x10087435
mov esi, eax
call fcn.100691c0
mov esi, dword [esp + 0x54]
test ebx, ebx
je 0x10087448
push str.rows_updated
mov edi, ebx
call fcn.10060b90
add esp, 4
mov eax, dword [esp + 0xe0]
test eax, eax
je 0x10087460
mov ecx, dword [esp + 0xdc]
mov dword [eax + 0x100], ecx
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0xa4]
test edi, edi
je 0x1008751e
test esi, esi
je 0x100874c6
cmp edi, dword [esi + 0x174]
jae 0x100874b2
cmp edi, dword [esi + 0x16c]
jb 0x1008749a
mov edx, dword [esi + 0x168]
mov dword [edi], edx
mov dword [esi + 0x168], edi
jmp 0x1008751e
cmp edi, dword [esi + 0x170]
jb 0x100874b2
mov eax, dword [esi + 0x160]
mov dword [edi], eax
mov dword [esi + 0x160], edi
jmp 0x1008751e
cmp dword [esi + 0x220], 0
je 0x100874c6
mov eax, edi
mov ecx, esi
call fcn.1000a730
jmp 0x1008751e
cmp dword [0x1012c3e8], 0
je 0x10087514
mov eax, dword [0x1013afb8]
test eax, eax
je 0x100874e2
push eax
call dword [0x1012c438]
add esp, 4
push edi
call dword [0x1012c414]
sub dword [0x1013af50], eax
dec dword [0x1013af74]
add esp, 4
push edi
call dword [0x1012c40c]
mov eax, dword [0x1013afb8]
add esp, 4
test eax, eax
je 0x1008751e
push eax
call dword [0x1012c440]
jmp 0x1008751b
push edi
call dword [0x1012c40c]
add esp, 4
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, esi
call fcn.1005eb30
mov eax, dword [ebp + 0x10]
add esp, 4
test eax, eax
je 0x1008753d
push eax
push esi
call fcn.10049060
add esp, 8
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1008754e
push eax
push esi
call fcn.10047e40
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret