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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [esp + 4], ecx
movaps xmmword [esp + 0x48], xmm0
movq qword [esp + 0x58], xmm0
push esi
mov esi, dword [ecx + 8]
mov dword [esp + 0x24], esi
push edi
mov edi, edx
mov edx, dword [ecx]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edx
test eax, eax
je 0x100cc13d
cmp dword [eax], 0x40
mov dword [esp + 0x48], 0
cmovge eax, dword [esp + 0x48]
mov dword [ebp + 0xc], eax
mov eax, dword [edi]
cmp eax, 0x40
jle 0x100cc15c
push 0x40
push str.at_most__d_tables_in_a_join
push ecx
call fcn.1002b880
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x18], 0x20
mov ecx, 1
push 0
cmovne eax, ecx
mov ecx, edx
mov dword [esp + 0x28], eax
lea eax, [eax + eax*2]
shl eax, 5
mov dword [esp + 0x4c], eax
add eax, 0x2ff
and eax, 0xfffffff8
mov dword [esp + 0x48], eax
add eax, 0x50
push eax
call fcn.10028280
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], edi
cmp byte [eax + 0x57], 0
je 0x100cc1bb
test edi, edi
je 0x100cd0d2
mov edx, edi
mov ecx, eax
call fcn.10027de0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
xorps xmm0, xmm0
mov eax, dword [esp + 0x1c]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [edi], ecx
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
mov byte [edi + 0x2c], al
mov eax, dword [ecx + 0x38]
dec eax
mov dword [ecx + 0x38], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0x18]
mov word [edi + 0x28], ax
mov eax, dword [ebp + 0x1c]
mov word [edi + 0x2a], ax
movsx eax, word [ecx + 0x9c]
mov dword [edi + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x48]
add eax, 0x50
push eax
movups xmmword [edi + 0x2d], xmm0
lea eax, [edi + 0x2f8]
movups xmmword [edi + 0x3d], xmm0
push 0
mov word [edi + 0x4d], 0
push eax
mov byte [edi + 0x4f], 0
call fcn.1013ad10
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x44]
mov dword [edi + 0x1f4], 0
add ecx, edx
mov dword [edi + 0x1f8], 0xffffff9d
mov dword [esp + 0x50], edi
add edi, 0x50
mov dword [esp + 0x58], ecx
lea eax, [ecx + 0x40]
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x38], eax
xor eax, eax
mov word [ecx + 0x30], ax
mov eax, 3
mov word [ecx + 0x34], ax
lea eax, [edi + 0x20]
mov dword [edi], edx
mov ecx, edi
mov edx, dword [ebp + 8]
push 0x2c
mov dword [esp + 0x58], edi
mov byte [edi + 9], 0
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 8
mov dword [edi + 0x18], eax
call fcn.100c3d90
add esp, 4
cmp dword [esp + 0x24], 0
jne 0x100cc30a
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x100cc2d9
mov al, byte [eax]
mov byte [ecx + 0x2d], al
test dword [ebp + 0x18], 0x100
je 0x100cc2f0
mov eax, dword [esp + 0x18]
test byte [eax + 0x50], 0x10
jne 0x100cc2f0
mov byte [ecx + 0x2f], 1
mov edx, dword [esp + 0xc]
push str.SCAN_CONSTANT_ROW
push 0
push edx
call fcn.100503f0
mov ecx, dword [esp + 0x28]
add esp, 0xc
jmp 0x100cc361
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x44], 0
add esi, 8
nop dword [eax]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x2c]
push edi
mov ecx, dword [edx + 0x1f4]
mov dword [edx + ecx*4 + 0x1f8], eax
inc dword [edx + 0x1f4]
mov edx, esi
mov ecx, dword [esp + 0x10]
call fcn.100c4470
mov eax, dword [esp + 0x48]
add esp, 4
mov ecx, dword [esp + 0x1c]
inc eax
add esi, 0x48
mov dword [esp + 0x44], eax
cmp eax, dword [ecx]
jl 0x100cc320
mov esi, dword [esp + 0x28]
mov eax, dword [edi + 0xc]
sub eax, 1
js 0x100cc388
mov esi, eax
nop dword [eax + eax]
push esi
mov edx, edi
call fcn.100c26d0
mov ecx, dword [esp + 0x20]
add esp, 4
sub esi, 1
jns 0x100cc370
mov esi, dword [esp + 0x28]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100cc39e
cmp dword [eax + 0x3c], 0
je 0x100cc39e
mov edx, eax
mov ecx, edi
call fcn.100c3fb0
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x24], 0
jne 0x100cd0b4
xor edx, edx
mov dword [esp + 0x38], edx
cmp dword [edi + 0x14], edx
jle 0x100cc48e
mov eax, dword [esp + 0x10]
xor esi, esi
mov edi, dword [edi + 0x18]
add edi, esi
test byte [edi + 0xa], 2
jne 0x100cc472
mov eax, dword [edi + 0x28]
or eax, dword [edi + 0x2c]
mov ecx, dword [edi]
mov dword [esp + 0x48], ecx
jne 0x100cc46e
cmp dword [esp + 0x24], eax
je 0x100cc43f
mov dword [esp + 0x88], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
mov eax, 1
movq qword [esp + 0x80], xmm0
mov word [esp + 0x84], ax
mov dword [esp + 0x74], 0x100cbad0
mov dword [esp + 0x78], 0x1006b0a0
test ecx, ecx
je 0x100cc43f
mov edx, ecx
lea ecx, [esp + 0x70]
call fcn.10064a40
cmp word [esp + 0x84], 0
mov edx, dword [esp + 0x38]
je 0x100cc46e
mov ecx, dword [esp + 0x48]
test byte [ecx + 4], 2
je 0x100cc44f
mov eax, dword [esp + 0x1c]
test byte [eax + 0x2c], 0x40
jne 0x100cc46e
mov edx, dword [esp + 0x10]
push 0x10
push dword [edx + 0x20]
push ecx
push dword [esp + 0x18]
call fcn.10071ef0
mov edx, dword [esp + 0x48]
add esp, 0x10
or word [edi + 0xa], 4
mov eax, dword [esp + 0x10]
inc edx
lea edi, [eax + 0x50]
add esi, 0x30
mov dword [esp + 0x38], edx
cmp edx, dword [edi + 0x14]
jl 0x100cc3c1
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 0x18]
test edx, 0x100
je 0x100cc4f2
mov ecx, dword [esp + 0x18]
test byte [ecx + 0x50], 0x10
je 0x100cc4bb
mov edi, dword [esp + 0x10]
and edx, 0xfeff
mov eax, 0xfeff
mov dword [ebp + 0x18], edx
and word [edi + 0x28], ax
jmp 0x100cc4f6
push dword [ebp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, eax
push edi
call fcn.100c4c90
mov edi, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x100cc4db
mov byte [edi + 0x2f], 1
jmp 0x100cc4f6
cmp dword [ebp + 0xc], 0
jne 0x100cc4f6
mov eax, 0x80
or word [edi + 0x28], ax
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
jmp 0x100cc4f6
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x24], 1
jne 0x100cc50a
lea ecx, [esp + 0x50]
call fcn.100cb870
test eax, eax
jne 0x100cc563
lea ecx, [esp + 0x50]
call fcn.100ca010
test eax, eax
jne 0x100cd0b4
xor edx, edx
mov ecx, edi
call fcn.100cad60
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x100cd0b4
cmp dword [edi + 8], 0
je 0x100cc553
movzx edx, word [edi + 0x34]
mov ecx, edi
inc dx
call fcn.100cad60
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x100cd0b4
mov eax, 0x100
test word [edi + 0x28], ax
je 0x100cc563
add word [edi + 0x34], 0xffe2
cmp dword [edi + 8], 0
mov ecx, dword [esp + 0x18]
jne 0x100cc585
mov eax, dword [ecx + 0x20]
and eax, 0x1000
or eax, 0
je 0x100cc585
mov ecx, edi
call fcn.100cc090
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x24], 0
jne 0x100cd0b4
mov al, byte [edi + 0x2c]
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
cmp al, 2
jb 0x100cc5ff
cmp dword [ebp + 0x10], 0
je 0x100cc5eb
mov eax, dword [ebp + 0x18]
xor edx, edx
and eax, 0x400
cmp dx, ax
jne 0x100cc5eb
test dword [ecx + 0x50], 0x100
jne 0x100cc5eb
sub esp, 8
mov ecx, edi
call fcn.100cbb00
mov dword [esp + 0x3c], eax
add esp, 8
mov al, byte [edi + 0x2c]
movzx ecx, al
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], ecx
cmp al, 2
jb 0x100cc5ff
mov eax, dword [esp + 0x18]
test dword [eax + 0x50], 0x80000
jne 0x100cc5ff
mov ecx, edi
call fcn.100cbdb0
mov ecx, dword [edi]
mov ax, word [edi + 0x34]
add word [ecx + 0x9c], ax
xor ecx, ecx
test byte [ebp + 0x18], 4
je 0x100cc68b
mov eax, dword [edi + 0x348]
mov edx, dword [eax + 0x2c]
test edx, 0x1000
jne 0x100cc655
test byte [ebp + 0x18], 8
je 0x100cc68b
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x2b], 1
je 0x100cc68b
test edx, 0x2000
je 0x100cc646
test byte [ebp + 0x18], 0x10
je 0x100cc68b
mov eax, dword [esp + 0x18]
xor ecx, ecx
test dword [eax + 0x50], 0x8000000
jne 0x100cc68b
mov eax, edx
and eax, 0x1000
neg eax
sbb al, al
xor ecx, ecx
add al, 2
mov byte [edi + 0x2e], al
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x18]
test byte [eax + 0x1c], 0x80
jne 0x100cc68b
test dl, 0x40
je 0x100cc68b
mov eax, dword [edi + 0x348]
and edx, 0xffffffbf
mov ecx, dword [ebp + 0x18]
and ecx, 8
mov dword [eax + 0x2c], edx
movzx eax, cx
lea edx, [edi + 0x2f8]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x48], 0
test ecx, ecx
jle 0x100cce45
movzx eax, byte [edx + 0x3c]
mov edx, 0xffff8000
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
lea eax, [eax + eax*8]
lea eax, [eax + 1]
lea eax, [ecx + eax*8]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x100cc700
mov eax, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x30], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x100cc6fc
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x100cc6f0
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x14]
test dword [eax + 0x1c], 0x4000
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x50]
mov dword [esp + 0x40], ecx
jne 0x100cc984
mov al, byte [eax + 0x2b]
cmp al, 2
je 0x100cc7dd
mov ecx, dword [ecx + 0x2c]
test ecx, 0x400
je 0x100cc846
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x34]
test edi, edi
je 0x100cc74c
mov eax, dword [esp + 0x18]
cmp dword [edi], eax
je 0x100cc74c
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x100cc741
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x2c]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x44], eax
cmp dword [esi + 0x70], edx
jg 0x100cc777
push 0
push 0
push eax
mov edx, 0xad
mov ecx, esi
call fcn.1004fd40
add esp, 0xc
mov edx, eax
jmp 0x100cc7ae
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0xad
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]
cmp byte [eax + 0x57], 0
jne 0x100cc7dd
test edx, edx
jns 0x100cc7be
mov edx, dword [esi + 0x6c]
dec edx
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x100cc836
push 0xfffffffffffffff5
push edi
mov edx, eax
mov ecx, esi
call fcn.10050ab0
add esp, 8
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
test dword [edx + 0x2c], 0x200
je 0x100ccb20
test byte [eax + 0x1c], 0x80
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x3c], 0x70
je 0x100cc98d
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
mov eax, dword [ebp + 0x18]
jne 0x100cc990
test al, 0x20
je 0x100cc990
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
mov dword [ecx + 8], eax
jmp 0x100ccb20
test edi, edi
je 0x100cc7dd
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf5
inc dword [edi + 0xc]
jmp 0x100cc7dd
cmp al, 1
je 0x100cc7dd
test cl, 0x40
jne 0x100cc855
test byte [ebp + 0x18], 0x20
je 0x100cc89d
mov eax, dword [esp + 0x20]
test byte [eax + 0x24], 0x50
jne 0x100cc8a1
mov edi, dword [esp + 0xc]
cmp edx, 1
je 0x100cc7e1
mov eax, dword [edi]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
cmp byte [eax + 9], 0
je 0x100cc7e1
mov eax, dword [esp + 0x14]
mov ecx, edi
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.1007b0a0
add esp, 0xc
jmp 0x100cc7e1
mov eax, dword [esp + 0x20]
cmp byte [edi + 0x2e], 0
mov ecx, 0x70
je 0x100cc8b7
mov eax, dword [eax + 0x2c]
mov ecx, 0x71
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push edx
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + 0x2c]
call fcn.100909d0
add esp, 0xc
cmp byte [edi + 0x2e], 0
jne 0x100cc961
mov eax, dword [esp + 0x14]
cmp word [eax + 0x22], 0x40
jge 0x100cc961
test byte [eax + 0x1c], 0xe0
jne 0x100cc961
mov eax, dword [esp + 0x40]
test dword [eax + 0x2c], 0x404000
jne 0x100cc961
mov eax, dword [esp + 0x20]
xor edi, edi
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
mov eax, edx
or eax, ecx
je 0x100cc91d
nop dword [eax + eax]
shrd edx, ecx, 1
inc edi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x100cc910
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x100cc935
push edi
mov edx, 0xfffffffd
call fcn.100509c0
add esp, 4
jmp 0x100cc961
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
cmp byte [eax + ecx*4 - 0x13], 0
lea eax, [eax + ecx*4]
je 0x100cc95a
push 0xfffffffffffffffd
push edi
lea edx, [eax - 0x14]
mov ecx, esi
call fcn.10050ab0
add esp, 8
jmp 0x100cc961
mov dword [eax - 4], edi
mov byte [eax - 0x13], 0xfd
mov eax, dword [esi + 0x6c]
mov edi, dword [esp + 0xc]
test eax, eax
jle 0x100cc7e1
mov edx, dword [esp + 0x4c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x100cc7e1
mov edi, dword [esp + 0xc]
jmp 0x100cc7e5
mov eax, dword [ebp + 0x18]
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x2e], 0
je 0x100cc9c9
mov eax, dword [esp + 0x20]
mov edi, dword [ebp + 0x1c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
test eax, eax
je 0x100cc9bc
nop dword [eax + eax]
cmp eax, ecx
je 0x100cc9bc
mov eax, dword [eax + 0x14]
inc edi
test eax, eax
jne 0x100cc9b0
mov dword [esp + 0x3c], 0x71
mov dword [edx + 0x18], edi
jmp 0x100cca44
mov edx, dword [ebp + 0x1c]
test edx, edx
je 0x100cc9e2
test al, 0x20
je 0x100cc9e2
mov edi, edx
mov dword [esp + 0x3c], 0x65
mov eax, edx
jmp 0x100cca46
mov edi, dword [edi + 0x28]
mov edx, dword [esp + 0xc]
lea eax, [edi + 1]
mov dword [edx + 0x28], eax
test dword [ecx + 0x38], 0x800
je 0x100cca1c
mov eax, dword [esp + 0x18]
test dword [eax + 0x50], 0x1000000
jne 0x100cca1c
push dword [esp + 0x20]
mov edx, ecx
mov ecx, dword [esp + 0x10]
push edi
call fcn.100cbe50
mov ecx, dword [esp + 0x4c]
add esp, 8
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x100cca44
mov edx, dword [esp + 0x20]
test byte [edx + 0x24], 0x10
jne 0x100cca44
push edx
push edi
push 0
mov edx, ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.100c8580
mov ecx, dword [esp + 0x54]
add esp, 0x10
mov eax, edi
mov edx, dword [esp + 0x2c]
mov dword [edx + 8], eax
mov edx, dword [ecx + 0x2c]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100cca6f
mov ecx, dword [esp + 0x30]
push ecx
push edx
mov edx, dword [esp + 0x44]
mov ecx, esi
push edi
call fcn.1004fd40
add esp, 0xc
jmp 0x100ccaa5
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 dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x3c]
mov byte [eax + 1], 0
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0xc]
mov ecx, eax
mov edx, dword [esp + 0x44]
mov edi, dword [eax + 8]
call fcn.100852a0
mov edx, eax
test edx, edx
je 0x100ccae7
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x100ccad5
push edx
mov edx, 0xfffffff8
call fcn.100509c0
add esp, 4
jmp 0x100ccae7
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x2c]
test al, 0xf
je 0x100ccb20
test eax, 0x188002
jne 0x100ccb20
mov eax, dword [esp + 0x10]
test byte [eax + 0x28], 1
jne 0x100ccb20
cmp byte [eax + 0x2f], 2
je 0x100ccb20
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x100ccb20
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0x30]
test ecx, ecx
js 0x100ccb57
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x80]
test eax, eax
cmovne edx, eax
mov eax, 1
shl eax, cl
mov edi, dword [edx + 0x5c]
test edi, eax
jne 0x100ccb57
bts edi, ecx
mov dword [edx + 0x5c], edi
cmp ecx, 1
jne 0x100ccb57
mov ecx, edx
call fcn.10084900
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
test byte [eax + 0x24], 0x10
je 0x100cce25
mov ecx, dword [edi]
push 0
push 0x24
mov ecx, dword [ecx]
call fcn.10028280
mov edx, eax
mov dword [esp + 0x38], eax
add esp, 8
test edx, edx
je 0x100ccba0
mov ecx, dword [edi + 0x44]
mov dword [edx], ecx
mov dword [edx + 8], 0x14
mov dword [edx + 0xc], 0
mov dword [edi + 0x44], edx
add edx, 0x10
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x38], edx
test edx, edx
je 0x100cce25
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x28]
mov dword [edx], eax
mov edi, dword [ecx + 0x2c]
inc dword [ecx + 0x28]
inc edi
mov dword [ecx + 0x2c], edi
mov dword [edx + 4], edi
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100ccbe6
push 0
push edi
push 0x10000
mov edx, 0x4d
mov ecx, esi
call fcn.1004fd40
add esp, 0xc
jmp 0x100ccc15
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 4], 0x10000
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
inc dword [eax + 0x2c]
mov edi, dword [eax + 0x2c]
mov dword [edx + 8], edi
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100ccc44
push 0
push edi
push 0
mov edx, 0x4b
mov ecx, esi
call fcn.1004fd40
add esp, 0xc
jmp 0x100ccc73
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
test byte [eax + 0x1c], 0x80
jne 0x100ccd5a
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx]
cmp dword [esi + 0x70], ecx
jg 0x100ccca5
push 0
push 1
push edx
mov edx, 0x76
mov ecx, esi
call fcn.1004fd40
add esp, 0xc
jmp 0x100cccd4
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xc]
push 0
push 0x19
mov edi, dword [eax]
mov ecx, edi
call fcn.10028280
mov edx, eax
add esp, 8
test edx, edx
je 0x100ccd0f
lea ecx, [edx + 0x18]
mov dword [edx + 6], 0x10001
mov dword [edx + 0x10], ecx
mov al, byte [edi + 0x54]
mov byte [edx + 4], al
mov dword [edx + 0xc], edi
mov dword [edx], 1
mov byte [ecx], 0
jmp 0x100ccd20
mov ecx, edi
call fcn.10028550
mov edx, eax
test edx, edx
je 0x100cce11
mov eax, dword [edx + 0x10]
mov dword [edx + 0x14], 0
mov byte [eax], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x100ccd48
push edx
mov edx, 0xfffffff8
call fcn.100509c0
add esp, 4
jmp 0x100cce11
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 - 4], edx
jmp 0x100cce0c
mov edi, dword [eax + 8]
test edi, edi
je 0x100ccd71
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
je 0x100ccd71
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x100ccd61
movzx eax, word [edi + 0x32]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx]
mov dword [esp + 0x44], eax
cmp dword [esi + 0x70], ecx
jg 0x100ccd98
push 0
push eax
push edx
mov edx, 0x76
mov ecx, esi
call fcn.1004fd40
add esp, 0xc
jmp 0x100ccdcb
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x76
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 + 0xc]
mov edx, edi
mov eax, dword [ecx + 8]
mov dword [esp + 0x44], eax
call fcn.100852a0
mov edi, eax
test edi, edi
je 0x100cce11
mov edx, dword [esp + 0x44]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x100ccdff
push edi
mov edx, 0xfffffff8
call fcn.100509c0
add esp, 4
jmp 0x100cce11
mov eax, dword [edx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4 - 4], edi
mov byte [eax + ecx*4 - 0x13], 0xf8
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x10]
and dword [ecx + 0x2c], 0xffffffbf
mov byte [edi + 0x2d], 0
mov byte [edi + 0x2f], 3
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
inc eax
mov ecx, dword [esp + 0x24]
add edx, 0x60
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], edx
cmp eax, ecx
jl 0x100cc6b0
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x100cd0b4
xor edx, edx
mov dword [esp + 0x2c], edx
test ecx, ecx
jle 0x100cd0a6
lea eax, [edi + 0x50]
add edi, 0x2f8
mov dword [esp + 0x40], eax
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x24], 0
jne 0x100cd0b4
mov eax, dword [edi + 0x50]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x44], eax
movzx eax, byte [edi + 0x3c]
lea eax, [eax + eax*8]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x4c], eax
test cl, 0x10
je 0x100ccffb
test cl, 8
je 0x100ccf1d
mov edx, dword [eax + 0x20]
mov ecx, dword [esi + 0x6c]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x70], ecx
jg 0x100ccee5
push 0
push edx
push eax
mov edx, 0xa
mov ecx, esi
call fcn.1004fd40
add esp, 0xc
jmp 0x100ccff7
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x100ccff7
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x48], edx
cmp dword [esi + 0x70], edx
jg 0x100ccf44
push 0
push 0
push 0
mov edx, 0xf
mov ecx, esi
call fcn.1004fd40
add esp, 0xc
mov dword [esp + 0x48], eax
jmp 0x100ccf77
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xf
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x70], ecx
jg 0x100ccfa2
push 0
push edx
push eax
mov edx, 0xa
mov ecx, esi
call fcn.1004fd40
add esp, 0xc
jmp 0x100ccfd5
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x100ccfe7
mov eax, 0x1017bac0
jmp 0x100ccff4
mov eax, dword [esp + 0x48]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
test eax, 0x404000
je 0x100cd044
test eax, 0x4000
je 0x100cd025
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0xc]
push edi
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.100c4f40
jmp 0x100cd037
push dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
push dword [esp + 0x38]
push edi
call fcn.100c5df0
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp byte [eax + 0x57], 0
jne 0x100cd0b4
push dword [ebp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push edi
call fcn.100bb620
push dword [esp + 0x40]
mov eax, dword [esi + 0x6c]
mov edx, esi
push dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
push edi
push dword [esp + 0x40]
mov dword [edi + 0x20], eax
push dword [esp + 0x28]
call fcn.100bd1d0
mov dword [esp + 0x54], edx
add esp, 0x1c
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x18]
add edi, 0x60
mov dword [edx + 0x1c], eax
mov edx, dword [esp + 0x2c]
inc edx
mov dword [esp + 0x2c], edx
cmp edx, dword [esp + 0x24]
jl 0x100cce80
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x3c], eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ax, word [ecx + 0x24]
mov word [edx + 0x9c], ax
mov edx, ecx
mov ecx, dword [esp + 0x18]
call fcn.100c6ca0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret