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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x1030f644]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, ecx
mov dword [esp + 0x18], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x40], ecx
mov ecx, dword [esi]
mov dword [esp + 0xc], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ecx
movlpd qword [esp + 0x70], xmm0
mov dword [esp + 0x78], 0
push edi
mov edi, edx
mov dword [esp + 0x20], edi
test eax, eax
je 0x1010cb7b
xor edx, edx
cmp dword [eax], 0x40
cmovge eax, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x6c], eax
mov al, byte [ecx + 0x4c]
mov ecx, dword [ebp + 0x14]
and al, 0x10
mov byte [esp + 0x4b], al
mov eax, ecx
and eax, 0xfeff
cmp byte [esp + 0x4b], 0
movzx edx, ax
movzx eax, cx
cmove edx, eax
movzx eax, dx
mov ecx, eax
mov dword [esp + 0x30], ecx
mov ecx, dword [edi]
cmp ecx, 0x40
jle 0x1010cbd6
push 0x40
push str.at_most__d_tables_in_a_join
push esi
call fcn.10099290
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.101afab5
mov esp, ebp
pop ebp
ret
test al, 0x20
mov eax, 1
push 0
cmovne ecx, eax
imul edi, ecx, 0x58
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x28]
lea esi, [edi + 0x2f7]
and esi, 0xfffffff8
lea eax, [esi + 0x48]
push eax
call fcn.10096790
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
cmp byte [eax + 0x51], 0
je 0x1010cc31
mov edx, ecx
mov ecx, eax
call fcn.100964b0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.101afab5
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x20]
xorps xmm0, xmm0
mov edx, dword [esp + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx], edx
mov dword [ecx + 0x1c], 0xffffffff
mov dword [ecx + 0x18], 0xffffffff
mov byte [ecx + 0x2e], al
mov eax, dword [edx + 0x38]
dec eax
mov dword [edx + 0x38], eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x30]
mov word [ecx + 0x2c], ax
mov eax, dword [ebp + 0x18]
mov word [ecx + 0x14], ax
mov dword [esp + 0x50], eax
mov eax, dword [edx + 0x84]
mov dword [ecx + 0x28], eax
lea eax, [edi + 0x48]
movups xmmword [ecx + 0x2f], xmm0
push eax
movups xmmword [ecx + 0x3f], xmm0
mov byte [ecx + 0x4f], 0
add ecx, 0x2f0
push 0
push ecx
mov dword [esp + 0x64], ecx
call sub.VCRUNTIME140.dll_memset
mov edi, dword [esp + 0x18]
add esp, 0xc
lea ecx, [edi + esi]
mov dword [esp + 0x64], edi
lea edx, [edi + 0x50]
mov dword [ecx + 0x24], 0
lea esi, [edi + 0x1e8]
mov dword [esp + 0x4c], edx
lea eax, [edi + 0x1e8]
mov dword [esp + 0x68], edx
mov dword [esp + 0x14], eax
lea eax, [ecx + 0x38]
mov dword [ecx + 0x30], eax
xor eax, eax
mov word [ecx + 0x28], ax
mov eax, 3
mov word [ecx + 0x2c], ax
lea eax, [edx + 0x18]
mov dword [esi + 4], 0
mov dword [esp + 0x70], ecx
lea ecx, [edi + 0x50]
mov dword [edx], edi
mov byte [edx + 9], 0
mov dword [edx + 4], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 8
mov dword [edx + 0x14], eax
mov edx, dword [esp + 0x1c]
push 0x2c
call fcn.101072d0
add esp, 4
cmp dword [esp + 0x3c], 0
jne 0x1010cd72
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1010cd4c
mov al, byte [eax]
mov byte [edi + 0x2f], al
test dword [esp + 0x30], 0x100
je 0x1010cd5a
mov byte [edi + 0x33], 1
push str.SCAN_CONSTANT_ROW
push 0
push dword [esp + 0x18]
call fcn.100b7650
add esp, 0xc
jmp 0x1010cf02
mov edi, dword [esp + 0x20]
add edi, 0x18
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], edi
mov ecx, dword [esi + 4]
mov eax, dword [edi + 0x1c]
mov dword [esi + ecx*4 + 8], eax
inc dword [esi + 4]
test byte [edi + 0x18], 4
je 0x1010cee6
mov ecx, dword [edi + 0x30]
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x54], ecx
test ecx, ecx
je 0x1010cee6
xor esi, esi
mov dword [esp + 0x40], esi
cmp dword [ecx], esi
jle 0x1010cee2
add ecx, 4
mov edi, esi
mov dword [esp + 0x38], ecx
nop dword [eax + eax]
movsx edx, word [eax + 0x2a]
cmp esi, edx
jge 0x1010ceca
mov eax, dword [eax + 4]
mov ecx, esi
shl ecx, 4
add eax, 0xf
add eax, ecx
nop dword [eax]
test byte [eax], 2
jne 0x1010cdfd
inc esi
add eax, 0x10
cmp esi, edx
jl 0x1010cdf0
mov eax, dword [esp + 0x1c]
cmp esi, edx
jge 0x1010ceca
mov eax, dword [esp + 0x10]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.10096790
mov edi, eax
add esp, 8
test edi, edi
je 0x1010cede
push 0x34
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x44]
or eax, 0xffffffff
mov word [edi + 0x22], ax
add esp, 0xc
mov eax, dword [esp + 0x18]
mov byte [edi], 0xa2
mov dword [edi + 0x18], 1
mov eax, dword [eax + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov word [edi + 0x20], si
inc esi
mov dword [edi + 0x2c], eax
mov edx, dword [edx]
test edx, edx
je 0x1010ce77
mov eax, dword [esp + 0x10]
push 0
push 0
mov ecx, dword [eax]
call fcn.100cd030
add esp, 8
jmp 0x1010ce79
xor eax, eax
mov ecx, dword [esp + 0x10]
mov edx, 0xa9
push 0
push eax
call fcn.100cc960
mov ecx, dword [esp + 0x18]
mov edx, 0x35
push eax
push edi
call fcn.100cc960
mov ecx, dword [esp + 0x5c]
mov edx, eax
push 1
call fcn.10105390
mov eax, dword [esp + 0x68]
add esp, 0x14
mov edi, dword [esp + 0x40]
add dword [esp + 0x38], 0x18
inc edi
mov dword [esp + 0x40], edi
cmp edi, dword [eax]
mov eax, dword [esp + 0x1c]
jl 0x1010cdd0
jmp 0x1010cede
push edi
push dword [eax]
push str.too_many_arguments_on__s_____max__d
push dword [esp + 0x1c]
call fcn.10099290
add esp, 0x10
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
add edi, 0x48
mov ecx, dword [esp + 0x20]
inc eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], edi
cmp eax, dword [ecx]
jl 0x1010cd85
mov ecx, dword [esp + 0x4c]
mov esi, dword [ecx + 0xc]
sub esi, 1
js 0x1010cf28
nop
mov edx, ecx
mov ecx, dword [esp + 0x20]
push esi
call fcn.10106590
mov ecx, dword [esp + 0x50]
add esp, 4
sub esi, 1
jns 0x1010cf10
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x51], 0
jne 0x1010d099
cmp dword [ecx + 0xc], 0
mov dword [esp + 0x2c], 0
jle 0x1010cff7
xor edi, edi
nop word [eax + eax]
mov esi, dword [ecx + 0x14]
add esi, edi
test byte [esi + 0xa], 2
jne 0x1010cfe2
mov eax, dword [esi + 0x28]
or eax, dword [esi + 0x2c]
jne 0x1010cfe2
cmp dword [esp + 0x3c], eax
je 0x1010cfc2
mov edx, dword [esi]
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movq qword [esp + 0x90], xmm0
mov dword [esp + 0x98], eax
mov byte [esp + 0x94], 1
mov dword [esp + 0x84], 0x1010cae0
mov dword [esp + 0x88], 0x100ce190
test edx, edx
je 0x1010cfc2
lea ecx, [esp + 0x80]
call fcn.100c9550
cmp byte [esp + 0x94], 0
je 0x1010cfde
mov eax, dword [esp + 0xc]
push 0x10
push dword [eax + 0x24]
push dword [esi]
push dword [esp + 0x1c]
call fcn.100d2c50
add esp, 0x10
or word [esi + 0xa], 4
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x2c]
add edi, 0x30
inc esi
mov dword [esp + 0x2c], esi
cmp esi, dword [ecx + 0xc]
jl 0x1010cf50
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
and eax, 0x100
mov dword [esp + 0x54], eax
je 0x1010d044
push dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, edi
call fcn.10107be0
mov esi, dword [esp + 0x14]
add esp, 8
test eax, eax
je 0x1010d02b
mov byte [esi + 0x33], 1
jmp 0x1010d048
cmp dword [esp + 0x34], 0
jne 0x1010d048
mov eax, 0x80
or word [esi + 0x2c], ax
mov eax, dword [esp + 0x28]
mov dword [esi + 8], eax
jmp 0x1010d048
mov esi, dword [esp + 0xc]
cmp dword [esp + 0x3c], 1
jne 0x1010d05c
lea ecx, [esp + 0x64]
call fcn.1010c920
test eax, eax
jne 0x1010d0cb
lea ecx, [esp + 0x64]
call fcn.1010b480
test eax, eax
jne 0x1010d099
xor edx, edx
mov ecx, esi
call fcn.1010c020
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x51], 0
jne 0x1010d099
cmp dword [esi + 8], 0
je 0x1010d0d5
movzx edx, word [esi + 0x48]
mov ecx, esi
inc dx
call fcn.1010c020
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x51], 0
je 0x1010d0cf
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x84], eax
mov edx, ecx
mov ecx, dword [esp + 0x24]
call fcn.10108de0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.101afab5
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x24]
cmp dword [esi + 8], 0
jne 0x1010d0f0
mov eax, dword [ecx + 0x20]
and eax, 0x1000
or eax, 0
je 0x1010d0f0
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x44], 0xffffffff
cmp dword [edi + 0x24], 0
jne 0x1010d099
cmp byte [ecx + 0x51], 0
jne 0x1010d099
cmp byte [esi + 0x2e], 2
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x34], 0xffffffff
jb 0x1010d2e2
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1010d2e2
mov edx, 0x100
test word [ecx + 0x4c], dx
jne 0x1010d2e2
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.10107590
mov esi, edx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x6c]
mov edi, eax
mov dword [esp + 0x1c], edi
test edx, edx
je 0x1010d165
mov ecx, dword [esp + 0x14]
call fcn.10107590
or edi, eax
or esi, edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], esi
mov ecx, dword [esp + 0xc]
movzx esi, byte [ecx + 0x2e]
dec esi
mov dword [esp + 0x38], esi
cmp esi, 1
jl 0x1010d2e0
imul eax, esi, 0x58
add eax, 0x2f0
add eax, ecx
mov dword [esp + 0x28], eax
nop dword [eax]
mov edx, dword [eax + 0x48]
mov dword [esp + 0x60], edx
movzx eax, byte [edx + 0x10]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 0x2c], 8
lea eax, [eax + ecx*8]
mov dword [esp + 0x5c], eax
je 0x1010d2c1
cmp word [esp + 0x54], 0
jne 0x1010d1cc
test dword [edx + 0x24], 0x1000
je 0x1010d2c1
mov eax, dword [edx + 8]
mov ecx, eax
mov edx, dword [edx + 0xc]
and ecx, edi
mov dword [esp + 0x14], eax
mov eax, edx
and eax, dword [esp + 0x2c]
or ecx, eax
mov dword [esp + 0x18], edx
jne 0x1010d2c1
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 0x14]
mov esi, edx
mov eax, dword [eax + 0xc]
lea edi, [eax + eax*2]
shl edi, 4
add edi, edx
cmp esi, edi
jae 0x1010d23c
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [esp + 0x14]
and eax, dword [esp + 0x18]
or ecx, eax
je 0x1010d22b
mov eax, dword [esi]
test byte [eax + 4], 1
je 0x1010d234
mov ecx, dword [esp + 0x5c]
movsx eax, word [eax + 0x24]
cmp eax, dword [ecx + 0x34]
jne 0x1010d234
add esi, 0x30
cmp esi, edi
jb 0x1010d204
jmp 0x1010d23c
cmp esi, edi
jb 0x1010d2b9
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
not eax
and dword [esp + 0x40], eax
not ecx
and dword [esp + 0x34], ecx
cmp edx, edi
jae 0x1010d27c
mov esi, dword [esp + 0x60]
nop dword [eax + eax]
mov ecx, dword [edx + 0x28]
mov eax, dword [edx + 0x2c]
and ecx, dword [esi + 8]
and eax, dword [esi + 0xc]
or ecx, eax
je 0x1010d275
or word [edx + 0xa], 4
add edx, 0x30
cmp edx, edi
jb 0x1010d260
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x38]
mov cl, byte [edi + 0x2e]
movzx edx, cl
lea eax, [edx - 1]
cmp esi, eax
je 0x1010d2ae
mov ecx, dword [esp + 0x28]
sub edx, esi
imul eax, edx, 0x58
sub eax, 0x58
push eax
lea eax, [ecx + 0x58]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov cl, byte [edi + 0x2e]
add esp, 0xc
dec cl
dec dword [esp + 0x3c]
mov byte [edi + 0x2e], cl
jmp 0x1010d2bd
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
dec esi
sub eax, 0x58
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], eax
cmp esi, 1
jge 0x1010d190
mov esi, dword [esp + 0xc]
jmp 0x1010d2e2
mov esi, ecx
mov ecx, dword [esi]
movsx eax, word [esi + 0x48]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], 0
add dword [ecx + 0x84], eax
test dl, 4
je 0x1010d39a
mov eax, dword [esi + 0x338]
mov ecx, dword [eax + 0x24]
test ecx, 0x1000
jne 0x1010d34f
test dl, 8
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x20]
je 0x1010d39e
mov eax, dword [edx + 0x18]
mov dword [esp + 0x18], 0
cmp dword [eax + 0x38], 0
jne 0x1010d39e
test ecx, 0x2000
je 0x1010d353
test byte [esp + 0x30], 0x10
mov dword [esp + 0x18], 0
je 0x1010d39e
jmp 0x1010d353
mov edx, dword [esp + 0x20]
mov eax, ecx
mov dword [esp + 0x18], 0
and eax, 0x1000
neg eax
sbb al, al
add al, 2
mov byte [esi + 0x31], al
mov eax, dword [edx + 0x18]
test byte [eax + 0x24], 0x20
jne 0x1010d39e
mov dword [esp + 0x18], 0
test cl, 0x40
je 0x1010d39e
mov eax, dword [esi + 0x338]
and ecx, 0xffffffbf
mov dword [eax + 0x24], ecx
mov eax, dword [esp + 0x30]
and eax, 8
mov dword [esp + 0x18], eax
jmp 0x1010d39e
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jle 0x1010d615
mov eax, dword [esp + 0x58]
add eax, 0x48
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
nop dword [eax]
movzx eax, byte [eax - 0x14]
mov edi, 0xfff0bdc0
lea eax, [eax + eax*8]
mov esi, dword [edx + eax*8 + 0x18]
lea edx, [edx + eax*8]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], esi
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x1010d3fa
mov eax, dword [esp + 0x24]
xor edi, edi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x1010d3fa
lea eax, [eax + 0x10]
inc edi
cmp dword [eax], ecx
jne 0x1010d3f2
test byte [esi + 0x24], 2
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov dword [esp + 0x38], eax
jne 0x1010d57a
cmp dword [esi + 0xc], 0
jne 0x1010d57a
mov eax, dword [eax + 0x24]
test eax, 0x400
je 0x1010d45b
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1010d43b
mov ecx, dword [esp + 0x24]
nop dword [eax]
cmp dword [eax], ecx
je 0x1010d43b
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x1010d430
mov ecx, dword [esp + 0x44]
push 0xfffffffffffffff4
push eax
push 0
push 0
push dword [edx + 0x34]
mov edx, 0xa3
call fcn.100b75d0
add esp, 0x14
jmp 0x1010d576
cmp dword [esi + 0x38], 0
jne 0x1010d57a
test al, 0x40
jne 0x1010d561
test byte [esp + 0x30], 0x20
jne 0x1010d561
mov eax, dword [esp + 0xc]
mov ecx, 0x61
cmp byte [eax + 0x31], 0
je 0x1010d49a
mov esi, dword [esp + 0xc]
mov ecx, 0x62
mov eax, dword [edx + 0x34]
mov dword [esi + 0x18], eax
mov esi, dword [esp + 0x2c]
mov edx, dword [edx + 0x34]
push ecx
mov ecx, dword [esp + 0x14]
push esi
push edi
call fcn.100e79f0
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp byte [eax + 0x31], 0
jne 0x1010d552
cmp word [esi + 0x2a], 0x40
jge 0x1010d552
test byte [esi + 0x24], 0x20
jne 0x1010d552
mov eax, dword [esp + 0x1c]
xor esi, esi
mov edx, dword [eax + 0x40]
mov ecx, dword [eax + 0x44]
mov eax, edx
or eax, ecx
je 0x1010d4ee
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x1010d4e1
mov edx, dword [esp + 0x44]
mov ecx, dword [edx]
cmp byte [ecx + 0x51], 0
je 0x1010d517
push esi
mov edx, 0xfffffffd
call fcn.100b7d60
mov edx, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esp + 0x44]
call fcn.100b7b90
jmp 0x1010d576
mov eax, dword [edx + 0x6c]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x1010d54b
mov ecx, dword [esp + 0x44]
mov edx, eax
push 0xfffffffffffffffd
push esi
call fcn.100b7ef0
mov edx, dword [esp + 0x20]
add esp, 8
mov ecx, dword [esp + 0x44]
call fcn.100b7b90
jmp 0x1010d576
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xfd
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
call fcn.100b7b90
jmp 0x1010d576
push dword [esi]
mov ecx, dword [esp + 0x14]
mov edx, edi
push 0
push dword [esi + 0x1c]
call fcn.100d8a90
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
test dword [edx + 0x24], 0x200
je 0x1010d5bf
mov eax, dword [esp + 0x2c]
mov esi, dword [edx + 0x20]
mov edx, 0x61
mov dword [esp + 0x58], esi
test byte [eax + 0x24], 0x20
je 0x1010d705
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
jne 0x1010d705
test byte [esp + 0x30], 0x20
je 0x1010d705
mov eax, dword [ecx - 0x44]
mov dword [ecx - 0x40], eax
mov esi, dword [esp + 0x10]
test edi, edi
js 0x1010d5f3
mov eax, dword [esi + 0x74]
mov edx, esi
test eax, eax
mov ecx, edi
cmovne edx, eax
mov eax, 1
shl eax, cl
mov esi, dword [edx + 0x54]
test esi, eax
jne 0x1010d5f3
bts esi, edi
mov dword [edx + 0x54], esi
cmp edi, 1
jne 0x1010d5f3
mov ecx, edx
call fcn.100df0e0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add eax, 0x58
sub dword [esp + 0x28], 1
mov dword [esp + 0x14], eax
jne 0x1010d3c0
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x6c]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x51], 0
jne 0x1010d099
mov dword [esp + 0x50], 0
test ecx, ecx
jle 0x1010d6ef
lea edi, [esi + 0x324]
mov eax, dword [edi + 0x14]
test dword [eax + 0x24], 0x4000
je 0x1010d68a
mov ecx, dword [esp + 0x20]
lea eax, [edi - 0x34]
mov edx, dword [esp + 0x4c]
push eax
movzx eax, byte [edi]
push dword [esp + 0x38]
push dword [esp + 0x48]
lea eax, [eax + eax*8]
lea eax, [eax + 1]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.10107f90
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp byte [eax + 0x51], 0
jne 0x1010d099
push dword [esp + 0x30]
mov edx, dword [esp + 0x24]
lea esi, [edi - 0x34]
mov ecx, dword [esp + 0x14]
push esi
call fcn.10101c10
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
mov edx, ecx
push dword [esp + 0x4c]
push esi
mov esi, dword [esp + 0x64]
mov eax, dword [ecx + 0x6c]
mov ecx, dword [esp + 0x24]
push esi
push dword [esp + 0x24]
mov dword [edi - 0x14], eax
call fcn.10103000
mov ecx, dword [edi - 0x1c]
inc esi
mov dword [esp + 0x5c], eax
add esp, 0x1c
mov eax, dword [esp + 0xc]
add edi, 0x58
mov dword [esp + 0x34], edx
mov dword [esp + 0x50], esi
mov dword [eax + 0x20], ecx
cmp esi, dword [esp + 0x3c]
jl 0x1010d643
mov esi, eax
mov ecx, dword [esp + 0xac]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.101afab5
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x31], 0
je 0x1010d73b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x1010d72d
cmp eax, esi
je 0x1010d72d
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x1010d721
mov eax, dword [esp + 0xc]
mov edx, 0x62
mov dword [eax + 0x1c], ecx
jmp 0x1010d764
mov eax, dword [esp + 0x50]
test eax, eax
je 0x1010d753
test byte [esp + 0x30], 0x20
je 0x1010d753
mov ecx, eax
mov edx, 0x60
jmp 0x1010d766
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
mov ecx, dword [eax + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x28], eax
mov eax, ecx
mov esi, dword [esp + 0x14]
push edi
mov dword [esi - 0x40], eax
mov esi, dword [esp + 0x5c]
push dword [esi + 0x2c]
push ecx
mov ecx, dword [esp + 0x50]
call fcn.100b7210
add esp, 0xc
mov edx, esi
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.100b8090
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x24]
test al, 0xf
je 0x1010d5c3
test eax, 0x88002
jne 0x1010d5c3
mov eax, dword [esp + 0xc]
test byte [eax + 0x2c], 1
jne 0x1010d5c3
cmp byte [eax + 0x33], 2
je 0x1010d5c3
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 0x6c]
test eax, eax
jle 0x1010d5c3
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov edx, 2
mov word [eax + ecx*4 - 0x12], dx
jmp 0x1010d5c3