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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x102beb54]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x34], eax
movlpd qword [esp + 0x78], xmm0
test edi, edi
je 0x1009151f
xor ecx, ecx
cmp dword [edi], 0x40
cmovge edi, ecx
mov dword [esp + 0x48], edi
mov al, byte [eax + 0x40]
mov ecx, dword [ebp + 0x14]
and al, 0x20
mov byte [esp + 0x4f], al
mov eax, ecx
and eax, 0xfeff
mov dword [esp + 0x70], edi
cmp byte [esp + 0x4f], 0
movzx edx, ax
movzx eax, cx
cmove edx, eax
movzx eax, dx
mov edx, dword [esp + 0x24]
mov ecx, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x64], ecx
mov ecx, dword [edx]
cmp ecx, 0x40
jle 0x10091586
mov edx, dword [esp + 0x18]
push 0x40
push str.at_most__d_tables_in_a_join
push edx
call fcn.10022e00
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret
test al, 0x20
mov eax, 1
push 0
cmovne ecx, eax
mov dword [esp + 0x48], ecx
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x38]
shl eax, 4
mov dword [esp + 0x20], eax
add eax, 0x2f7
and eax, 0xfffffff8
mov dword [esp + 0x54], eax
add eax, 0x48
push eax
call fcn.10020250
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
cmp byte [eax + 0x45], 0
je 0x100915eb
mov edx, ecx
mov ecx, eax
call fcn.1001ff70
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [ecx], edx
mov dword [ecx + 8], edi
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x1c], 0xffffffff
mov dword [ecx + 0x18], 0xffffffff
mov byte [ecx + 0x2e], al
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0xc]
mov edi, dword [esi + 0x44]
lea eax, [edi + 1]
mov dword [esi + 0x44], eax
lea eax, [edi - 1]
test edi, eax
jne 0x10091653
mov edx, dword [esi + 0x48]
lea eax, [edi*8 + 4]
mov ecx, dword [esi]
push 0
push eax
call fcn.100203f0
mov ecx, dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x18]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x48]
test eax, eax
je 0x10091661
mov dword [eax + edi*4], 0xffffffff
mov eax, dword [esp + 0x40]
not edi
mov word [ecx + 0x2c], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0x18]
mov word [ecx + 0x14], ax
mov dword [ecx + 0x20], edi
mov dword [ecx + 0x24], edi
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0x84]
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x1c]
movups xmmword [ecx + 0x2f], xmm0
add eax, 0x48
movups xmmword [ecx + 0x3f], xmm0
push eax
mov byte [ecx + 0x4f], 0
add ecx, 0x2f0
push 0
push ecx
mov dword [esp + 0x68], ecx
call fcn.102010e0
mov esi, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x50]
lea edi, [esi + 0x50]
add ecx, esi
mov dword [esp + 0x68], esi
lea edx, [esi + 0x1e8]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x20], edx
push 0x47
lea eax, [ecx + 0x38]
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x30], eax
xor eax, eax
mov word [ecx + 0x28], ax
mov eax, 3
mov word [ecx + 0x2c], ax
lea eax, [edi + 0x18]
mov dword [edx + 4], 0
mov ecx, edi
mov edx, dword [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x70], edi
mov dword [edi], esi
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 8
mov dword [edi + 0x14], eax
call fcn.1008bdc0
add esp, 4
cmp dword [esp + 0x44], 0
jne 0x1009174a
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1009173c
mov al, byte [eax]
mov byte [esi + 0x2f], al
test dword [esp + 0x40], 0x100
je 0x1009174a
mov byte [esi + 0x33], 1
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], 0
cmp dword [eax], 0
jle 0x100918d7
mov edx, dword [esp + 0x20]
lea edi, [eax + 0x18]
mov dword [esp + 0x30], edi
nop word [eax + eax]
mov ecx, dword [edx + 4]
mov eax, dword [edi + 0x20]
mov dword [edx + ecx*4 + 8], eax
inc dword [edx + 4]
test byte [edi + 0x18], 4
je 0x100918b5
mov ecx, dword [edi + 0x38]
mov eax, dword [edi]
mov dword [esp + 0x50], eax
mov dword [esp + 0x60], ecx
test ecx, ecx
je 0x100918b5
xor esi, esi
mov dword [esp + 0x3c], esi
cmp dword [ecx], esi
jle 0x100918b5
add ecx, 8
mov edi, esi
mov dword [esp + 0x38], ecx
movsx edx, word [eax + 0x2a]
cmp esi, edx
jge 0x10091899
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 0x100917dd
inc esi
add eax, 0x10
cmp esi, edx
jl 0x100917d0
mov eax, dword [esp + 0x50]
cmp esi, edx
jge 0x10091899
mov eax, dword [esp + 0x18]
push 0
push 0x30
mov ecx, dword [eax]
call fcn.10020250
mov edi, eax
add esp, 8
test edi, edi
je 0x100918ad
push 0x30
push 0
push edi
call fcn.102010e0
mov edx, dword [esp + 0x44]
or eax, 0xffffffff
mov word [edi + 0x22], ax
add esp, 0xc
mov eax, dword [esp + 0x30]
mov byte [edi], 0x98
mov dword [edi + 0x18], 1
mov eax, dword [eax + 0x20]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x50]
mov word [edi + 0x20], si
inc esi
mov dword [edi + 0x2c], eax
mov edx, dword [edx]
test edx, edx
je 0x10091857
mov eax, dword [esp + 0x18]
push 0
push 0
mov ecx, dword [eax]
call fcn.100549d0
add esp, 8
jmp 0x10091859
xor eax, eax
mov ecx, dword [esp + 0x18]
mov edx, 0x4e
push eax
push edi
call fcn.10054230
mov ecx, dword [esp + 0x5c]
mov edx, eax
push 1
call fcn.1008a070
mov eax, dword [esp + 0x6c]
add esp, 0xc
mov edi, dword [esp + 0x3c]
add dword [esp + 0x38], 0x18
inc edi
mov dword [esp + 0x3c], edi
cmp edi, dword [eax]
mov eax, dword [esp + 0x50]
jl 0x100917b3
jmp 0x100918ad
push edi
push dword [eax]
push str.too_many_arguments_on__s_____max__d
push dword [esp + 0x24]
call fcn.10022e00
add esp, 0x10
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add edi, 0x50
mov ecx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], edi
cmp eax, dword [ecx]
jl 0x10091770
mov edi, dword [esp + 0x54]
mov eax, ecx
mov esi, dword [edi + 0xc]
sub esi, 1
js 0x100918f6
nop
push esi
mov edx, edi
mov ecx, eax
call fcn.1008b0b0
mov eax, dword [esp + 0x28]
add esp, 4
sub esi, 1
jns 0x100918e0
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x45], 0
jne 0x10091a56
cmp dword [edi + 0xc], 0
mov dword [esp + 0x1c], 0
jle 0x100919b9
xor edi, edi
nop dword [eax + eax]
mov eax, dword [esp + 0x54]
mov esi, dword [eax + 0x14]
mov eax, dword [esi + edi + 0x28]
add esi, edi
or eax, dword [esi + 0x2c]
jne 0x1009199e
cmp dword [esp + 0x44], eax
je 0x10091982
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], 0x10091490
test edx, edx
je 0x10091982
lea ecx, [esp + 0x80]
call fcn.10051100
cmp byte [esp + 0x94], 0
je 0x1009199e
mov eax, dword [esp + 0x14]
push 0x10
push dword [eax + 0x24]
push dword [esi]
push dword [esp + 0x24]
call fcn.1005a510
add esp, 0x10
or word [esi + 0xa], 4
mov eax, dword [esp + 0x1c]
add edi, 0x30
mov ecx, dword [esp + 0x54]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [ecx + 0xc]
jl 0x10091920
mov edi, ecx
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
and eax, 0x100
mov dword [esp + 0x60], eax
je 0x10091a01
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push esi
push edi
call fcn.1008c5f0
mov edi, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x100919ec
mov byte [edi + 0x33], 1
jmp 0x10091a05
cmp dword [esp + 0x48], 0
jne 0x10091a05
mov eax, 0x80
mov dword [edi + 8], esi
or word [edi + 0x2c], ax
jmp 0x10091a05
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x44], 1
jne 0x10091a19
lea ecx, [esp + 0x68]
call fcn.100912d0
test eax, eax
jne 0x10091a88
lea ecx, [esp + 0x68]
call fcn.1008ff70
test eax, eax
jne 0x10091a56
xor edx, edx
mov ecx, edi
call fcn.10090a00
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x45], 0
jne 0x10091a56
cmp dword [edi + 8], 0
je 0x10091a92
movzx edx, word [edi + 0x48]
mov ecx, edi
inc dx
call fcn.10090a00
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x45], 0
je 0x10091a8c
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x84], eax
mov edx, ecx
mov ecx, dword [esp + 0x34]
call fcn.1008d890
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x34]
cmp dword [edi + 8], 0
jne 0x10091aa9
test dword [ecx + 0x18], 0x1000
je 0x10091aa9
mov dword [edi + 0x40], 0xffffffff
mov dword [edi + 0x44], 0xffffffff
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x24], 0
jne 0x10091a56
cmp byte [ecx + 0x45], 0
jne 0x10091a56
cmp byte [edi + 0x2e], 2
jb 0x10091bcf
test esi, esi
je 0x10091bcf
mov eax, 0x400
test word [ecx + 0x40], ax
jne 0x10091bcf
mov ecx, dword [esp + 0x20]
mov edx, esi
call fcn.1008c050
mov edi, edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x70]
mov esi, eax
mov dword [esp + 0x48], esi
test edx, edx
je 0x10091b0e
mov ecx, dword [esp + 0x20]
call fcn.1008c050
or esi, eax
or edi, edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x14]
mov al, byte [edi + 0x2e]
cmp al, 2
jb 0x10091bcf
mov edx, dword [edi + 4]
mov dword [esp + 0x2c], edx
movzx eax, al
lea eax, [eax + eax*4]
add eax, eax
mov ecx, dword [edi + eax*8 + 0x2e0]
movzx eax, byte [ecx + 0x10]
lea eax, [eax + eax*4]
add eax, eax
test byte [edx + eax*8 + 0x2c], 8
je 0x10091bcf
cmp word [esp + 0x60], 0
jne 0x10091b58
test dword [ecx + 0x24], 0x1000
je 0x10091bcf
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx + 8]
mov ecx, edi
mov dword [esp + 0x50], eax
and ecx, esi
and eax, dword [esp + 0x1c]
or ecx, eax
jne 0x10091bcb
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
lea esi, [ecx + ecx*2]
shl esi, 4
add esi, eax
cmp eax, esi
jae 0x10091bad
mov edx, dword [eax + 0x28]
mov ecx, dword [eax + 0x2c]
and edx, edi
and ecx, dword [esp + 0x50]
or edx, ecx
je 0x10091b9c
mov ecx, dword [eax]
test byte [ecx + 4], 1
je 0x10091ba5
add eax, 0x30
cmp eax, esi
jb 0x10091b84
jmp 0x10091ba9
cmp eax, esi
jb 0x10091bcb
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
dec dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov al, byte [edi + 0x2e]
dec al
mov byte [edi + 0x2e], al
cmp al, 2
jae 0x10091b24
jmp 0x10091bcf
mov edi, dword [esp + 0x14]
mov ecx, dword [edi]
movsx eax, word [edi + 0x48]
mov dword [esp + 0x38], 0
add dword [ecx + 0x84], eax
test byte [esp + 0x40], 4
je 0x10091c77
mov eax, dword [edi + 0x330]
mov edx, dword [esp + 0x64]
and edx, 8
mov ecx, dword [eax + 0x24]
test ecx, 0x1000
jne 0x10091c23
mov dword [esp + 0x38], 0
test dx, dx
je 0x10091c77
mov dword [esp + 0x38], 0
test ecx, 0x400
jne 0x10091c77
mov esi, dword [esp + 0x24]
mov eax, ecx
and eax, 0x1000
mov dword [esp + 0x38], 0
neg eax
sbb al, al
add al, 2
mov byte [edi + 0x31], al
mov eax, dword [esi + 0x18]
test byte [eax + 0x24], 0x20
jne 0x10091c7b
mov dword [esp + 0x38], 0
test cl, 0x40
je 0x10091c7b
mov eax, dword [edi + 0x330]
and ecx, 0xffffffbf
mov dword [eax + 0x24], ecx
xor ecx, ecx
test dx, dx
mov eax, 8
cmove eax, ecx
movzx eax, ax
mov dword [esp + 0x38], eax
jmp 0x10091c7b
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
test ecx, ecx
jle 0x10092069
mov eax, dword [esp + 0x5c]
add eax, 0x40
mov dword [esp + 0x48], ecx
mov dword [esp + 0x20], eax
nop word [eax + eax]
movzx eax, byte [eax - 0x14]
mov edi, 0xfff0bdc0
lea ecx, [eax + eax*4]
shl ecx, 4
add ecx, esi
mov dword [esp + 0x30], ecx
mov esi, dword [ecx + 0x18]
mov dword [esp + 0x1c], esi
mov edx, dword [esi + 0x48]
test edx, edx
je 0x10091ce6
mov eax, dword [esp + 0x34]
xor edi, edi
mov ecx, dword [eax + 0x14]
test ecx, ecx
jle 0x10091ce2
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], edx
je 0x10091ce2
inc edi
add eax, 0x10
cmp edi, ecx
jl 0x10091cd6
mov ecx, dword [esp + 0x30]
test byte [esi + 0x24], 2
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
mov dword [esp + 0x2c], eax
jne 0x10091e6a
cmp dword [esi + 0xc], 0
jne 0x10091e6a
mov eax, dword [eax + 0x24]
test eax, 0x400
je 0x10091d4b
mov eax, dword [esi + 0x40]
test eax, eax
je 0x10091d2b
mov edx, dword [esp + 0x34]
nop dword [eax]
cmp dword [eax], edx
je 0x10091d2b
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x10091d20
push 0xfffffffffffffff4
push eax
push 0
push 0
push dword [ecx + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, 0x9c
call fcn.1003eae0
add esp, 0x14
jmp 0x10091e66
cmp dword [esi + 0x38], 0
jne 0x10091e6a
test al, 0x40
jne 0x10091e51
test byte [esp + 0x40], 0x20
jne 0x10091e51
mov eax, dword [esp + 0x14]
mov ecx, 0x68
mov edx, dword [esp + 0x30]
cmp byte [eax + 0x31], 0
je 0x10091d8e
mov esi, dword [esp + 0x14]
mov ecx, 0x69
mov eax, dword [edx + 0x38]
mov dword [esi + 0x18], eax
mov esi, dword [esp + 0x1c]
mov edx, dword [edx + 0x38]
push ecx
mov ecx, dword [esp + 0x1c]
push esi
push edi
call fcn.1006d790
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp byte [eax + 0x31], 0
jne 0x10091e2e
cmp word [esi + 0x2a], 0x40
jge 0x10091e2e
test byte [esi + 0x24], 0x20
jne 0x10091e2e
mov eax, dword [esp + 0x30]
xor esi, esi
mov edx, dword [eax + 0x48]
mov ecx, dword [eax + 0x4c]
mov eax, edx
or eax, ecx
je 0x10091ddd
nop dword [eax]
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x10091dd0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
cmp byte [ecx + 0x45], 0
je 0x10091df9
push esi
mov edx, 0xfffffffd
call fcn.1003f280
add esp, 4
jmp 0x10091e2e
mov eax, dword [eax + 0x88]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x58]
cmp byte [eax + ecx*4 - 0x13], 0
lea eax, [eax + ecx*4]
je 0x10091e27
mov ecx, dword [esp + 0x28]
lea edx, [eax - 0x14]
push 0xfffffffffffffffd
push esi
call fcn.1003f410
add esp, 8
jmp 0x10091e2e
mov dword [eax - 4], esi
mov byte [eax - 0x13], 0xfd
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x88]
test eax, eax
jle 0x10091e66
mov edx, dword [esp + 0x38]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x58]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x10091e66
push dword [esi]
mov ecx, dword [esp + 0x1c]
mov edx, edi
push 0
push dword [esi + 0x1c]
call fcn.1005e900
add esp, 0xc
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
test dword [ecx + 0x24], 0x200
je 0x10092017
mov eax, dword [esp + 0x1c]
mov esi, dword [ecx + 0x20]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x3c], 0x68
test byte [eax + 0x24], 0x20
je 0x10091eb0
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
mov eax, dword [esp + 0x40]
jne 0x10091eb4
test al, 0x20
je 0x10091eb4
mov eax, dword [edx - 0x3c]
mov dword [edx - 0x38], eax
jmp 0x10092017
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x31], 0
je 0x10091ee9
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x58]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x10091edc
cmp eax, esi
je 0x10091edc
mov eax, dword [eax + 0x14]
inc edx
test eax, eax
jne 0x10091ed0
mov dword [esp + 0x3c], 0x69
mov dword [ecx + 0x1c], edx
jmp 0x10091f10
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x10091f03
test al, 0x20
je 0x10091f03
mov edx, ecx
mov dword [esp + 0x3c], 0x67
mov eax, ecx
jmp 0x10091f12
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x28]
lea eax, [edx + 1]
mov dword [ecx + 0x28], eax
mov eax, edx
mov ecx, dword [esp + 0x20]
mov dword [ecx - 0x38], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x88]
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x10091f4b
mov ecx, dword [esp + 0x1c]
push edi
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x48]
call fcn.1003e6a0
add esp, 0xc
jmp 0x10091f8e
mov esi, dword [esp + 0x28]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x88], eax
mov eax, esi
mov esi, dword [esp + 0x5c]
mov eax, dword [eax + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], edi
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 + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x18]
mov edx, esi
mov eax, dword [ecx + 8]
mov dword [esp + 0x5c], eax
call fcn.10065350
mov esi, eax
test esi, esi
je 0x10091fd7
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx]
cmp byte [ecx + 0x45], 0
je 0x10091fc2
push esi
mov edx, 0xfffffff7
call fcn.1003f280
add esp, 4
jmp 0x10091fd7
mov eax, dword [edx + 0x88]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x58]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], esi
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x24]
test al, 0xf
je 0x10092017
test eax, 0x8002
jne 0x10092017
mov eax, dword [esp + 0x14]
test byte [eax + 0x2c], 1
jne 0x10092017
cmp byte [eax + 0x33], 2
je 0x10092017
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x88]
test eax, eax
jle 0x10092017
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x58]
mov edx, 2
mov word [eax + ecx*4 - 0x12], dx
test edi, edi
js 0x1009204b
mov ecx, dword [esp + 0x18]
mov edx, ecx
mov eax, dword [ecx + 0x78]
test eax, eax
mov ecx, edi
cmovne edx, eax
mov eax, 1
shl eax, cl
mov esi, dword [edx + 0x5c]
test esi, eax
jne 0x1009204b
bts esi, edi
mov dword [edx + 0x5c], esi
cmp edi, 1
jne 0x1009204b
mov ecx, edx
call fcn.10064a20
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
add eax, 0x50
sub dword [esp + 0x48], 1
mov dword [esp + 0x20], eax
jne 0x10091ca0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x88]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x45], 0
jne 0x10091a56
or ecx, 0xffffffff
or edx, 0xffffffff
xor edi, edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x58], edx
cmp dword [esp + 0x44], edi
jle 0x10092169
mov esi, dword [esp + 0x14]
add esi, 0x31c
nop dword [eax + eax]
mov eax, dword [esi + 0x14]
test dword [eax + 0x24], 0x4000
je 0x100920f3
lea eax, [esi - 0x2c]
push eax
movzx eax, byte [esi]
push edx
mov edx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [eax + eax*4]
add ecx, 8
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x24]
push eax
call fcn.1008c8d0
mov eax, dword [esp + 0x44]
add esp, 0x10
cmp byte [eax + 0x45], 0
jne 0x10091a56
push dword [esp + 0x40]
movzx eax, byte [esi]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push eax
lea eax, [esi - 0x2c]
push edi
push eax
call fcn.10086aa0
mov eax, dword [esp + 0x38]
mov edx, edi
push dword [esp + 0x68]
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + 0x88]
mov dword [esi - 0xc], eax
mov eax, dword [esp + 0x40]
push eax
call fcn.10087cb0
mov ecx, dword [esi - 0x14]
inc edi
mov dword [esp + 0x44], eax
add esp, 0x18
mov eax, dword [esp + 0x14]
add esi, 0x50
mov dword [esp + 0x58], edx
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x2c]
cmp edi, dword [esp + 0x44]
jl 0x100920b0
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0x14]
pop edi
pop esi
xor ecx, esp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret