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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 0x60], 0
mov dword [esp + 0x54], 0
mov esi, dword [edi + 8]
mov eax, dword [edi]
mov byte [esp + 0x2f], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], esi
test esi, esi
jne 0x100a4c9c
cmp dword [edi + 0x74], esi
jne 0x100a4c8d
test byte [eax + 0x4c], 8
jne 0x100a4c8d
mov byte [edi + 0x17], 1
call fcn.1006da60
mov edx, dword [esp + 0xc]
mov esi, eax
mov dword [esp + 0x64], esi
test byte [edx + 0x24], 0x20
movsx eax, word [edx + 0x2a]
mov dword [esp + 0x30], eax
jne 0x100a4cbc
mov dword [esp + 0x28], 0
mov dword [esp + 0x50], 1
jmp 0x100a4ce7
mov ecx, dword [edx + 8]
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x100a4cdf
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x100a4cd7
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x100a4cc7
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
movzx ecx, word [ecx + 0x32]
mov dword [esp + 0x50], ecx
test eax, eax
jle 0x100a4fe9
mov eax, dword [ebp + 0x14]
xor edx, edx
mov edi, dword [ebp + 0x2c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
lea ecx, [eax + 1]
mov dword [esp + 0x24], 1
not eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], eax
add ecx, eax
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x28]
cmp ecx, eax
je 0x100a4fb2
cmp dword [ebp + 0x2c], 0
je 0x100a4d35
cmp dword [edi], 0
jl 0x100a4fb2
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
mov al, byte [edx + eax + 0xc]
movzx ecx, al
test al, al
je 0x100a4fb2
mov ah, byte [ebp + 0x20]
cmp ah, 0xb
jne 0x100a4d7f
cmp al, ah
jne 0x100a4d7f
mov edi, 2
mov ecx, dword [esp + 0x10]
lea eax, [edi - 1]
mov dword [esp + 0x34], 0
cmp eax, 4
ja case.0x100a4d78.4
jmp dword [eax*4 + 0x100a6378]
cmp ah, 0xb
movzx edi, ah
cmove edi, ecx
cmp edi, 5
jne 0x100a4d60
mov ecx, dword [esp + 0x10]
mov eax, 2
cmp dword [edx + ecx + 4], 0
cmove edi, eax
jmp 0x100a4d64
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x20]
dec dword [eax + 0x38]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax + 0x38]
mov dword [esp + 0x34], edx
cmp dword [esi + 0x70], ecx
jg 0x100a4dcf
push 0
push edx
push edi
mov edx, 0x33
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
jmp 0x100a4dfa
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push edi
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + edx + 4]
call fcn.10089a70
mov ecx, dword [esi + 0x6c]
add esp, 4
mov edx, dword [esp + 0x34]
cmp dword [esi + 0x70], ecx
jg 0x100a4e37
push 0
push edx
push edi
mov edx, 0x33
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
jmp 0x100a4e62
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x18]
mov edi, 2
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0xc]
mov byte [ecx + 0x15], 1
mov ecx, dword [eax + 4]
mov eax, dword [edx + ecx]
push eax
mov eax, dword [esp + 0x10]
push dword [eax]
push str._s._s
push dword [esp + 0x58]
call fcn.1004ed80
mov ecx, dword [esi + 0x6c]
add esp, 0x10
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x70], ecx
jg 0x100a4ec5
push edx
push edi
push 0x513
mov edx, 0x44
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
jmp 0x100a4ef0
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x44
mov dword [eax + ecx*4 + 4], 0x513
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
mov edx, dword [esp + 0x10]
cmp byte [ecx + 0x51], 0
je 0x100a4f0c
push edx
mov edx, 0xfffffff9
call fcn.1006e520
add esp, 4
jmp 0x100a4f1e
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf9
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x100a4f34
mov edx, dword [esp + 0x24]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x34]
test edx, edx
je 0x100a4fb2
mov ecx, dword [esi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100a4f56
push edx
mov edx, esi
call fcn.1006e160
add esp, 4
jmp 0x100a4fb2
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x100a4fb2
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x20]
cmp dword [esi + 0x70], ecx
jg 0x100a4f84
push 0
push dword [ebp + 0x24]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.1006dd00
add esp, 0xc
jmp 0x100a4fb2
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x24]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
inc ecx
add dword [esp + 0x1c], 4
add eax, ecx
add dword [esp + 0x18], 0x10
cmp eax, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], ecx
jl 0x100a4d14
mov edi, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x100a51a6
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x20]
and eax, 0x200
or eax, 0
jne 0x100a51a6
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
mov al, byte [ebp + 0x20]
movzx edi, al
cmp al, 0xb
jne 0x100a5024
mov edi, 2
xor edx, edx
mov dword [esp + 0x18], edx
cmp dword [ecx], edx
jle 0x100a519b
lea eax, [ecx + 8]
mov dword [esp + 0x10], eax
nop dword [eax]
mov ecx, dword [eax - 4]
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x24], ecx
test eax, eax
je 0x100a50b0
mov dword [esp + 0x98], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movq qword [esp + 0x90], xmm0
mov dword [esp + 0x84], 0x100a4be0
mov dword [esp + 0x98], eax
test ecx, ecx
je 0x100a5099
mov edx, ecx
lea ecx, [esp + 0x80]
call fcn.10080080
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
cmp byte [ebp + 0x1c], 0
mov al, byte [esp + 0x94]
jne 0x100a50a8
and al, 0xfd
test al, al
je 0x100a517f
mov edx, dword [esp + 8]
push 0x10
dec dword [edx + 0x38]
mov eax, dword [edx + 0x38]
push eax
push ecx
push edx
mov dword [esp + 0x34], eax
call fcn.10089ec0
add esp, 0x10
cmp edi, 4
jne 0x100a5122
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100a50ee
push 0
push dword [ebp + 0x24]
lea edx, [edi + 7]
mov ecx, esi
push 0
call fcn.1006dd00
add esp, 0xc
jmp 0x100a5154
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x100a5154
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x100a5132
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
push 3
cmp edi, 5
mov ecx, 2
push 0
cmove edi, ecx
mov edx, 0x113
mov ecx, dword [esp + 0x10]
push eax
push edi
call fcn.10099090
add esp, 0x10
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x24]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100a5172
push edx
mov edx, esi
call fcn.1006e160
add esp, 4
jmp 0x100a517b
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc edx
mov eax, dword [esp + 0x10]
add eax, 0x18
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
cmp edx, dword [ecx]
jl 0x100a5040
mov edi, dword [esp + 8]
mov dword [edi + 0x34], 0
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x100a5224
cmp dword [eax], 0
jne 0x100a51bf
mov byte [ebp + 0x20], 4
mov dword [ebp + 0x30], 0
jmp 0x100a5224
mov eax, dword [eax + 0x10]
mov dword [esp + 0x54], eax
test eax, eax
je 0x100a5224
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x58], edx
cmp dword [esi + 0x70], edx
jg 0x100a51f1
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
mov dword [esp + 0x58], eax
jmp 0x100a5224
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [ebp + 0x1c], 0
mov dword [esp + 0x78], 0x35
je 0x100a5676
cmp dword [esp + 0x28], 0
jne 0x100a5676
mov ecx, dword [esp + 0xc]
dec dword [edi + 0x38]
cmp byte [ebp + 0x20], 0xb
mov edx, dword [edi + 0x38]
movzx eax, byte [ecx + 0x30]
mov dword [esp + 0x1c], edx
je 0x100a525f
movzx eax, byte [ebp + 0x20]
jmp 0x100a526a
cmp eax, 0xb
mov edi, 2
cmove eax, edi
mov edi, dword [ebp + 0x30]
mov dword [esp + 0x10], eax
test edi, edi
je 0x100a5290
cmp dword [edi + 0x10], 0
jne 0x100a5290
xor eax, eax
cmp dword [edi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x10], eax
jmp 0x100a52fd
cmp eax, 5
jne 0x100a52fd
cmp byte [ebp + 0x20], al
je 0x100a52fd
cmp dword [ecx + 8], 0
je 0x100a52fd
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x100a52bf
push 0
push 0
push 0
lea edx, [eax + 6]
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
mov edx, eax
jmp 0x100a52f2
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [edx + 1]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x100a536a
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100a5326
push eax
push edx
push dword [ebp + 0x14]
mov edx, 0x35
mov ecx, esi
call fcn.1006dd00
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x100a5353
mov edi, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x100a536a
lea ecx, [eax + eax*4]
mov edi, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], di
mov ecx, dword [esi + 0x6c]
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x70], ecx
jg 0x100a538b
push dword [ebp + 0x14]
mov ecx, esi
push edx
push edi
mov edx, 0x1f
call fcn.1006dd00
add esp, 0xc
jmp 0x100a53b5
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x10]
lea eax, [edi - 1]
cmp eax, 5
ja case.default.0x100a53c5
jmp dword [eax*4 + 0x100a638c]
mov eax, dword [esp + 0x4c]
xor edi, edi
mov eax, dword [eax + 0x20]
and eax, 0x2000
or eax, edi
je 0x100a5427
mov ecx, dword [esp + 8]
xor edx, edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x100a53fd
mov edx, dword [esp + 0xc]
call fcn.100bb290
mov edx, eax
mov ecx, edx
test edx, edx
je 0x100a5416
cmp byte [ecx + 8], 0x79
jne 0x100a540f
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x100a5403
xor eax, eax
test edi, edi
cmovne eax, edx
mov dword [esp + 0x10], eax
mov edi, eax
test eax, eax
jne 0x100a547b
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push 0
push 0
call fcn.100a1a00
add esp, 8
test eax, eax
jne 0x100a547b
mov edx, dword [esp + 0xc]
cmp dword [edx + 8], eax
je 0x100a54af
mov edi, dword [esp + 8]
mov ecx, edi
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov eax, dword [edi + 0x74]
test eax, eax
push dword [ebp + 0xc]
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov ecx, edi
call fcn.1009c0b0
add esp, 0x10
mov dword [esp + 0x60], 1
jmp 0x100a55bc
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push 0xffffffffffffffff
push 1
mov eax, dword [ecx + 0x74]
test eax, eax
push 5
push 0
push 1
push dword [ebp + 0x14]
cmovne ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov byte [ecx + 0x14], 1
mov ecx, dword [esp + 0x28]
push edi
call fcn.1009bb50
add esp, 0x24
mov dword [esp + 0x60], 1
jmp 0x100a55bc
mov eax, dword [ebp + 0x30]
mov edi, dword [esp + 8]
push 0
mov edx, dword [eax + 0x14]
mov ecx, dword [edi]
call fcn.100841b0
mov ecx, dword [ebp + 0x30]
add esp, 4
mov edx, eax
push ecx
push 0
push 0
push 2
push dword [ecx + 0xc]
push dword [ecx + 8]
mov ecx, edi
call fcn.100bcfa0
mov eax, dword [ebp + 0x30]
add esp, 0x18
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100a5522
push 0
push dword [ebp + 0x24]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.1006dd00
add esp, 0xc
jmp 0x100a55bc
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x100a55bc
mov edi, 2
mov edx, dword [esp + 0xc]
movzx eax, word [edx + 0x28]
test ax, ax
js 0x100a5590
movsx ecx, ax
mov eax, dword [edx + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
push eax
push dword [edx]
mov eax, dword [esp + 0x10]
push str._s._s
push dword [eax]
call fcn.1004ed80
add esp, 0x10
mov edx, 0x613
jmp 0x100a55aa
push dword [edx]
mov eax, dword [esp + 0xc]
push str._s.rowid
push dword [eax]
call fcn.1004ed80
add esp, 0xc
mov edx, 0xa13
mov ecx, dword [esp + 8]
push 2
push 0xfffffffffffffff9
push eax
push edi
call fcn.10099090
add esp, 0x10
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x1c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100a55da
push edx
mov edx, esi
call fcn.1006e160
add esp, 4
jmp 0x100a55e3
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
cmp dword [esp + 0x5c], 0
je 0x100a5676
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x6c], ecx
cmp dword [esi + 0x70], ecx
jg 0x100a5615
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
mov dword [esp + 0x6c], eax
jmp 0x100a5648
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esi + 0x6c]
dec ecx
cmp byte [eax + 0x51], 0
je 0x100a565f
mov eax, 0x101ea804
jmp 0x100a5674
test ecx, ecx
mov eax, edx
cmovns eax, dword [esp + 0x5c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
add eax, 0xfffffff4
mov dword [eax], edx
mov edx, dword [esp + 0xc]
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x14], eax
test eax, eax
je 0x100a6264
nop
mov edi, dword [ebp + 8]
cmp dword [edi + ecx*4], 0
mov edi, dword [esp + 8]
je 0x100a6247
cmp dword [esp + 0x54], eax
jne 0x100a574e
mov eax, dword [esp + 0x58]
mov ecx, dword [esi + 0x6c]
inc eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x68], ecx
cmp dword [esi + 0x70], ecx
jg 0x100a56db
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
mov dword [esp + 0x68], eax
jmp 0x100a570e
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x100a572b
mov eax, 0x101ea7fc
mov dword [eax + 8], edx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
jmp 0x100a5758
mov ecx, dword [esp + 0x58]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0xc]
lea eax, [eax + ecx*4]
mov eax, dword [esp + 0x14]
jmp 0x100a5758
dec dword [edi + 0x38]
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x20], ecx
cmp byte [esp + 0x2f], 0
jne 0x100a577f
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x100a576b
cmp ecx, eax
jne 0x100a577f
mov eax, dword [ebp + 0x14]
mov ecx, esi
inc eax
push eax
call fcn.100a2820
add esp, 4
mov byte [esp + 0x2f], 1
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x34]
add eax, ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x24], 0
je 0x100a5860
mov eax, dword [ebp + 8]
mov edx, dword [eax + ecx*4]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100a57be
push 0
push edx
push 0
mov edx, 0x49
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
jmp 0x100a57f1
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x64]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x24]
mov eax, dword [edi]
mov dword [esp + 0x10], eax
test edx, edx
je 0x100a5820
push 0
push 0
mov ecx, eax
call fcn.10083cb0
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x10]
jmp 0x100a5822
xor edi, edi
cmp byte [eax + 0x51], 0
jne 0x100a5840
mov eax, dword [esp + 8]
push 0x10
push dword [esp + 0x24]
push edi
push eax
call fcn.1008a3c0
mov eax, dword [esp + 0x20]
add esp, 0x10
test edi, edi
je 0x100a584d
mov edx, edi
mov ecx, eax
call fcn.10083ab0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x34], 0
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 8]
xor edi, edi
movzx eax, word [eax + 0x34]
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], edi
mov edx, dword [edx + ecx*4]
lea ecx, [edx + 1]
mov dword [esp + 0x3c], ecx
mov ecx, eax
cmp di, ax
jae 0x100a59c7
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
jmp 0x100a58a4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
movsx edx, word [eax + edi*2]
cmp edx, 0xfffffffe
jne 0x100a5924
mov edi, dword [esp + 8]
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + ecx + 4]
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
test edx, edx
je 0x100a58eb
push 0
push 0
mov ecx, eax
call fcn.10083cb0
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x1c]
jmp 0x100a58ed
xor edi, edi
cmp byte [eax + 0x51], 0
jne 0x100a590a
mov ecx, dword [esp + 0x18]
mov edx, edi
push ecx
mov ecx, dword [esp + 0xc]
call fcn.10089a70
mov eax, dword [esp + 0x20]
add esp, 4
test edi, edi
je 0x100a5917
mov edx, edi
mov ecx, eax
call fcn.10083ab0
mov eax, dword [esp + 8]
mov dword [eax + 0x34], 0
jmp 0x100a599b
cmp edx, 0xffffffff
je 0x100a593d
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x28]
cmp edx, eax
je 0x100a593d
mov edi, dword [ebp + 0x14]
inc edi
add edi, edx
jmp 0x100a5940
mov edi, dword [ebp + 0x14]
mov ecx, dword [esi + 0x6c]
sar edx, 0x1f
and edx, 1
add edx, 0x4f
cmp dword [esi + 0x70], ecx
jg 0x100a5965
mov ecx, dword [esp + 0x18]
push 0
push ecx
push edi
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
jmp 0x100a599b
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4], dl
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], 0
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [eax + 0x10], 0
mov word [eax + 2], cx
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov byte [eax + 1], 0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
add dword [esp + 0x10], 0x18
inc edi
inc dword [esp + 0x18]
movzx ecx, word [eax + 0x34]
mov dword [esp + 0x30], edi
cmp edi, ecx
jl 0x100a58a0
mov eax, dword [esp + 0x34]
mov edx, dword [ebp + 8]
mov edx, dword [edx + eax*4]
movzx edi, cx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100a59e9
push edx
push edi
push dword [esp + 0x44]
mov edx, 0x5c
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
jmp 0x100a5a18
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x64]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x18], 0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
je 0x100a5a5f
cmp edx, ecx
jne 0x100a5a5f
cmp byte [ebp + 0x1c], 0
jne 0x100a5a5f
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100a5a51
push edx
mov edx, esi
call fcn.1006e160
add esp, 4
jmp 0x100a6243
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x100a6243
movzx eax, byte [ecx + 0x36]
test eax, eax
jne 0x100a5a88
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100a5a51
push edx
mov edx, esi
call fcn.1006e160
add esp, 4
jmp 0x100a6243
cmp byte [ebp + 0x20], 0xb
je 0x100a5a94
movzx eax, byte [ebp + 0x20]
jmp 0x100a5a9f
cmp eax, 0xb
mov edi, 2
cmove eax, edi
mov dword [esp + 0x10], eax
cmp dword [esp + 0x54], ecx
jne 0x100a5abf
mov edi, dword [ebp + 0x30]
xor eax, eax
cmp dword [edi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x34], 0
jne 0x100a5b97
cmp dword [ecx + 0x14], 0
jne 0x100a5b97
cmp edx, ecx
jne 0x100a5b97
cmp eax, 5
jne 0x100a5b97
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x20]
and eax, 0x2000
mov dword [esp + 0x70], eax
je 0x100a5b3e
mov ecx, dword [esp + 8]
xor edx, edx
xor edi, edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x100a5b18
mov edx, dword [esp + 0xc]
call fcn.100bb290
mov edx, eax
mov ecx, edx
test edx, edx
je 0x100a5b33
nop
cmp byte [ecx + 8], 0x79
jne 0x100a5b2c
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x100a5b20
xor eax, eax
test edi, edi
cmovne eax, edx
test eax, eax
jne 0x100a5b97
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x20]
and eax, 0x4000
mov dword [esp + 0x70], eax
je 0x100a5b72
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x10], 0
jne 0x100a5b97
mov ecx, dword [eax + 0x48]
mov edx, dword [eax]
add ecx, 0x38
push 0
call fcn.10050fe0
add esp, 4
cmp dword [eax + 8], 0
jne 0x100a5b97
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100a5a51
push edx
mov edx, esi
call fcn.1006e160
add esp, 4
jmp 0x100a6243
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x6c]
movzx edi, word [eax + 0x32]
mov dword [esp + 0x24], edi
cmp dword [esi + 0x70], edx
jg 0x100a5bca
push dword [esp + 0x3c]
mov edx, 0x1b
mov ecx, esi
push dword [esp + 0x24]
push dword [esp + 0x48]
call fcn.1006dd00
add esp, 0xc
mov edx, eax
jmp 0x100a5c01
mov edi, dword [esp + 0x40]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x1b
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x100a5c18
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edi
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x28]
jne 0x100a5c2c
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x44], edi
jmp 0x100a5c8a
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 8]
cmp eax, 1
jne 0x100a5c59
mov al, byte [edx + 0x13]
test al, al
jne 0x100a5c48
inc dword [edx + 0x2c]
mov edi, dword [edx + 0x2c]
jmp 0x100a5c82
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov edi, dword [edx + eax*4 + 0x94]
jmp 0x100a5c82
mov ecx, dword [edx + 0x1c]
mov edi, dword [edx + 0x20]
mov dword [esp + 0x44], edi
cmp eax, ecx
jg 0x100a5c75
add eax, edi
sub ecx, dword [esp + 0x50]
mov dword [edx + 0x20], eax
mov dword [edx + 0x1c], ecx
jmp 0x100a5c86
mov eax, dword [edx + 0x2c]
lea edi, [eax + 1]
add eax, dword [esp + 0x50]
mov dword [edx + 0x2c], eax
mov dword [esp + 0x44], edi
mov edx, dword [esp + 0x14]
cmp dword [ebp + 0x18], 0
jne 0x100a5c9b
cmp dword [esp + 0x10], 5
jne 0x100a5fd5
mov eax, dword [esp + 0xc]
test byte [eax + 0x24], 0x20
jne 0x100a5d70
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100a5cc9
push 0
push edi
push dword [esp + 0x48]
mov edx, 0x87
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
jmp 0x100a5cf8
mov edx, dword [esp + 0x40]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x100a5fd5
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100a5d22
push eax
push dword [esp + 0x24]
mov edx, 0x35
mov ecx, esi
push edi
call fcn.1006dd00
add esp, 0xc
jmp 0x100a5d50
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x100a5fd5
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x100a5fd5
mov edi, dword [esp + 0x28]
cmp edx, edi
je 0x100a5e52
mov eax, dword [esp + 0x28]
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x30], edi
cmp cx, word [eax + 0x32]
jae 0x100a5e4e
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
nop word [eax + eax]
movzx edx, word [edx + 0x34]
xor ecx, ecx
test edx, edx
je 0x100a5dcd
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
movzx edi, word [eax + edi*2]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
nop dword [eax]
cmp di, word [eax]
je 0x100a5df6
inc ecx
add eax, 2
cmp ecx, edx
jl 0x100a5dc0
or eax, 0xffffffff
mov ecx, dword [esi + 0x6c]
movsx edx, ax
cmp dword [esi + 0x70], ecx
jg 0x100a5dfb
mov edi, dword [esp + 0x1c]
mov ecx, esi
push edi
push edx
push dword [esp + 0x48]
mov edx, 0x5a
call fcn.1006dd00
add esp, 0xc
jmp 0x100a5e2a
movzx eax, cx
jmp 0x100a5dd0
mov edi, dword [esp + 0x40]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x28]
inc edi
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x1c], edi
mov edi, ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x30], ecx
cmp ecx, eax
jl 0x100a5da0
mov edi, dword [esp + 0x28]
cmp dword [ebp + 0x18], 0
je 0x100a5fd5
movzx ecx, word [edi + 0x32]
mov eax, dword [esi + 0x6c]
add eax, ecx
mov dword [esp + 0x30], 0x34
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x44]
and al, 3
cmp al, 2
cmove edx, dword [esp + 0x3c]
mov dword [esp + 0x7c], edx
xor edx, edx
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x100a5fd5
mov eax, dword [edi + 0x20]
mov edx, dword [eax + edx*4]
mov eax, dword [esp + 8]
mov dword [esp + 0x24], edx
mov ecx, dword [eax]
mov al, byte [ecx + 0x4e]
mov byte [esp + 0x3b], al
mov al, byte [ecx + 0xa5]
mov byte [esp + 0x4b], al
movzx eax, al
push eax
push edx
mov dl, byte [esp + 0x43]
call fcn.10099f00
add esp, 8
mov edi, eax
cmp byte [esp + 0x4b], 0
jne 0x100a5eef
test edi, edi
je 0x100a5ed8
cmp dword [edi + 0xc], 0
jne 0x100a5eef
push dword [esp + 0x24]
mov dl, byte [esp + 0x3f]
mov ecx, dword [esp + 0xc]
push edi
call fcn.10099c70
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 4]
movsx edx, word [eax + ecx*2]
mov eax, dword [esp + 0x28]
movzx ecx, word [eax + 0x32]
mov eax, dword [esp + 0x30]
dec ecx
cmp dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0x18]
cmove eax, dword [esp + 0x78]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
cmovne eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], eax
add ecx, edx
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x7c]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x70], eax
cmp dword [esi + 0x70], edx
jg 0x100a5f5b
mov edx, dword [esp + 0x30]
push eax
push dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
mov edx, eax
jmp 0x100a5f98
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x30]
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xc], ecx
push 0xfffffffffffffffe
push edi
mov ecx, esi
call fcn.1006e770
mov eax, dword [esi + 0x6c]
add esp, 8
test eax, eax
jle 0x100a5fbc
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
inc edx
mov dword [esp + 0x18], edx
movzx eax, word [edi + 0x32]
cmp edx, eax
jl 0x100a5e93
mov edi, dword [esp + 0x10]
lea eax, [edi - 1]
cmp eax, 5
ja case.0x100a5fe5.5
jmp dword [eax*4 + 0x100a63a4]
push dword [esp + 0x14]
mov edx, edi
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.10099160
add esp, 4
jmp 0x100a614c
push dword [esp + 0x40]
mov edi, dword [esp + 0xc]
mov ecx, edi
push dword [esp + 0x18]
mov edx, dword [ebp + 0x30]
push dword [esp + 0x14]
call fcn.100bf760
add esp, 0xc
jmp 0x100a6028
mov edi, dword [esp + 8]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100a604b
push 0
push dword [ebp + 0x24]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.1006dd00
add esp, 0xc
jmp 0x100a614c
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x100a614c
mov eax, dword [esp + 0x4c]
xor edi, edi
mov eax, dword [eax + 0x20]
and eax, 0x2000
or eax, edi
je 0x100a60e4
mov ecx, dword [esp + 8]
xor edx, edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x100a60b3
mov edx, dword [esp + 0xc]
call fcn.100bb290
mov edx, eax
mov ecx, edx
test edx, edx
je 0x100a60d3
nop dword [eax]
cmp byte [ecx + 8], 0x79
jne 0x100a60cc
movzx eax, byte [ecx + 9]
or edi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x100a60c0
xor eax, eax
test edi, edi
cmovne eax, edx
mov dword [esp + 0x24], eax
mov edi, eax
test eax, eax
jne 0x100a60fc
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push 0
push 0
call fcn.100a1a00
add esp, 8
test eax, eax
je 0x100a610c
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
push dword [esp + 0x40]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x18], eax
mov edx, dword [esp + 0x10]
sete al
movzx eax, al
push eax
push 5
push 0
push dword [esp + 0x60]
push dword [esp + 0x58]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
mov edi, dword [esp + 0x2c]
mov ecx, edi
call fcn.1009bb50
add esp, 0x24
mov dword [esp + 0x60], 1
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x14]
jne 0x100a61e0
mov edx, dword [esp + 0x58]
mov ecx, dword [esi + 0x6c]
inc edx
cmp dword [esi + 0x70], ecx
jg 0x100a617d
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
jmp 0x100a61b0
mov edi, dword [esp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x100a61c5
mov eax, 0x101ea7fc
mov dword [eax + 8], edx
jmp 0x100a6207
mov ecx, dword [esp + 0x68]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x100a6207
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100a61fe
push edx
mov edx, esi
call fcn.1006e160
add esp, 4
jmp 0x100a6207
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x44]
cmp ecx, dword [esp + 0x3c]
je 0x100a6243
mov eax, dword [esp + 0x50]
cmp eax, 1
jne 0x100a6238
test ecx, ecx
je 0x100a6243
mov al, byte [edi + 0x13]
mov edx, dword [esp + 0xc]
cmp al, 8
jae 0x100a6247
movzx eax, al
mov dword [edi + eax*4 + 0x94], ecx
inc byte [edi + 0x13]
jmp 0x100a6247
cmp eax, dword [edi + 0x1c]
jle 0x100a6243
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
inc dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
mov edi, dword [edi + 0x14]
mov eax, edi
mov dword [esp + 0x14], edi
test edi, edi
jne 0x100a5690
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x100a62e3
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100a628a
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
jmp 0x100a62b9
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x100a62cb
mov eax, 0x101ea7fc
jmp 0x100a62e0
mov ecx, dword [esp + 0x6c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0xc]
test byte [eax + 0x24], 0x20
jne 0x100a6369
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0x34]
movsx edx, word [eax + 0x2a]
mov eax, dword [ebp + 0x14]
inc eax
mov edi, dword [ecx + edi*4]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x70], edi
cmp dword [esi + 0x70], ecx
jg 0x100a631f
push edi
push edx
push eax
mov edx, 0x5c
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
jmp 0x100a6352
mov edi, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
inc edi
mov esi, dword [esp + 0x64]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x70]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x2f], 0
jne 0x100a6369
mov edx, dword [esp + 0xc]
mov ecx, esi
push 0
call fcn.100a2820
add esp, 4
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x60]
pop edi
pop esi
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret