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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [esp + 0x70], edx
mov ecx, 4
mov dword [esp + 0x24], ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [ebx + 0x54]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x58]
mov dword [esp + 0x70], eax
xor eax, eax
test edx, edx
mov dword [esp + 0x78], esi
push edi
sete al
sub ecx, eax
xor eax, eax
test esi, esi
sete al
sub ecx, eax
mov dword [esp + 0x30], ecx
lea esp, [esp]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x78]
push eax
push ecx
call fcn.022269b0
add esp, 0x10
test eax, eax
jne 0x21f2117
push dword [ebx + 0x24]
lea ecx, [esp + 0x94]
call fcn.021fe080
mov esi, dword [ebx + 0x24]
lea ecx, [esp + 0xb0]
push esi
call fcn.021fe080
mov edi, dword [esi + 8]
lea ecx, [esp + 0xb0]
mov esi, dword [esi + 0xc]
call fcn.021fe130
test edi, edi
jne 0x21f1da0
test esi, esi
je 0x21f2102
jmp 0x21f1da0
push dword [ebx + 0x24]
lea ecx, [esp + 0xd4]
mov dword [esp + 0x70], edi
mov dword [esp + 0x60], esi
call fcn.021fe080
push 0
sub esp, 8
lea ecx, [esp + 0x54]
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], esi
call fcn.021fe2b0
mov edi, dword [esp + 0x48]
mov eax, dword [edi + 0x18]
mov ebx, dword [edi + 0x20]
mov esi, dword [edi + 0x24]
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x28], eax
test ebx, ebx
jne 0x21f1e0c
test esi, esi
jne 0x21f1e0c
xorps xmm0, xmm0
mov dword [esp + 0xc], esi
movlpd qword [esp + 0x88], xmm0
mov esi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
jmp 0x21f1e2f
push esi
push ebx
call fcn.0222cec0
push esi
push ebx
call fcn.0222cec0
push esi
push ebx
mov dword [esp + 0x14], eax
call fcn.0222cee0
push dword [esp + 0xc]
call dword [0x100df294]
cmp dword [esp + 0x50], 0
jne 0x21f1e41
cmp dword [esp + 0x54], 0
je 0x21f1ec3
push edi
call dword [0x100df290]
test eax, eax
jne 0x21f1eb6
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], eax
test ecx, ecx
jne 0x21f1e62
test eax, eax
je 0x21f1eab
push eax
push ecx
call fcn.0222cec0
push eax
mov dword [esp + 0x40], eax
call dword [0x100df290]
test eax, eax
jne 0x21f1e90
mov ecx, dword [esp + 0x3c]
call fcn.021ef730
mov eax, dword [esp + 0x3c]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.0222cea0
push dword [esp + 0x64]
push dword [esp + 0x48]
call fcn.0222cee0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.0222cea0
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.0222cee0
xorps xmm0, xmm0
mov dword [esp + 0x48], 0
lea ecx, [esp + 0xd0]
movlpd qword [esp + 0x50], xmm0
call fcn.021fe130
test ebx, ebx
jne 0x21f1ef9
test esi, esi
jne 0x21f1ef9
xorps xmm0, xmm0
xor edi, edi
movlpd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
jmp 0x21f1f50
push esi
push ebx
call fcn.0222cec0
push esi
push ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], esi
call fcn.0222cec0
push esi
mov edi, eax
push ebx
mov dword [esp + 0x18], edi
call fcn.0222cee0
push edi
call dword [0x100df294]
push dword [esp + 0xc]
call dword [0x100df290]
test eax, eax
jne 0x21f1f49
mov ecx, dword [esp + 0xc]
call fcn.021ef730
mov eax, dword [esp + 0xc]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.0222cea0
push esi
push ebx
call fcn.0222cee0
cmp dword [edi + 0x18], 0
lea esi, [edi + 0x18]
mov ebx, dword [esp + 0x2c]
xorps xmm0, xmm0
movlpd qword [esp + 0x88], xmm0
mov dword [esp + 0x80], 0
je 0x21f1fc6
push dword [esp + 0x5c]
mov ecx, dword [ebx + 0x24]
push dword [esp + 0x70]
call fcn.021f07f0
mov eax, dword [ebp + 8]
cmp eax, dword [esi]
je 0x21f2135
push esi
lea eax, [esp + 0x44]
push eax
lea ecx, [ebx + 0x64]
call fcn.021efa20
mov eax, dword [esp + 0x40]
test eax, eax
je 0x21f20a1
mov ecx, dword [eax]
mov esi, dword [eax + 0xc]
push eax
call dword [ecx + 0xc]
push esi
mov dword [esp + 0x44], 0
call dword [0x100df258]
jmp 0x21f20a1
cmp dword [ebx + 0x60], 0
push dword [ebx + 0x5c]
jne 0x21f2097
call dword [0x100df258]
push 0x18
call fcn.02231830
mov esi, eax
add esp, 4
test esi, esi
je 0x21f202d
push 0
push 0
push 0
mov dword [esi], 0x100e11f0
push 0
mov dword [esi + 4], 0
mov dword [esi], 0x100f6244
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call dword [0x100df08c]
mov dword [esi + 0x14], eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x21f202f
xor esi, esi
lea edi, [esi + 0x10]
push edi
push 0
push esi
push 0x10091db0
push 0
push 0
call dword [0x100df090]
mov dword [esi + 0xc], eax
mov eax, dword [esi]
push esi
mov dword [esp + 0x38], esi
call dword [eax + 8]
mov ecx, dword [esi + 8]
lea eax, [esp + 0x34]
push eax
push edi
lea eax, [esp + 0x2c]
add ecx, 0xb4
push eax
call fcn.021babe0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x21f2081
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov dword [esp + 0x24], 0
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov eax, dword [esi]
push esi
mov dword [esp + 0x38], 0
call dword [eax + 0xc]
jmp 0x21f209d
call dword [0x100df258]
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x18], 0
jne 0x21f20af
cmp dword [esp + 0x1c], 0
je 0x21f20d9
push edi
call dword [0x100df290]
test eax, eax
jne 0x21f20cc
mov ecx, edi
call fcn.021ef730
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.0222cea0
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call fcn.0222cee0
mov edi, dword [esp + 0x68]
xorps xmm0, xmm0
mov esi, dword [esp + 0x28]
movlpd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], 0
test edi, edi
jne 0x21f1da0
test esi, esi
jne 0x21f1da0
lea ecx, [esp + 0x90]
call fcn.021fe130
mov ecx, dword [esp + 0x30]
jmp 0x21f1d40
cmp eax, 1
je 0x21f2158
cmp eax, 2
je 0x21f214a
cmp eax, 0x83
je 0x21f21e5
mov ecx, dword [esp + 0x30]
jmp 0x21f1d40
lea ecx, [esp + 0x10]
call fcn.021eec40
lea ecx, [esp + 0x90]
call fcn.021fe130
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esp + 0x60]
push eax
lea ecx, [ebx + 0xb4]
call fcn.021efb50
mov esi, dword [esp + 0x60]
cmp esi, dword [ebx + 0xb8]
jne 0x21f217c
xor edi, edi
test esi, esi
je 0x21f2194
jmp 0x21f218e
mov edi, esi
test esi, esi
je 0x21f2194
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x38], edi
test edi, edi
je 0x21f21e5
lea esp, [esp]
lea eax, [esp + 0x38]
push eax
lea ecx, [ebx + 0xb4]
call fcn.021efc30
mov esi, dword [eax]
test esi, esi
je 0x21f21bc
mov eax, dword [esi]
push esi
call dword [eax + 8]
cmp dword [esi + 0xc], 0
je 0x21f21d8
push dword [esi + 0x14]
call dword [0x100df258]
push 0xffffffffffffffff
push dword [esi + 0xc]
call fcn.02226a20
add esp, 8
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
cmp dword [esp + 0x38], 0
jne 0x21f21a0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc