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

Disassembly:
mov eax, 0x100c9e3a
call fcn.100bd27c
mov eax, dword [esp + 0x14]
sub esp, 0x60
cmp dword [eax + 8], 0
push ebx
mov ebx, ecx
jne 0x10021220
xor eax, eax
jmp 0x1002151f
push esi
push dword [esp + 0x80]
lea esi, [ebx + 0x24]
push esi
push eax
call fcn.100223b6
test eax, eax
jne 0x1002151e
mov eax, dword [esi]
lea ecx, [esp + 0x38]
mov dword [esp + 0x80], eax
add eax, 0xe
push eax
call fcn.10022279
test eax, eax
jne 0x1002151e
mov eax, dword [ebx + 0x28]
mov ecx, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x44]
shr eax, cl
cmp eax, ebp
jae 0x10021272
xor eax, eax
inc eax
jmp 0x1002151d
push edi
mov edi, dword [esp + 0x40]
test edi, edi
jne 0x10021282
xor eax, eax
jmp 0x1002151c
push ebp
call fcn.10003645
mov esi, eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], esi
and dword [esp + 0x7c], 0
push ebp
push 0
push esi
call fcn.100bda30
and dword [esp + 0x70], 0
xorps xmm0, xmm0
and dword [esp + 0x74], 0
add esp, 0x10
and dword [esp + 0x68], 0
and dword [esp + 0x6c], 0
movlpd qword [esp + 0x58], xmm0
mov byte [esp + 0x78], 1
cmp edi, ebp
jae 0x10021505
cmp byte [esi + edi], 0
jne 0x10021505
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x88]
mov byte [esi + edi], 1
shl edi, cl
lea ecx, [esp + 0x4c]
add eax, edi
push eax
mov dword [esp + 0x24], eax
call fcn.100222c5
mov ecx, dword [esp + 0x44]
xor edx, edx
inc edx
shl edx, cl
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x1c], edx
lea eax, [ecx*2 + 0x10]
cmp eax, edx
ja 0x10021505
cmp byte [esp + 0x50], 0xff
jne 0x10021505
and dword [esp + 0x84], 0
test ecx, ecx
je 0x100214f5
xor esi, esi
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x88]
mov ecx, edx
sub edx, dword [esp + 0x14]
sub ecx, esi
add ecx, edi
add edx, edi
movzx eax, byte [ecx + eax - 2]
shl ax, 8
movzx esi, ax
mov eax, dword [esp + 0x88]
movzx eax, byte [ecx + eax - 1]
or esi, eax
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x88]
movzx eax, byte [edx + esi - 4]
shl ax, 8
movzx edx, ax
movzx eax, byte [ecx + esi - 3]
mov ecx, dword [esp + 0x18]
or edx, eax
mov eax, dword [esp + 0x1c]
mov esi, edx
sub esi, ecx
cmp ecx, eax
jae 0x10021505
cmp edx, eax
ja 0x10021505
cmp edx, ecx
jb 0x10021505
cmp esi, 0xe
jb 0x10021505
mov edx, dword [esp + 0x20]
add edx, ecx
movzx eax, byte [edx]
shl ax, 8
movzx ecx, ax
movzx eax, byte [edx + 1]
or ecx, eax
mov eax, dword [edx + 4]
bswap eax
mov dword [esp + 0x24], eax
mov eax, dword [edx + 8]
bswap eax
mov dword [esp + 0x10], ecx
test eax, eax
je 0x100213e6
mov byte [ebx + 0x4c], 1
jmp 0x100214c9
movzx eax, byte [edx + 0xc]
shl ax, 8
movzx ecx, ax
movzx eax, byte [edx + 0xd]
or ecx, eax
mov eax, dword [esp + 0x10]
add eax, 2
mov dword [esp + 0x2c], ecx
cmp eax, esi
ja 0x10021505
lea eax, [ecx*2 + 0xc]
cmp dword [esp + 0x10], eax
jne 0x10021505
add edx, 0xe
mov dword [esp + 0x30], edx
push 0xfffffffffffffff2
pop eax
lea edx, [edx + ecx*2]
add ecx, ecx
sub eax, ecx
add esi, eax
cmp esi, 4
jb 0x10021505
mov eax, dword [edx]
bswap eax
cmp eax, 0x10
jne 0x100213dd
cmp esi, eax
jb 0x10021505
mov ecx, dword [edx + 0xc]
lea eax, [esi - 0x10]
bswap ecx
mov dword [esp + 0x28], ecx
cmp eax, ecx
jb 0x10021505
lea ecx, [ebx + 0x18]
call fcn.1001fb7c
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
add ecx, 0x12
mov edx, dword [esp + 0x24]
add esi, ecx
mov ecx, dword [esp + 0x30]
add esi, edi
mov dword [eax], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 8], esi
add eax, 0xc
push eax
call fcn.10021e67
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x84]
test ecx, ecx
je 0x100214d0
test eax, 0xfff
jne 0x100214d0
mov eax, dword [ecx]
lea edx, [esp + 0x30]
push 0
push edx
xorps xmm0, xmm0
push ecx
movlpd qword [esp + 0x3c], xmm0
call dword [eax + 0x10]
mov esi, eax
test esi, esi
jne 0x10021508
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x14]
inc eax
mov edx, dword [esp + 0x1c]
add esi, 2
mov dword [esp + 0x84], eax
mov dword [esp + 0x14], esi
cmp eax, dword [esp + 0x54]
jb 0x10021339
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x4c]
test edi, edi
jne 0x100212c5
xor esi, esi
jmp 0x10021508
xor esi, esi
inc esi
push 0
call fcn.1000366d
push dword [esp + 0x3c]
call fcn.1000366d
pop ecx
pop ecx
mov eax, esi
pop edi
pop ebp
pop esi
mov ecx, dword [esp + 0x64]
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc