Function at 0x100c9930
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 0x100c997d
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 0x100c999c
push 0x40
push str.at_most__d_tables_in_a_join
push ecx
call fcn.1002a530
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.10026f30
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], edi
cmp byte [eax + 0x57], 0
je 0x100c99fb
test edi, edi
je 0x100ca912
mov edx, edi
mov ecx, eax
call fcn.10026a90
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.10138870
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.100c1500
add esp, 4
cmp dword [esp + 0x24], 0
jne 0x100c9b4a
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x100c9b19
mov al, byte [eax]
mov byte [ecx + 0x2d], al
test dword [ebp + 0x18], 0x100
je 0x100c9b30
mov eax, dword [esp + 0x18]
test byte [eax + 0x50], 0x10
jne 0x100c9b30
mov byte [ecx + 0x2f], 1
mov edx, dword [esp + 0xc]
push str.SCAN_CONSTANT_ROW
push 0
push edx
call fcn.1004f0d0
mov ecx, dword [esp + 0x28]
add esp, 0xc
jmp 0x100c9ba1
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.100c1bf0
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 0x100c9b60
mov esi, dword [esp + 0x28]
mov eax, dword [edi + 0xc]
sub eax, 1
js 0x100c9bc8
mov esi, eax
nop dword [eax + eax]
push esi
mov edx, edi
call fcn.100bfe80
mov ecx, dword [esp + 0x20]
add esp, 4
sub esi, 1
jns 0x100c9bb0
mov esi, dword [esp + 0x28]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100c9bde
cmp dword [eax + 0x3c], 0
je 0x100c9bde
mov edx, eax
mov ecx, edi
call fcn.100c1730
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x24], 0
jne 0x100ca8f4
xor edx, edx
mov dword [esp + 0x38], edx
cmp dword [edi + 0x14], edx
jle 0x100c9cce
mov eax, dword [esp + 0x10]
xor esi, esi
mov edi, dword [edi + 0x18]
add edi, esi
test byte [edi + 0xa], 2
jne 0x100c9cb2
mov eax, dword [edi + 0x28]
or eax, dword [edi + 0x2c]
mov ecx, dword [edi]
mov dword [esp + 0x48], ecx
jne 0x100c9cae
cmp dword [esp + 0x24], eax
je 0x100c9c7f
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], 0x100c9310
mov dword [esp + 0x78], 0x100692a0
test ecx, ecx
je 0x100c9c7f
mov edx, ecx
lea ecx, [esp + 0x70]
call fcn.10062e00
cmp word [esp + 0x84], 0
mov edx, dword [esp + 0x38]
je 0x100c9cae
mov ecx, dword [esp + 0x48]
test byte [ecx + 4], 2
je 0x100c9c8f
mov eax, dword [esp + 0x1c]
test byte [eax + 0x2c], 0x40
jne 0x100c9cae
mov edx, dword [esp + 0x10]
push 0x10
push dword [edx + 0x20]
push ecx
push dword [esp + 0x18]
call fcn.1006ffd0
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 0x100c9c01
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 0x18]
test edx, 0x100
je 0x100c9d32
mov ecx, dword [esp + 0x18]
test byte [ecx + 0x50], 0x10
je 0x100c9cfb
mov edi, dword [esp + 0x10]
and edx, 0xfeff
mov eax, 0xfeff
mov dword [ebp + 0x18], edx
and word [edi + 0x28], ax
jmp 0x100c9d36
push dword [ebp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, eax
push edi
call fcn.100c2410
mov edi, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x100c9d1b
mov byte [edi + 0x2f], 1
jmp 0x100c9d36
cmp dword [ebp + 0xc], 0
jne 0x100c9d36
mov eax, 0x80
or word [edi + 0x28], ax
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
jmp 0x100c9d36
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x24], 1
jne 0x100c9d4a
lea ecx, [esp + 0x50]
call fcn.100c90b0
test eax, eax
jne 0x100c9da3
lea ecx, [esp + 0x50]
call fcn.100c78b0
test eax, eax
jne 0x100ca8f4
xor edx, edx
mov ecx, edi
call fcn.100c85b0
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x100ca8f4
cmp dword [edi + 8], 0
je 0x100c9d93
movzx edx, word [edi + 0x34]
mov ecx, edi
inc dx
call fcn.100c85b0
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x100ca8f4
mov eax, 0x100
test word [edi + 0x28], ax
je 0x100c9da3
add word [edi + 0x34], 0xffe2
cmp dword [edi + 8], 0
mov ecx, dword [esp + 0x18]
jne 0x100c9dc5
mov eax, dword [ecx + 0x20]
and eax, 0x1000
or eax, 0
je 0x100c9dc5
mov ecx, edi
call fcn.100c98d0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x24], 0
jne 0x100ca8f4
mov al, byte [edi + 0x2c]
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
cmp al, 2
jb 0x100c9e3f
cmp dword [ebp + 0x10], 0
je 0x100c9e2b
mov eax, dword [ebp + 0x18]
xor edx, edx
and eax, 0x400
cmp dx, ax
jne 0x100c9e2b
test dword [ecx + 0x50], 0x100
jne 0x100c9e2b
sub esp, 8
mov ecx, edi
call fcn.100c9340
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 0x100c9e3f
mov eax, dword [esp + 0x18]
test dword [eax + 0x50], 0x80000
jne 0x100c9e3f
mov ecx, edi
call fcn.100c95f0
mov ecx, dword [edi]
mov ax, word [edi + 0x34]
add word [ecx + 0x9c], ax
xor ecx, ecx
test byte [ebp + 0x18], 4
je 0x100c9ecb
mov eax, dword [edi + 0x348]
mov edx, dword [eax + 0x2c]
test edx, 0x1000
jne 0x100c9e95
test byte [ebp + 0x18], 8
je 0x100c9ecb
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x2b], 1
je 0x100c9ecb
test edx, 0x2000
je 0x100c9e86
test byte [ebp + 0x18], 0x10
je 0x100c9ecb
mov eax, dword [esp + 0x18]
xor ecx, ecx
test dword [eax + 0x50], 0x8000000
jne 0x100c9ecb
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 0x100c9ecb
test dl, 0x40
je 0x100c9ecb
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 0x100ca685
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 0x100c9f40
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 0x100c9f3c
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x100c9f30
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 0x100ca1c4
mov al, byte [eax + 0x2b]
cmp al, 2
je 0x100ca01d
mov ecx, dword [ecx + 0x2c]
test ecx, 0x400
je 0x100ca086
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x34]
test edi, edi
je 0x100c9f8c
mov eax, dword [esp + 0x18]
cmp dword [edi], eax
je 0x100c9f8c
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x100c9f81
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 0x100c9fb7
push 0
push 0
push eax
mov edx, 0xad
mov ecx, esi
call fcn.1004e9b0
add esp, 0xc
mov edx, eax
jmp 0x100c9fee
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 0x100ca01d
test edx, edx
jns 0x100c9ffe
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 0x100ca076
push 0xfffffffffffffff5
push edi
mov edx, eax
mov ecx, esi
call fcn.1004f7a0
add esp, 8
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
test dword [edx + 0x2c], 0x200
je 0x100ca360
test byte [eax + 0x1c], 0x80
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x3c], 0x70
je 0x100ca1cd
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
mov eax, dword [ebp + 0x18]
jne 0x100ca1d0
test al, 0x20
je 0x100ca1d0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
mov dword [ecx + 8], eax
jmp 0x100ca360
test edi, edi
je 0x100ca01d
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf5
inc dword [edi + 0xc]
jmp 0x100ca01d
cmp al, 1
je 0x100ca01d
test cl, 0x40
jne 0x100ca095
test byte [ebp + 0x18], 0x20
je 0x100ca0dd
mov eax, dword [esp + 0x20]
test byte [eax + 0x24], 0x50
jne 0x100ca0e1
mov edi, dword [esp + 0xc]
cmp edx, 1
je 0x100ca021
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 0x100ca021
mov eax, dword [esp + 0x14]
mov ecx, edi
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.10079000
add esp, 0xc
jmp 0x100ca021
mov eax, dword [esp + 0x20]
cmp byte [edi + 0x2e], 0
mov ecx, 0x70
je 0x100ca0f7
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.1008e610
add esp, 0xc
cmp byte [edi + 0x2e], 0
jne 0x100ca1a1
mov eax, dword [esp + 0x14]
cmp word [eax + 0x22], 0x40
jge 0x100ca1a1
test byte [eax + 0x1c], 0xe0
jne 0x100ca1a1
mov eax, dword [esp + 0x40]
test dword [eax + 0x2c], 0x404000
jne 0x100ca1a1
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 0x100ca15d
nop dword [eax + eax]
shrd edx, ecx, 1
inc edi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x100ca150
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x100ca175
push edi
mov edx, 0xfffffffd
call fcn.1004f6a0
add esp, 4
jmp 0x100ca1a1
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 0x100ca19a
push 0xfffffffffffffffd
push edi
lea edx, [eax - 0x14]
mov ecx, esi
call fcn.1004f7a0
add esp, 8
jmp 0x100ca1a1
mov dword [eax - 4], edi
mov byte [eax - 0x13], 0xfd
mov eax, dword [esi + 0x6c]
mov edi, dword [esp + 0xc]
test eax, eax
jle 0x100ca021
mov edx, dword [esp + 0x4c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x100ca021
mov edi, dword [esp + 0xc]
jmp 0x100ca025
mov eax, dword [ebp + 0x18]
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x2e], 0
je 0x100ca209
mov eax, dword [esp + 0x20]
mov edi, dword [ebp + 0x1c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
test eax, eax
je 0x100ca1fc
nop dword [eax + eax]
cmp eax, ecx
je 0x100ca1fc
mov eax, dword [eax + 0x14]
inc edi
test eax, eax
jne 0x100ca1f0
mov dword [esp + 0x3c], 0x71
mov dword [edx + 0x18], edi
jmp 0x100ca284
mov edx, dword [ebp + 0x1c]
test edx, edx
je 0x100ca222
test al, 0x20
je 0x100ca222
mov edi, edx
mov dword [esp + 0x3c], 0x65
mov eax, edx
jmp 0x100ca286
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 0x100ca25c
mov eax, dword [esp + 0x18]
test dword [eax + 0x50], 0x1000000
jne 0x100ca25c
push dword [esp + 0x20]
mov edx, ecx
mov ecx, dword [esp + 0x10]
push edi
call fcn.100c9690
mov ecx, dword [esp + 0x4c]
add esp, 8
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x100ca284
mov edx, dword [esp + 0x20]
test byte [edx + 0x24], 0x10
jne 0x100ca284
push edx
push edi
push 0
mov edx, ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.100c5d00
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 0x100ca2af
mov ecx, dword [esp + 0x30]
push ecx
push edx
mov edx, dword [esp + 0x44]
mov ecx, esi
push edi
call fcn.1004e9b0
add esp, 0xc
jmp 0x100ca2e5
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.10083090
mov edx, eax
test edx, edx
je 0x100ca327
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x100ca315
push edx
mov edx, 0xfffffff8
call fcn.1004f6a0
add esp, 4
jmp 0x100ca327
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 0x100ca360
test eax, 0x188002
jne 0x100ca360
mov eax, dword [esp + 0x10]
test byte [eax + 0x28], 1
jne 0x100ca360
cmp byte [eax + 0x2f], 2
je 0x100ca360
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x100ca360
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 0x100ca397
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 0x100ca397
bts edi, ecx
mov dword [edx + 0x5c], edi
cmp ecx, 1
jne 0x100ca397
mov ecx, edx
call fcn.10082790
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
test byte [eax + 0x24], 0x10
je 0x100ca665
mov ecx, dword [edi]
push 0
push 0x24
mov ecx, dword [ecx]
call fcn.10026f30
mov edx, eax
mov dword [esp + 0x38], eax
add esp, 8
test edx, edx
je 0x100ca3e0
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 0x100ca665
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 0x100ca426
push 0
push edi
push 0x10000
mov edx, 0x4d
mov ecx, esi
call fcn.1004e9b0
add esp, 0xc
jmp 0x100ca455
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 0x100ca484
push 0
push edi
push 0
mov edx, 0x4b
mov ecx, esi
call fcn.1004e9b0
add esp, 0xc
jmp 0x100ca4b3
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 0x100ca59a
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx]
cmp dword [esi + 0x70], ecx
jg 0x100ca4e5
push 0
push 1
push edx
mov edx, 0x76
mov ecx, esi
call fcn.1004e9b0
add esp, 0xc
jmp 0x100ca514
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.10026f30
mov edx, eax
add esp, 8
test edx, edx
je 0x100ca54f
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 0x100ca560
mov ecx, edi
call fcn.10027200
mov edx, eax
test edx, edx
je 0x100ca651
mov eax, dword [edx + 0x10]
mov dword [edx + 0x14], 0
mov byte [eax], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x100ca588
push edx
mov edx, 0xfffffff8
call fcn.1004f6a0
add esp, 4
jmp 0x100ca651
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 - 4], edx
jmp 0x100ca64c
mov edi, dword [eax + 8]
test edi, edi
je 0x100ca5b1
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
je 0x100ca5b1
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x100ca5a1
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 0x100ca5d8
push 0
push eax
push edx
mov edx, 0x76
mov ecx, esi
call fcn.1004e9b0
add esp, 0xc
jmp 0x100ca60b
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.10083090
mov edi, eax
test edi, edi
je 0x100ca651
mov edx, dword [esp + 0x44]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x100ca63f
push edi
mov edx, 0xfffffff8
call fcn.1004f6a0
add esp, 4
jmp 0x100ca651
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 0x100c9ef0
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x57], 0
jne 0x100ca8f4
xor edx, edx
mov dword [esp + 0x2c], edx
test ecx, ecx
jle 0x100ca8e6
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 0x100ca8f4
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 0x100ca83b
test cl, 8
je 0x100ca75d
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 0x100ca725
push 0
push edx
push eax
mov edx, 0xa
mov ecx, esi
call fcn.1004e9b0
add esp, 0xc
jmp 0x100ca837
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 0x100ca837
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x48], edx
cmp dword [esi + 0x70], edx
jg 0x100ca784
push 0
push 0
push 0
mov edx, 0xf
mov ecx, esi
call fcn.1004e9b0
add esp, 0xc
mov dword [esp + 0x48], eax
jmp 0x100ca7b7
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 0x100ca7e2
push 0
push edx
push eax
mov edx, 0xa
mov ecx, esi
call fcn.1004e9b0
add esp, 0xc
jmp 0x100ca815
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 0x100ca827
mov eax, 0x1017abd8
jmp 0x100ca834
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 0x100ca884
test eax, 0x4000
je 0x100ca865
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0xc]
push edi
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.100c26c0
jmp 0x100ca877
push dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
push dword [esp + 0x38]
push edi
call fcn.100c3570
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp byte [eax + 0x57], 0
jne 0x100ca8f4
push dword [ebp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push edi
call fcn.100b8d90
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.100ba950
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 0x100ca6c0
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.100c4420
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret