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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
xor esi, esi
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov eax, dword [ebx]
push edi
mov dword [esp + 0x70], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x24], eax
cmp dword [ebx + 0x44], esi
jne 0x10067c48
cmp byte [eax + 0x45], 0
jne 0x10067c48
mov eax, dword [ebp + 0xc]
push ebx
call fcn.10049870
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, esi
je 0x100666eb
mov ecx, dword [ebx]
mov edi, eax
mov esi, dword [edi + 0x40]
call fcn.10058ea0
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x4c]
push eax
push ecx
push 0x6e
mov edx, edi
mov eax, ebx
call fcn.10065760
xor edx, edx
add esp, 0xc
cmp dword [edi + 0xc], edx
mov dword [esp + 0x68], eax
setne dl
mov eax, edi
mov edi, ebx
mov dword [esp + 0x80], edx
call fcn.10045030
test eax, eax
jne 0x100666eb
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xc]
push eax
call fcn.10049900
add esp, 4
test eax, eax
jne 0x100666eb
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0xc]
mov dword [ecx + 0x38], eax
inc dword [ebx + 0x48]
mov esi, dword [ebx + 0x48]
mov dword [esp + 0x10], eax
mov dword [esp + 0x58], eax
inc eax
test byte [edx + 0x2a], 0x20
mov dword [esp + 0x64], eax
jne 0x100663b2
mov dword [esp + 0x28], 0
jmp 0x100663bd
mov eax, edx
call fcn.10042e10
mov dword [esp + 0x28], eax
mov eax, dword [edx + 8]
xor edi, edi
test eax, eax
je 0x100663f0
mov ecx, dword [eax + 0x38]
and cl, 3
cmp cl, 2
jne 0x100663e2
cmp dword [esp + 0x28], 0
je 0x100663e2
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x10], esi
mov dword [ecx + 0x38], esi
inc dword [ebx + 0x48]
mov eax, dword [eax + 0x14]
mov esi, dword [ebx + 0x48]
inc edi
test eax, eax
jne 0x100663c6
movsx edx, word [edx + 0x22]
add edx, edi
lea eax, [edi + edx*4 + 2]
push 0
push eax
mov eax, dword [esp + 0x2c]
call fcn.10004420
add esp, 8
mov dword [esp + 0x30], eax
test eax, eax
je 0x100666eb
mov esi, dword [esp + 0xc]
movsx ecx, word [esi + 0x22]
mov edx, eax
lea eax, [edx + ecx*4]
lea ecx, [eax + edi*4]
mov dword [esp + 0x8c], eax
lea eax, [edi + 1]
push eax
push 1
push ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0xa0], eax
call fcn.100a6a70
mov eax, dword [esp + 0x60]
mov byte [eax + edi + 1], 0
xor ecx, ecx
add esp, 0xc
xor eax, eax
cmp cx, word [esi + 0x22]
jge 0x10066474
lea esp, [esp]
mov edx, dword [esp + 0x30]
mov dword [edx + eax*4], 0xffffffff
movsx ecx, word [esi + 0x22]
inc eax
cmp eax, ecx
jl 0x10066460
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], edi
mov byte [esp + 0x23], al
mov byte [esp + 0x1b], al
mov dword [esp + 0x2c], eax
cmp dword [edx], eax
jle 0x100666ad
mov dword [esp + 0x40], eax
lea ebx, [ebx]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x40]
mov edi, dword [edx + ecx]
lea esi, [esp + 0xa0]
call fcn.10037970
test eax, eax
jne 0x100666eb
mov eax, dword [esp + 0xc]
movsx ecx, word [eax + 0x22]
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x78], ecx
test ecx, ecx
jle 0x100665f4
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x40]
mov eax, dword [eax + 4]
add ecx, edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
lea esp, [esp]
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx]
mov dl, byte [ecx]
mov edi, dword [esp + 0x34]
movzx edi, byte [edi]
movzx edi, byte [edi + 0x100b8af0]
movzx eax, dl
movzx eax, byte [eax + 0x100b8af0]
sub eax, edi
jne 0x1006659c
mov edi, dword [esp + 0x34]
sub edi, ecx
lea ebx, [ebx]
test dl, dl
je 0x10066598
movzx eax, byte [ecx + edi + 1]
movzx esi, byte [eax + 0x100b8af0]
mov dl, byte [ecx + 1]
inc ecx
movzx eax, dl
movzx eax, byte [eax + 0x100b8af0]
sub eax, esi
mov esi, dword [esp + 0x14]
je 0x10066570
jmp 0x1006659c
test eax, eax
je 0x100665ae
add dword [esp + 0x3c], 0x10
inc esi
mov dword [esp + 0x14], esi
cmp esi, dword [esp + 0x78]
jl 0x10066540
jmp 0x100665f0
mov eax, dword [esp + 0xc]
movsx ecx, word [eax + 0x20]
cmp esi, ecx
jne 0x100665cb
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
mov byte [esp + 0x1b], 1
mov dword [esp + 0x60], eax
jmp 0x100665e5
cmp dword [esp + 0x28], 0
je 0x100665e5
mov eax, dword [eax + 4]
mov ecx, esi
add ecx, ecx
test byte [eax + ecx*8 + 0xf], 1
je 0x100665e5
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov dword [edx + esi*4], eax
mov eax, dword [esp + 0xc]
movsx ecx, word [eax + 0x22]
cmp esi, ecx
jl 0x1006663e
cmp dword [esp + 0x28], 0
jne 0x100666c7
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
add eax, dword [esp + 0x40]
mov edi, dword [eax + 4]
mov dword [esp + 0x38], eax
call fcn.10039e20
test eax, eax
je 0x100666c7
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
mov dword [esp + 0x60], eax
or esi, 0xffffffff
mov byte [esp + 0x1b], 1
mov eax, str.ROWID
jmp 0x10066653
test esi, esi
jns 0x10066649
mov eax, str.ROWID
jmp 0x10066653
mov edx, dword [eax + 4]
mov ecx, esi
add ecx, ecx
mov eax, dword [edx + ecx*8]
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x24]
mov edx, dword [edi + 0x10]
add ecx, ecx
mov ecx, dword [edx + ecx*8]
mov edx, dword [esp + 0xc]
push ecx
push eax
mov eax, dword [edx]
push eax
push 0x17
mov eax, ebx
call fcn.100419d0
add esp, 0x10
cmp eax, 1
je 0x100666ef
cmp eax, 2
jne 0x1006668d
mov ecx, dword [esp + 0x30]
mov dword [ecx + esi*4], 0xffffffff
mov eax, dword [esp + 0x2c]
mov edx, dword [ebp + 0x10]
add dword [esp + 0x40], 0x18
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [edx]
jl 0x100664e0
mov esi, dword [esp + 0xc]
mov edi, dword [ebp + 0xc]
mov al, byte [esp + 0x23]
add al, byte [esp + 0x1b]
test byte [esi + 0x2a], 0x10
mov byte [esp + 0x34], al
je 0x10066739
or ecx, 0xffffffff
or edx, 0xffffffff
jmp 0x1006673d
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*8 + 4]
push eax
push str.no_such_column:__s
push ebx
call fcn.10006e10
add esp, 0xc
mov byte [ebx + 0x11], 1
mov edi, dword [esp + 0x24]
mov ebx, dword [ebp + 0x14]
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x1006670a
mov ecx, dword [esp + 0x98]
mov dword [eax + 0x1f0], ecx
mov esi, dword [esp + 0x30]
test esi, esi
je 0x10067ccd
test edi, edi
je 0x10067c75
cmp dword [edi + 0x1c8], 0
je 0x10067c4f
mov eax, esi
mov ecx, edi
call fcn.100040f0
jmp 0x10067ccd
xor ecx, ecx
xor edx, edx
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], edx
mov ecx, dword [ebx]
test dword [ecx + 0x18], 0x80000
je 0x1006676c
movzx edx, byte [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
push esi
call fcn.1004fcd0
mov dword [esp + 0x44], eax
mov al, byte [esp + 0x40]
add esp, 0xc
jmp 0x10066774
mov dword [esp + 0x38], 0
mov edi, dword [esi + 8]
mov dword [esp + 0x14], 0
test edi, edi
je 0x1006681a
jmp 0x10066794
mov al, byte [esp + 0x34]
test al, al
jne 0x100667e5
cmp dword [esp + 0x38], 0
jne 0x100667e5
cmp dword [edi + 0x24], 0
jne 0x100667e5
cmp edi, dword [esp + 0x28]
je 0x100667e5
movzx edx, word [edi + 0x32]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x78], ecx
test edx, edx
jle 0x100667ef
mov edx, dword [edi + 4]
mov esi, dword [esp + 0x30]
movzx ecx, word [edx]
test cx, cx
js 0x100667e5
movsx ecx, cx
cmp dword [esi + ecx*4], 0
jge 0x100667e5
movzx ecx, word [edi + 0x32]
inc eax
add edx, 2
cmp eax, ecx
jl 0x100667c2
mov ecx, dword [esp + 0x78]
jmp 0x100667ef
inc dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
jne 0x100667fc
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
mov byte [edx + eax + 1], 0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x8c]
mov dword [edx + eax*4], ecx
mov edi, dword [edi + 0x14]
inc eax
mov dword [esp + 0x14], eax
test edi, edi
jne 0x10066790
mov eax, dword [ebx + 8]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100668a2
push ebx
call fcn.10023fe0
mov esi, eax
add esp, 4
mov dword [ebx + 8], eax
mov dword [esp + 0x14], esi
test esi, esi
je 0x10066881
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x58], eax
jg 0x1006685b
push 0
push 0
push 0
push 0x9e
call fcn.10024290
add esp, 0x10
jmp 0x10066881
mov ecx, dword [esi + 4]
lea edx, [eax + 1]
mov dword [esi + 0x20], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x9e
cmp dword [ebx + 0x1a0], 0
jne 0x10066896
mov edx, dword [ebx]
test byte [edx + 0x40], 8
jne 0x10066896
mov byte [ebx + 0x17], 1
test esi, esi
je 0x100666eb
mov eax, dword [esp + 0x14]
cmp byte [ebx + 0x12], 0
jne 0x100668ac
or dword [eax + 0x60], 4
mov eax, dword [ebx + 0x1a0]
test eax, eax
je 0x100668be
mov edi, eax
mov dword [esp + 0x3c], edi
jmp 0x100668c4
mov edi, ebx
mov dword [esp + 0x3c], ebx
test eax, eax
jne 0x100668ca
mov eax, ebx
mov ecx, dword [esp + 0x6c]
mov edx, dword [eax + 0x154]
mov esi, 1
shl esi, cl
test edx, esi
jne 0x10066912
mov edi, esi
or edi, edx
mov edx, dword [eax]
mov dword [eax + 0x154], edi
mov edx, dword [edx + 0x10]
mov edi, ecx
add edi, edi
mov edx, dword [edx + edi*8 + 0xc]
mov edx, dword [edx]
mov dword [eax + ecx*4 + 0x158], edx
cmp ecx, 1
jne 0x1006690e
mov ebx, eax
call fcn.10047f00
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
or dword [edi + 0x150], esi
or byte [edi + 0x14], 1
test byte [ecx + 0x2a], 0x10
jne 0x1006699e
mov edx, 1
add dword [ebx + 0x4c], edx
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x48], eax
inc eax
cmp byte [esp + 0x23], 0
mov dword [ebx + 0x4c], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x1c], eax
jne 0x10066956
cmp dword [esp + 0x68], 0
jne 0x10066956
cmp dword [esp + 0x38], 0
je 0x10066969
lea esi, [eax + 1]
mov dword [esp + 0x90], esi
movsx esi, word [ecx + 0x22]
add esi, eax
mov dword [ebx + 0x4c], esi
cmp byte [esp + 0x34], 0
jne 0x1006697e
cmp dword [esp + 0x68], 0
jne 0x1006697e
cmp dword [esp + 0x38], 0
je 0x10066988
add dword [ebx + 0x4c], edx
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x4c]
lea edx, [eax + 1]
mov dword [esp + 0x84], edx
movsx edx, word [ecx + 0x22]
add edx, eax
mov dword [ebx + 0x4c], edx
cmp dword [esp + 0x80], 0
je 0x100669d7
mov eax, dword [ebx + 0x1f0]
mov edx, dword [ecx]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x10]
push eax
mov dword [ebx + 0x1f0], edx
mov edx, dword [ebp + 0x14]
push edx
push ecx
push ebx
mov dword [esp + 0xac], ebx
call fcn.10049990
add esp, 0x10
mov edi, dword [ebp + 0x14]
lea esi, [esp + 0xa0]
call fcn.10037970
test eax, eax
jne 0x100666eb
mov eax, dword [esp + 0xc]
mov cl, byte [eax + 0x2a]
test cl, 0x10
je 0x10066a29
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x64]
mov ebx, edi
push ebx
push edx
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
call fcn.10067eb0
mov edi, dword [esp + 0x44]
add esp, 0x20
jmp 0x100666f2
mov edi, dword [esp + 0x14]
test cl, 0x20
jne 0x10066b55
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x10066a5b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
push eax
push ecx
push 0
push 0x19
mov esi, edi
call fcn.10024290
add esp, 0x10
jmp 0x10066a89
mov ecx, dword [edi + 4]
lea edx, [eax + 1]
mov dword [edi + 0x20], edx
mov edx, dword [esp + 0x48]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1c]
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov word [eax], 0x19
mov eax, dword [esp + 0x64]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 4
push 0
push 0
push ecx
push edx
push eax
call fcn.10073a40
mov ebx, eax
add esp, 0x1c
mov dword [esp + 0x3c], ebx
test ebx, ebx
je 0x100666eb
movzx eax, byte [ebx + 0x28]
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x40]
mov dword [esp + 0x78], ecx
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x7c], edx
cmp dword [ecx + 0x58], eax
jg 0x10066af3
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push 0
push edx
push eax
push 0x67
mov esi, edi
call fcn.10024290
add esp, 0x10
xor esi, esi
jmp 0x10066b21
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x1c]
xor esi, esi
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x67
cmp dword [esp + 0x40], esi
jne 0x10066b47
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
mov edx, 0x81
call fcn.10024400
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x3c]
xor esi, esi
push ebx
call fcn.10074490
add esp, 4
jmp 0x10066d71
mov eax, dword [esp + 0x28]
movzx ecx, word [eax + 0x32]
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x4c]
lea edx, [eax + 1]
movsx ebx, cx
lea eax, [ebx + eax + 1]
mov dword [esi + 0x4c], eax
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x50], eax
inc eax
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x2c], edx
cmp dword [ecx + 0x58], eax
jg 0x10066ba4
push 0
push edx
push 0
push 0x19
mov esi, edi
call fcn.10024290
mov esi, dword [ebp + 8]
add esp, 0x10
jmp 0x10066bca
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
mov ecx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x19
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x58], ecx
jg 0x10066bf2
mov eax, dword [esp + 0x50]
push 0
push ebx
push eax
push 0x39
mov esi, edi
call fcn.10024290
mov esi, dword [ebp + 8]
add esp, 0x10
mov dword [esp + 0x6c], eax
jmp 0x10066c20
lea edx, [ecx + 1]
mov dword [edi + 0x20], edx
mov edx, dword [edi + 4]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x50]
mov dword [eax + 4], edx
xor edx, edx
mov byte [eax + 3], 0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x39
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x28]
mov eax, esi
call fcn.10025030
mov eax, dword [esp + 0x64]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push eax
push 4
push 0
push 0
push ecx
push edx
push esi
call fcn.10073a40
add esp, 0x1c
mov dword [esp + 0x3c], eax
test eax, eax
je 0x100666eb
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
movzx eax, byte [eax + 0x28]
xor esi, esi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x40], eax
test ebx, ebx
jle 0x10066c9c
nop
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x10]
add ecx, esi
push ecx
movsx ecx, word [eax + esi*2]
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
mov eax, edi
call fcn.1003b7a0
inc esi
add esp, 0x10
cmp esi, ebx
jl 0x10066c70
cmp dword [esp + 0x40], 0
je 0x10066ce1
mov edx, dword [edi]
cmp byte [edx + 0x45], 0
jne 0x10066cd0
mov eax, dword [esp + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
lea esi, [eax + ecx*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.10024cd0
mov dword [esi + 0x10], 0
mov word [esi], 0xa0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x44], ecx
jmp 0x10066d5e
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push ebx
push ecx
call fcn.100509e0
mov edx, dword [esp + 0x34]
add esp, 4
push eax
mov eax, dword [esp + 0x4c]
push edx
push 0x31
mov edx, ebx
mov ecx, edi
call fcn.10024690
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
add esp, 0x10
cmp dword [ecx + 0x58], eax
jg 0x10066d30
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x50]
push 0
push edx
push eax
push 0x6e
mov esi, edi
call fcn.10024290
add esp, 0x10
jmp 0x10066d5e
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0x50]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x44]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x6e
mov eax, dword [esp + 0x3c]
push eax
call fcn.10074490
mov edi, dword [esp + 0x18]
add esp, 4
xor esi, esi
mov ecx, dword [esp + 0x24]
test byte [ecx + 0x18], 0x80
je 0x10066dd2
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1a4], esi
jne 0x10066dd2
inc dword [eax + 0x4c]
mov ecx, dword [eax + 0x4c]
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
mov dword [esp + 0x74], ecx
cmp dword [edx + 0x58], eax
jg 0x10066dae
push 0
push ecx
push 0
push 0x16
mov esi, edi
call fcn.10024290
add esp, 0x10
jmp 0x10066dd2
lea edx, [eax + 1]
mov dword [edi + 0x20], edx
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov byte [eax + 3], 0
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov word [eax], 0x16
mov esi, dword [edi + 0x18]
mov ebx, dword [esi + 0x74]
lea ecx, [ebx - 1]
lea eax, [ebx + 1]
mov dword [esi + 0x74], eax
test ebx, ecx
jne 0x10066dff
mov eax, dword [esi + 0x78]
mov ecx, dword [esi]
lea edx, [ebx*8 + 4]
push 0
push edx
call fcn.100045e0
add esp, 8
mov dword [esi + 0x78], eax
mov esi, dword [esi + 0x78]
test esi, esi
je 0x10066e0d
mov dword [esi + ebx*4], 0xffffffff
or esi, 0xffffffff
sub esi, ebx
cmp dword [esp + 0x80], 0
mov dword [esp + 0x6c], esi
jne 0x10066eaa
mov ecx, 5
cmp dword [ebp + 0x18], ecx
jne 0x10066e47
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0x54]
push eax
push 1
push ebx
call fcn.100a6a70
add esp, 0xc
jmp 0x10066e62
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 8]
test eax, eax
je 0x10066e5e
cmp byte [eax + 0x36], cl
je 0x10066e2e
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x10066e52
mov ebx, dword [esp + 0x54]
cmp dword [esp + 0x40], 0
je 0x10066e89
mov eax, dword [esp + 0x78]
test eax, eax
js 0x10066e79
sub eax, dword [esp + 0x58]
mov byte [eax + ebx], 0
mov eax, dword [esp + 0x7c]
test eax, eax
js 0x10066e89
sub eax, dword [esp + 0x58]
mov byte [eax + ebx], 0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
push 0
push 0
push ebx
push ecx
push 0
push 0x37
push edx
push eax
call fcn.10053b90
add esp, 0x20
jmp 0x10066eae
mov ebx, dword [esp + 0x54]
cmp dword [esp + 0x40], 0
je 0x10066f48
sub ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x10]
cmp byte [ebx + eax], 0
je 0x10066eec
cmp dword [esp + 0x80], 0
jne 0x10066eec
mov ecx, dword [esp + 0x88]
push ecx
push eax
mov eax, dword [esp + 0x4c]
push 0x44
mov edx, esi
mov ecx, edi
call fcn.100247f0
add esp, 0xc
mov ecx, dword [esp + 0x44]
xor edx, edx
mov dword [esp + 0x14], esi
cmp dword [esp + 0x28], edx
jne 0x10066f00
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x20]
mov ebx, dword [edi + 0x18]
cmp dword [ebx + 0x58], eax
jg 0x10066f20
push 0
push esi
push ecx
push 0x4c
mov esi, edi
call fcn.10024290
add esp, 0x10
jmp 0x10067105
lea ebx, [eax + 1]
mov dword [edi + 0x20], ebx
mov ebx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
mov byte [eax + 3], dl
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x4c
jmp 0x10067105
cmp dword [esp + 0x28], 0
je 0x1006705c
mov eax, dword [edi + 0x18]
mov ebx, dword [eax + 0x74]
lea edx, [ebx - 1]
lea ecx, [ebx + 1]
mov dword [esp + 0x58], eax
mov dword [eax + 0x74], ecx
test ebx, edx
jne 0x10066f8e
mov ecx, dword [esp + 0x58]
lea eax, [ebx*8 + 4]
push 0
push eax
mov eax, dword [ecx + 0x78]
mov ecx, dword [ecx]
call fcn.100045e0
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0x78], eax
add esp, 8
mov eax, ecx
mov eax, dword [eax + 0x78]
xor ecx, ecx
cmp eax, ecx
je 0x10066f9e
mov dword [eax + ebx*4], 0xffffffff
mov edx, dword [edi + 0x18]
or eax, 0xffffffff
sub eax, ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x20]
cmp dword [edx + 0x58], eax
jg 0x10066fc8
push 0
push esi
push ebx
push 0x6c
mov esi, edi
call fcn.10024290
add esp, 0x10
jmp 0x10066feb
lea edx, [eax + 1]
mov dword [edi + 0x20], edx
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov byte [eax + 3], cl
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x6c
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x1006700c
mov ecx, dword [esp + 0x44]
push 0
push ecx
push ebx
push 0x65
mov esi, edi
call fcn.10024290
add esp, 0x10
jmp 0x10067038
lea edx, [ecx + 1]
mov dword [edi + 0x20], edx
mov edx, dword [edi + 4]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x44]
mov dword [eax + 8], edx
xor edx, edx
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x65
mov eax, ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x10]
push 0
push eax
mov eax, dword [esp + 0x4c]
push 0x44
mov ecx, edi
call fcn.100247f0
add esp, 0xc
jmp 0x10067105
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
mov ebx, dword [esp + 0x1c]
cmp dword [edx + 0x58], ecx
jg 0x10067083
mov eax, dword [esp + 0x48]
push ebx
push esi
push eax
push 0x82
mov esi, edi
call fcn.10024290
add esp, 0x10
jmp 0x100670b5
lea edx, [ecx + 1]
mov dword [edi + 0x20], edx
mov edx, dword [edi + 4]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1c]
mov byte [eax + 3], 0
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0x82
mov eax, ecx
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
mov dword [esp + 0x14], eax
cmp dword [edx + 0x58], ecx
jg 0x100670d9
push ebx
push eax
mov eax, dword [esp + 0x18]
push eax
push 0x46
mov esi, edi
call fcn.10024290
add esp, 0x10
jmp 0x10067105
lea edx, [ecx + 1]
mov dword [edi + 0x20], edx
mov edx, dword [edi + 4]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4]
mov edx, dword [esp + 0x10]
mov byte [ecx + 3], 0
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], 0
mov word [ecx], 0x46
cmp byte [esp + 0x1b], 0
je 0x10067166
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call fcn.1003cbd0
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
add esp, 0xc
cmp dword [edx + 0x58], eax
jg 0x10067140
push 0
push 0
push esi
push 0x26
mov esi, edi
call fcn.10024290
add esp, 0x10
jmp 0x10067166
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x26
cmp byte [esp + 0x23], 0
jne 0x10067222
cmp dword [esp + 0x38], 0
jne 0x1006722d
cmp dword [esp + 0x68], 0
je 0x10067307
mov dword [esp + 0x48], 0
mov eax, dword [ebp + 0x18]
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [esp + 0x6c]
push esi
push 3
push 0
push ecx
push edx
call fcn.100660c0
or dword [esp + 0x60], eax
xor eax, eax
add esp, 0x18
xor ebx, ebx
cmp ax, word [esi + 0x22]
jge 0x100672a6
xor edx, edx
mov dword [esp + 0x60], edx
cmp dword [esp + 0x48], 0xffffffff
je 0x10067276
cmp ebx, 0x20
jge 0x100671eb
mov eax, 1
mov ecx, ebx
shl eax, cl
test dword [esp + 0x48], eax
jne 0x10067276
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x60]
test byte [eax + ecx + 0xf], 1
jne 0x10067276
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x58], eax
jg 0x10067247
mov edx, dword [esp + 0x90]
push 0
lea eax, [ebx + edx]
push eax
push 0
push 0x19
mov esi, edi
call fcn.10024290
mov esi, dword [esp + 0x1c]
jmp 0x1006728f
cmp dword [esp + 0x38], 0
je 0x10067187
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.1004fbf0
add esp, 8
mov dword [esp + 0x48], eax
jmp 0x1006718f
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
mov ecx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x90]
add ecx, ebx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x19
jmp 0x10067294
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x10]
lea eax, [ebx + edx]
push eax
push ebx
push ecx
push esi
mov eax, edi
call fcn.1003b7a0
add esp, 0x10
xor edx, edx
movsx eax, word [esi + 0x22]
add dword [esp + 0x60], 0x10
inc ebx
cmp ebx, eax
jl 0x100671c8
cmp byte [esp + 0x1b], 0
jne 0x10067307
cmp dword [esp + 0x28], 0
jne 0x10067307
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x58], eax
jg 0x100672d9
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x1c]
push 0
push edx
push eax
push 0x1e
mov esi, edi
call fcn.10024290
add esp, 0x10
jmp 0x10067307
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x1e
mov eax, dword [ebp + 0x18]
mov ebx, dword [esp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0x68]
push eax
push ebx
push 1
push 1
push ecx
push edx
mov eax, esi
call fcn.100660c0
mov dword [esp + 0x90], eax
xor eax, eax
add esp, 0x18
mov dword [esp + 0x2c], 0
cmp ax, word [ebx + 0x22]
jge 0x100674f0
mov ebx, dword [esp + 0x84]
lea esp, [esp]
mov ecx, dword [esp + 0xc]
movsx edx, word [ecx + 0x20]
mov ecx, dword [esp + 0x2c]
cmp ecx, edx
jne 0x10067389
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x58], eax
jle 0x100673dc
mov ecx, dword [edi + 4]
lea edx, [eax + 1]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [edi + 0x20], edx
xor ecx, ecx
mov dword [eax + 4], ecx
mov word [eax], 0x19
jmp 0x100674c3
mov edx, dword [esp + 0x30]
mov eax, dword [edx + ecx*4]
xor edx, edx
cmp eax, edx
jl 0x100673b5
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
mov ecx, dword [ebp + 8]
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*8]
push ebx
push eax
push ecx
call fcn.1003cbd0
add esp, 0xc
jmp 0x100674d0
test dword [esp + 0x4c], 1
je 0x1006741a
cmp ecx, 0x1f
jg 0x1006741a
mov eax, 1
shl eax, cl
test dword [esp + 0x78], eax
jne 0x1006741a
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x58], eax
jg 0x100673f2
push 0
push ebx
push 0
push 0x19
mov esi, edi
call fcn.10024290
add esp, 0x10
jmp 0x100674d0
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
mov ecx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 3], dl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x19
jmp 0x100674d0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
xor ecx, ecx
add esi, 0x7c
cmp dword [esi + 0xc], 0
jle 0x1006743d
mov edx, dword [esi]
cmp edx, dword [esp + 0x10]
jne 0x1006743d
movsx edx, word [esi + 4]
cmp edx, dword [esp + 0x2c]
je 0x1006746f
inc ecx
add esi, 0x14
cmp ecx, 0xa
jl 0x10067425
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push ebx
push esi
push edx
push ecx
call fcn.1003b7a0
mov edx, dword [esp + 0x20]
push ebx
push esi
push edx
mov edx, dword [ebp + 8]
call fcn.1003b400
add esp, 0x1c
jmp 0x100674d0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x70]
mov dword [esi + 0x10], ecx
inc dword [eax + 0x70]
mov ecx, dword [esi + 0xc]
call fcn.1003b710
mov esi, dword [esi + 0xc]
cmp esi, ebx
je 0x100674d0
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x18]
cmp dword [edx + 0x58], ecx
jg 0x100674aa
push 0
push ebx
push esi
push 0x1f
mov esi, eax
call fcn.10024290
add esp, 0x10
jmp 0x100674d0
lea edx, [ecx + 1]
mov dword [eax + 0x20], edx
mov edx, dword [eax + 4]
lea ecx, [ecx + ecx*4]
lea eax, [edx + ecx*4]
mov dword [eax + 4], esi
xor ecx, ecx
mov word [eax], 0x1f
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ebx
mov byte [eax + 3], 0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
movsx edx, word [ecx + 0x22]
inc eax
inc ebx
mov dword [esp + 0x2c], eax
cmp eax, edx
jl 0x10067350
mov esi, dword [esp + 0x68]
mov ebx, ecx
test byte [esp + 0x4c], 1
je 0x1006761a
mov eax, dword [esp + 0x84]
push eax
push edi
mov eax, ebx
call fcn.10050ac0
add esp, 8
test esi, esi
je 0x10067555
cmp byte [esi + 8], 0x6e
jne 0x1006754e
cmp byte [esi + 9], 1
jne 0x1006754e
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi + 0x10]
push ecx
push edx
call fcn.10065660
add esp, 8
test eax, eax
je 0x1006754e
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push ebx
push esi
push eax
call fcn.10065f90
add esp, 0x18
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x10067512
cmp dword [esp + 0x28], 0
mov edx, dword [esp + 0x14]
je 0x1006757f
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x10]
push ecx
push eax
mov eax, dword [esp + 0x4c]
push 0x44
mov ecx, edi
call fcn.100247f0
add esp, 0xc
jmp 0x100675d3
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x58], eax
jg 0x100675a3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push eax
push edx
push ecx
push 0x46
mov esi, edi
call fcn.10024290
add esp, 0x10
jmp 0x100675d3
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
mov ecx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1c]
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0x46
mov ecx, dword [esp + 0xc]
xor eax, eax
xor esi, esi
cmp ax, word [ecx + 0x22]
jge 0x1006761a
mov ebx, ecx
mov edx, dword [esp + 0x30]
cmp dword [edx + esi*4], 0
jge 0x10067611
movsx eax, word [ebx + 0x20]
cmp esi, eax
je 0x10067611
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x10]
lea edx, [esi + ecx]
push edx
push esi
push eax
push ebx
mov eax, edi
call fcn.1003b7a0
add esp, 0x10
movsx ecx, word [ebx + 0x22]
inc esi
cmp esi, ecx
jl 0x100675e3
cmp dword [esp + 0x80], 0
jne 0x10067860
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x24]
push esi
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
xor ebx, ebx
push eax
mov dword [esp + 0x7c], ebx
call fcn.100523a0
add esp, 0x30
cmp dword [esp + 0x38], ebx
je 0x10067697
movzx ecx, byte [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push ebx
push esi
push eax
push ecx
call fcn.1004f5d0
add esp, 0x18
cmp dword [esp + 0x4c], ebx
jne 0x100676a3
cmp byte [esp + 0x34], bl
je 0x1006771e
xor edx, edx
cmp dword [esp + 0x28], edx
je 0x100676ce
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x4c]
push 0x44
xor edx, edx
mov ecx, edi
call fcn.100247f0
add esp, 0xc
mov ebx, eax
jmp 0x1006771e
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x100676f5
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push ecx
push 0
push edx
push 0x46
mov esi, edi
call fcn.10024290
add esp, 0x10
mov ebx, eax
jmp 0x1006771e
mov ebx, dword [edi + 4]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea eax, [ecx + ecx*4]
lea eax, [ebx + eax*4]
mov ebx, dword [esp + 0x10]
mov dword [eax + 4], ebx
mov byte [eax + 3], dl
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], edx
mov word [eax], 0x46
mov ebx, ecx
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
push 0xffffffffffffffff
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov ecx, esi
call fcn.1004a8a0
add esp, 0x14
cmp dword [esp + 0x38], 0
jne 0x10067759
cmp byte [esp + 0x34], 0
jne 0x10067759
cmp dword [esp + 0x28], 0
je 0x100677a9
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x1006777f
mov eax, dword [esp + 0x10]
push 0
push 0
push eax
push 0x5f
mov esi, edi
call fcn.10024290
mov esi, dword [esp + 0x1c]
add esp, 0x10
jmp 0x100677a9
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x5f
cmp dword [esp + 0x4c], 0
jne 0x100677b7
cmp byte [esp + 0x34], 0
je 0x100677e6
mov edx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
dec edx
mov dword [eax + 0x60], edx
mov eax, dword [edi + 0x20]
test ebx, ebx
jns 0x100677cb
lea ebx, [eax - 1]
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
je 0x100677da
mov ecx, 0x100d87f0
jmp 0x100677e3
mov ecx, dword [edi + 4]
lea edx, [ebx + ebx*4]
lea ecx, [ecx + edx*4]
mov dword [ecx + 8], eax
cmp dword [esp + 0x38], 0
je 0x1006780c
movzx edx, byte [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push 0
push esi
push edx
call fcn.1004f5d0
add esp, 0x18
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
push 0
push 0
push 1
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push esi
push ecx
call fcn.100538e0
add esp, 0x24
cmp dword [esp + 0x38], 0
je 0x10067860
movzx edx, byte [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0xc]
mov ebx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0x10]
push eax
push ecx
push edx
call fcn.10050690
add esp, 0x10
mov eax, dword [esp + 0x24]
test byte [eax + 0x18], 0x80
je 0x100678c3
mov edx, dword [ebp + 8]
xor ecx, ecx
cmp dword [edx + 0x1a4], ecx
jne 0x100678c3
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x10067898
mov eax, dword [esp + 0x74]
push ecx
push 1
push eax
push 0x25
mov esi, edi
call fcn.10024290
add esp, 0x10
jmp 0x100678c3
lea edx, [eax + 1]
mov dword [edi + 0x20], edx
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x74]
mov byte [eax + 3], cl
mov dword [eax + 4], edx
mov dword [eax + 8], 1
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x25
mov esi, dword [esp + 0x68]
mov ebx, dword [esp + 0x14]
test esi, esi
je 0x10067913
nop
cmp byte [esi + 8], 0x6e
jne 0x1006790c
cmp byte [esi + 9], 2
jne 0x1006790c
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x10]
push eax
push ecx
call fcn.10065660
add esp, 8
test eax, eax
je 0x1006790c
mov edx, dword [ebp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
push ebx
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push esi
push edx
call fcn.10065f90
add esp, 0x18
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x100678d0
cmp dword [esp + 0x40], 0
jne 0x100679cc
mov ecx, dword [edi + 0x18]
xor edx, edx
cmp dword [esp + 0x28], edx
je 0x1006798e
mov eax, dword [ecx + 0x78]
cmp eax, edx
je 0x1006793e
lea esi, [ebx*4 + 4]
sub eax, esi
mov esi, dword [edi + 0x20]
mov dword [eax], esi
mov eax, dword [edi + 0x20]
dec eax
mov dword [ecx + 0x60], eax
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
cmp dword [ecx + 0x58], eax
jg 0x1006796a
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x50]
push 0
push edx
push eax
push 7
mov esi, edi
call fcn.10024290
add esp, 0x10
jmp 0x100679cc
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
mov ecx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov word [eax], 7
jmp 0x100679c3
mov eax, dword [edi + 0x20]
cmp dword [ecx + 0x58], eax
jg 0x100679a9
push 0
push ebx
push 0
push 0xd
mov esi, edi
call fcn.10024290
add esp, 0x10
jmp 0x100679cc
lea ecx, [eax + 1]
mov dword [edi + 0x20], ecx
mov ecx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov word [eax], 0xd
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], edx
mov byte [eax + 3], dl
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x100679e8
mov edx, dword [esp + 0x6c]
lea edx, [edx*4 + 4]
sub eax, edx
mov edx, dword [edi + 0x20]
mov dword [eax], edx
mov eax, dword [edi + 0x20]
dec eax
mov dword [ecx + 0x60], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 8]
mov dword [esp + 0x70], eax
test eax, eax
je 0x10067a74
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x64]
inc edx
mov dword [esp + 0x4c], edx
xor edx, edx
mov ecx, eax
nop
mov eax, dword [esp + 0x4c]
cmp byte [eax], 0
je 0x10067a64
mov eax, dword [edi + 0x20]
mov esi, dword [edi + 0x18]
cmp dword [esi + 0x58], eax
jg 0x10067a40
push 0
push 0
push ebx
push 0x3d
mov esi, edi
call fcn.10024290
mov ecx, dword [esp + 0x80]
add esp, 0x10
xor edx, edx
jmp 0x10067a64
lea esi, [eax + 1]
mov dword [edi + 0x20], esi
mov esi, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x3d
mov ecx, dword [ecx + 0x14]
inc dword [esp + 0x4c]
inc ebx
mov dword [esp + 0x70], ecx
cmp ecx, edx
jne 0x10067a10
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x64]
jge 0x10067ac2
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x10067a9c
push 0
push 0
push ecx
push 0x3d
mov esi, edi
call fcn.10024290
add esp, 0x10
jmp 0x10067ac2
lea edx, [eax + 1]
mov dword [edi + 0x20], edx
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x3d
mov esi, dword [ebp + 8]
cmp byte [esi + 0x12], 0
jne 0x10067ae6
cmp dword [esi + 0x1a4], 0
jne 0x10067ae6
cmp dword [esi + 0x19c], 0
je 0x10067ae6
push esi
call fcn.10050f80
add esp, 4
mov eax, dword [esp + 0x24]
test byte [eax + 0x18], 0x80
je 0x10067c48
xor ecx, ecx
cmp dword [esi + 0x1a4], ecx
jne 0x10067c48
cmp byte [esi + 0x12], cl
jne 0x10067c48
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x18]
cmp dword [edx + 0x58], eax
jg 0x10067b2c
mov eax, dword [esp + 0x74]
push ecx
push 1
push eax
push 0x21
mov esi, edi
call fcn.10024290
add esp, 0x10
jmp 0x10067b57
lea edx, [eax + 1]
mov dword [edi + 0x20], edx
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x74]
mov byte [eax + 3], cl
mov dword [eax + 4], edx
mov dword [eax + 8], 1
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x21
push 1
mov ebx, edi
call fcn.100261b0
mov eax, dword [edi]
add esp, 4
cmp byte [eax + 0x45], 0
jne 0x100666eb
mov edi, dword [edi + 0x10]
mov eax, dword [edi + 0x20]
test eax, eax
je 0x10067b7e
mov eax, dword [eax + 0x5c]
jmp 0x10067b83
mov eax, 0x3b9aca00
mov ebx, 0xc
cmp eax, ebx
jge 0x10067b8f
lea ebx, [eax + 1]
xor ecx, ecx
mov esi, 0x202
cmp ecx, 0x10004020
jne 0x10067c0e
mov edx, 0x2460
test word [edi + 8], dx
jne 0x10067bae
cmp dword [edi + 0x18], ecx
je 0x10067bb5
mov eax, edi
call fcn.10022f80
mov eax, dword [edi + 0x20]
mov ecx, str.rows_updated
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
test eax, eax
je 0x10067bf1
cmp dword [eax + 0x120], ecx
ja 0x10067bf1
cmp dword [eax + 0x124], ecx
jbe 0x10067bf1
movzx eax, word [eax + 0x104]
mov dword [edi + 0x18], eax
mov dword [edi + 0xc], ebx
mov word [edi + 8], si
mov byte [edi + 0xa], 1
jmp 0x100666eb
push ecx
call dword [0x100d3404]
add esp, 4
mov dword [edi + 0x18], eax
mov dword [edi + 0xc], ebx
mov word [edi + 8], si
mov byte [edi + 0xa], 1
jmp 0x100666eb
mov eax, 0x2460
test word [edi + 8], ax
jne 0x10067c1e
cmp dword [edi + 0x18], ecx
je 0x10067c25
mov eax, edi
call fcn.10022f80
mov esi, 0xa02
mov dword [edi + 0x10], str.rows_updated
mov dword [edi + 0x24], 0
mov dword [edi + 0xc], ebx
mov word [edi + 8], si
mov byte [edi + 0xa], 1
jmp 0x100666eb
mov edi, eax
jmp 0x100666ef
cmp esi, dword [edi + 0x120]
jb 0x10067c75
cmp esi, dword [edi + 0x124]
jae 0x10067c75
mov edx, dword [edi + 0x11c]
mov dword [esi], edx
dec dword [edi + 0x108]
mov dword [edi + 0x11c], esi
jmp 0x10067ccd
cmp dword [0x100d33d0], 0
je 0x10067cc3
mov eax, dword [0x100d8cc0]
test eax, eax
je 0x10067c91
push eax
call dword [0x100d3428]
add esp, 4
push esi
call dword [0x100d3404]
sub dword [0x100d8b08], eax
dec dword [0x100d8b2c]
add esp, 4
push esi
call dword [0x100d33fc]
mov eax, dword [0x100d8cc0]
add esp, 4
test eax, eax
je 0x10067ccd
push eax
call dword [0x100d3430]
jmp 0x10067cca
push esi
call dword [0x100d33fc]
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
mov eax, edi
call fcn.10047860
mov ecx, dword [ebp + 0x10]
add esp, 4
push ecx
push edi
call fcn.10039850
add esp, 8
test ebx, ebx
je 0x10067e9e
test dword [ebx + 4], 0x4000
jne 0x10067de9
mov edx, dword [ebx + 0xc]
push edx
push edi
call fcn.10038a50
mov eax, dword [ebx + 0x10]
push eax
push edi
call fcn.10038a50
add esp, 0x10
test dword [ebx + 4], 0x10000
je 0x10067dc2
mov esi, dword [ebx + 8]
test esi, esi
je 0x10067dc2
test edi, edi
je 0x10067d6a
cmp dword [edi + 0x1c8], 0
je 0x10067d44
mov eax, esi
mov ecx, edi
call fcn.100040f0
jmp 0x10067dc2
cmp esi, dword [edi + 0x120]
jb 0x10067d6a
cmp esi, dword [edi + 0x124]
jae 0x10067d6a
mov ecx, dword [edi + 0x11c]
mov dword [esi], ecx
dec dword [edi + 0x108]
mov dword [edi + 0x11c], esi
jmp 0x10067dc2
cmp dword [0x100d33d0], 0
je 0x10067db8
mov eax, dword [0x100d8cc0]
test eax, eax
je 0x10067d86
push eax
call dword [0x100d3428]
add esp, 4
push esi
call dword [0x100d3404]
sub dword [0x100d8b08], eax
dec dword [0x100d8b2c]
add esp, 4
push esi
call dword [0x100d33fc]
mov eax, dword [0x100d8cc0]
add esp, 4
test eax, eax
je 0x10067dc2
push eax
call dword [0x100d3430]
jmp 0x10067dbf
push esi
call dword [0x100d33fc]
add esp, 4
test dword [ebx + 4], 0x800
je 0x10067ddc
mov edx, dword [ebx + 0x14]
push 1
push edx
push edi
call fcn.100598f0
add esp, 0xc
jmp 0x10067de9
mov eax, dword [ebx + 0x14]
push eax
push edi
call fcn.10039850
add esp, 8
test dword [ebx + 4], 0x8000
jne 0x10067e9e
test edi, edi
je 0x10067e3e
cmp dword [edi + 0x1c8], 0
je 0x10067e13
mov eax, ebx
mov ecx, edi
call fcn.100040f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, dword [edi + 0x120]
jb 0x10067e3e
cmp ebx, dword [edi + 0x124]
jae 0x10067e3e
mov ecx, dword [edi + 0x11c]
mov dword [ebx], ecx
dec dword [edi + 0x108]
mov dword [edi + 0x11c], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x100d33d0], 0
je 0x10067e94
mov eax, dword [0x100d8cc0]
test eax, eax
je 0x10067e5a
push eax
call dword [0x100d3428]
add esp, 4
push ebx
call dword [0x100d3404]
sub dword [0x100d8b08], eax
dec dword [0x100d8b2c]
add esp, 4
push ebx
call dword [0x100d33fc]
mov eax, dword [0x100d8cc0]
add esp, 4
test eax, eax
je 0x10067e9e
push eax
call dword [0x100d3430]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [0x100d33fc]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret