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

Disassembly:
push 0xffffffffffffffff
push 0x1019b090
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x101e6218]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e6218]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x84]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
call fcn.1001d150
push eax
mov dword [esp + 0x64], 0
call fcn.10020f80
mov ebp, dword [esp + 0x28]
add esp, 4
test ebp, ebp
mov esi, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x60], 0xffffffff
je 0x10021be9
push 0
lea ecx, [esp + 0x18]
call fcn.1011759e
mov eax, dword [ebp + 4]
test eax, eax
jbe 0x10021bc7
cmp eax, 0xffffffff
jae 0x10021bc7
add eax, 0xffffffff
mov dword [ebp + 4], eax
mov edi, dword [ebp + 4]
neg edi
sbb edi, edi
not edi
lea ecx, [esp + 0x14]
and edi, ebp
call fcn.101175bf
test edi, edi
je 0x10021be9
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.100207d0
mov al, byte [ebx]
cmp al, 0x2b
mov ecx, 1
mov dword [esp + 0x60], ecx
je 0x10021c2b
cmp al, 0x2d
je 0x10021c2b
cmp al, 0x30
jne 0x10021c21
mov al, byte [ebx + 1]
cmp al, 0x78
je 0x10021c17
cmp al, 0x58
jne 0x10021c21
mov dword [esp + 0x14], 2
jmp 0x10021c2f
mov dword [esp + 0x14], 0
jmp 0x10021c2f
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x50]
cmp ecx, 0x10
mov edx, dword [esp + 0x3c]
mov eax, edx
jae 0x10021c42
lea eax, [esp + 0x3c]
cmp byte [eax], 0x7f
je 0x10021ccd
cmp ecx, 0x10
mov eax, edx
jae 0x10021c56
lea eax, [esp + 0x3c]
cmp byte [eax], 0
jle 0x10021ccd
cmp ecx, 0x10
jb 0x10021c66
mov dword [esp + 0x18], edx
jmp 0x10021c6e
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
mov al, byte [edx]
cmp al, 0x7f
mov ebp, dword [esp + 0x88]
mov esi, ebp
je 0x10021cd4
test al, al
jle 0x10021cd4
mov ecx, esi
sub ecx, dword [esp + 0x14]
movsx eax, al
cmp eax, ecx
jae 0x10021cd4
sub esi, eax
mov edx, ebp
sub edx, esi
lea eax, [edx + 1]
push eax
lea edi, [ebx + esi]
push edi
push eax
lea eax, [ebx + esi + 1]
push eax
call fcn.1011843c
mov eax, dword [esp + 0x28]
add esp, 0x10
mov byte [edi], 0
add ebp, 1
cmp byte [eax + 1], 0
jle 0x10021cc5
add eax, 1
mov dword [esp + 0x18], eax
mov al, byte [eax]
cmp al, 0x7f
jne 0x10021c81
jmp 0x10021cd4
mov ebp, dword [esp + 0x88]
mov ecx, dword [esp + 0x1c]
mov edi, dword [ecx + 0x18]
test edi, edi
jle 0x10021ce7
cmp edi, ebp
jbe 0x10021ce7
sub edi, ebp
jmp 0x10021ce9
xor edi, edi
mov esi, dword [esp + 0x68]
mov edx, ecx
mov eax, dword [edx + 0x10]
and eax, 0x1c0
cmp eax, 0x40
je 0x10021dd9
cmp eax, 0x100
je 0x10021d56
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
push edi
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 4], edx
lea edx, [esp + 0x40]
push edx
push esi
mov dword [eax + 8], ecx
call fcn.10020410
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
jmp 0x10021dd4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x78]
push ebx
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x8c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x40]
push eax
push esi
call fcn.10020490
mov ecx, dword [esp + 0x30]
mov edx, dword [eax]
add esp, 0x1c
add ebx, ecx
sub ebp, ecx
mov ecx, dword [esp + 0x80]
push edi
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x40]
push ecx
push esi
call fcn.10020410
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x8c], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
add esp, 0x1c
xor edi, edi
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x20]
push eax
push ebp
push ebx
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], edx
lea edx, [esp + 0x44]
push edx
push esi
mov dword [eax + 8], ecx
call fcn.10020510
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x3c]
add esp, 0x20
push edi
mov edi, dword [esp + 0x2c]
mov dword [ecx + 0x18], 0
mov ecx, dword [esp + 0x84]
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
push edi
mov dword [ecx + 4], ebx
push esi
mov dword [ecx + 8], eax
call fcn.10020410
add esp, 0x1c
cmp dword [esp + 0x50], 0x10
jb 0x10021e64
mov edx, dword [esp + 0x3c]
push edx
call fcn.101183bc
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10118c8e
add esp, 0x50
ret