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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x108
mov dword [esp + 0x78], edx
mov edi, edx
mov esi, ecx
mov eax, dword [0x104d53e8]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
dec eax
cmp eax, 5
jb 0x1001bc67
mov ecx, dword [0x104d4984]
test ecx, ecx
je 0x1001bc67
mov al, 1
cmp ecx, 1
je 0x1001b9b4
cmp ecx, 2
jne 0x1001bc55
mov al, 2
movzx edx, al
mov ecx, 0x104d4984
call fcn.10109d10
test al, al
je 0x1001bc67
mov ecx, dword [0x104d4988]
xor ebx, ebx
mov eax, dword [ecx + 0x30]
test eax, eax
setne byte [esp + 4]
je 0x1001c1d1
mov esi, dword [ecx + 0x2c]
mov edx, dword [ecx + 0x34]
mov dword [esp + 0x74], ecx
mov ecx, dword [ecx + 0x38]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], edx
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
mov esi, dword [edx]
mov ecx, dword [edx + 8]
mov edx, dword [edx + 4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edx
mov dword [esp + 0xc], esi
cmp dword [ecx + 0x38], esi
jbe 0x1001c1c6
mov ecx, dword [ecx + 0x30]
imul esi, dword [esp + 0xc], 0xf0
cmp dword [ecx + esi], 1
jne 0x1001c1c6
cmp dword [ecx + esi + 0x30], edx
jne 0x1001c1c6
mov dword [esp + 0x70], edx
mov dh, byte [esp + 4]
mov dword [esp + 4], ecx
lea ecx, [ecx + esi + 0x30]
cmp eax, 1
mov dword [esp + 8], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x7c], ecx
mov ecx, 2
sbb ecx, 0
mov bl, dh
cmp eax, ebx
cmovbe ecx, ebx
jbe 0x1001c1d1
mov dword [esp + 0xb8], ebx
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
cmp ecx, eax
mov edx, ecx
adc edx, 0
cmp ecx, eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], ebx
jae 0x1001c1d1
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0xd0], esi
mov esi, dword [esp + 0x70]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], ebx
lea ecx, [ecx + edx]
mov edx, dword [esp + 0xc]
mov edi, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], esi
cmp dword [edi], 1
jne 0x1001c1c6
mov ecx, dword [esp + 0x14]
cmp dword [ecx], esi
jne 0x1001c1c6
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 4]
mov edx, dword [esp + 8]
add ecx, dword [ebx + edx + 0x5c]
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x6c]
cmp ecx, eax
jae 0x1001c1d1
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x98], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], esi
cmp dword [edi], 1
jne 0x1001c1c6
mov eax, dword [esp + 0x14]
cmp dword [eax], esi
jne 0x1001c1c6
mov ecx, dword [esp + 4]
mov esi, dword [esp + 8]
mov edx, dword [esp + 0x74]
lea edi, [esp + 0xa4]
lea ebx, [esp + 0x7c]
mov dword [esp + 0x20], edi
lea edi, [esp + 0xb8]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x103f9d4c
lea ebx, [esp + 0x78]
mov dword [esp + 0x2c], edi
lea edi, [esp + 0xcc]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0x103f9e58
lea ebx, [esp + 0xe0]
mov dword [esp + 0x38], edi
lea edi, [esp + 0x88]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x103f9e58
lea ecx, [ecx + esi + 0x58]
mov dword [esp + 0x44], edi
lea eax, [edx + 0x2c]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x4c], 0x103f9e58
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], 4
mov dword [esp + 0xf4], eax
lea eax, [esp + 0xec]
lea ecx, [esp + 0x50]
push eax
call fcn.101097e0
add esp, 4
jmp 0x1001bf34
mov ecx, 0x104d4984
call fcn.10109c60
test al, al
jne 0x1001b9b4
mov eax, dword [0x104d4988]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
xor ebx, ebx
mov dword [esp + 0x98], eax
mov ecx, dword [eax + 0x30]
test ecx, ecx
setne byte [esp + 8]
je 0x1001c1d1
mov edi, dword [eax + 0x2c]
mov edx, dword [eax + 0x34]
mov dword [esp + 0x74], eax
mov eax, dword [eax + 0x38]
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], edi
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], edx
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 4], eax
mov edi, dword [edx]
mov eax, dword [edx + 8]
mov edx, dword [edx + 4]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edx
mov dword [esp + 0xc], edi
cmp dword [eax + 0x38], edi
jbe 0x1001c1c6
mov eax, dword [eax + 0x30]
imul edi, dword [esp + 0xc], 0xf0
cmp dword [eax + edi], 1
jne 0x1001c1c6
cmp dword [eax + edi + 0x30], edx
jne 0x1001c1c6
mov dword [esp + 0x70], edx
mov dh, byte [esp + 8]
mov dword [esp + 0x18], eax
lea eax, [eax + edi + 0x30]
cmp ecx, 1
mov dword [esp + 8], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x100], eax
mov eax, 2
sbb eax, 0
mov bl, dh
cmp ecx, ebx
cmovbe eax, ebx
jbe 0x1001c1d1
mov dword [esp + 0xa4], ebx
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 4]
cmp eax, ecx
mov esi, eax
adc esi, 0
cmp eax, ecx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ebx
jae 0x1001c1d1
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 8]
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
mov edx, dword [esp + 0x70]
lea ebx, [eax + ebx]
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x14]
cmp dword [ebx], 1
jne 0x1001c1c6
cmp dword [eax], edx
jne 0x1001c1c6
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 8]
add eax, dword [ebx + edi + 0x5c]
cmp esi, ecx
mov dword [esp + 0x7c], eax
jae 0x1001c1d1
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xcc], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0xd8], esi
mov esi, dword [esp + 0xc]
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edx
cmp dword [ecx], 1
jne 0x1001c1c6
mov eax, dword [esp + 0x14]
cmp dword [eax], edx
jne 0x1001c1c6
lea ecx, [esp + 0xec]
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x74]
lea edx, [esp + 0xe0]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x100]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 0x28], 0x103f9d4c
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0xb8]
mov dword [esp + 0x34], 0x103f9e58
lea eax, [ebx + eax + 0x58]
add esi, 0x2c
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0xcc]
mov dword [esp + 0x40], 0x103f9e58
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x88]
mov dword [esp + 0x4c], 0x103f9e58
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], 4
mov dword [esp + 0xe8], esi
call fcn.10109b60
movsd xmm1, qword [esp + 0x90]
movsd xmm0, qword [esp + 0x88]
movsd qword [esp + 0x58], xmm1
movsd xmm1, qword [esp + 0x98]
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x60], xmm1
mov eax, dword [esp + 0x50]
or eax, dword [esp + 0x54]
je 0x1001bf5c
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 8]
lea edx, [ecx + 7]
neg ecx
and ecx, edx
lea edx, [esp + 0x50]
add ecx, dword [esp + 0x58]
push edx
push ecx
call dword [eax + 0x28]
add esp, 8
cmp dword [esp + 0x60], 0
je 0x1001bf78
lea ecx, [esp + 0x50]
mov edx, 0x104257d7
push 5
push 0x15
call fcn.10109af0
add esp, 8
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x50]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x88], eax
mov eax, dword [ecx + 8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
cmp dword [eax + 0x38], edx
jbe 0x1001c1c6
mov ebx, dword [eax + 0x30]
imul eax, edx, 0xf0
cmp dword [ebx + eax], 1
jne 0x1001c1c6
cmp dword [ebx + eax + 0x30], ecx
jne 0x1001c1c6
add edi, dword [ebx + eax + 0x5c]
lea esi, [ebx + eax]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
cmp dword [esi], 1
mov dword [esp + 8], esi
mov dword [esp + 4], edi
jne 0x1001c1c6
lea edi, [ebx + eax + 0x30]
cmp dword [edi], ecx
jne 0x1001c1c6
mov esi, dword [esp + 4]
cmp esi, dword [ebx + eax + 0x58]
je 0x1001c151
mov esi, dword [esp + 8]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
cmp dword [esi], 1
jne 0x1001c1c6
cmp dword [edi], ecx
jne 0x1001c1c6
mov esi, dword [esp + 4]
mov dword [esp + 0xc], edi
lea edi, [ebx + eax + 0x58]
mov dword [esp + 0x10], edi
cmp esi, dword [edi]
jae 0x1001c0e6
mov eax, dword [esp + 8]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
cmp dword [eax], 1
mov eax, dword [esp + 0xc]
jne 0x1001c1ea
cmp dword [eax], ecx
jne 0x1001c1ea
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
cmp dword [ecx + 0x38], edi
jbe 0x1001c1c6
mov ecx, dword [ecx + 0x30]
imul esi, edi, 0xf0
cmp dword [ecx + esi], 1
jne 0x1001c1c6
cmp dword [ecx + esi + 0x30], eax
jne 0x1001c1c6
mov ebx, dword [ecx + esi + 0x54]
xor edx, edx
test ebx, ebx
cmovns edx, ebx
sub edx, dword [esp + 4]
jbe 0x1001c151
mov dword [esp + 0x20], edi
lea ebx, [ecx + esi]
mov dword [esp + 0x24], eax
cmp dword [ebx], 1
jne 0x1001c1ea
lea edi, [ecx + esi + 0x30]
cmp dword [edi], eax
jne 0x1001c1ea
lea ecx, [ecx + esi + 0x54]
mov eax, dword [ebp + 0xc]
sub dword [ecx], edx
mov ecx, dword [esp + 0x80]
push eax
push dword [ebp + 8]
call fcn.1001c200
add esp, 8
jmp 0x1001c151
mov esi, dword [esp + 8]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
cmp dword [esi], 1
mov esi, dword [esp + 0xc]
jne 0x1001c1c6
cmp dword [esi], ecx
jne 0x1001c1c6
movzx eax, byte [ebx + eax + 0x34]
cmp eax, 6
ja 0x1001c11b
mov ebx, 0x54
bt ebx, eax
jb 0x1001c151
mov eax, dword [esp + 8]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
cmp dword [eax], 1
jne 0x1001c1ea
cmp dword [esi], ecx
jne 0x1001c1ea
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
mov dword [ecx], eax
mov ecx, dword [esp + 0x80]
call fcn.1001c6f0
lea ecx, [esp + 0x88]
call fcn.10012f50
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, eax
or edx, ecx
je 0x1001c186
mov edx, dword [esp + 0x5c]
mov esi, dword [edx + 8]
lea edi, [esi + 7]
neg esi
and esi, edi
add esi, dword [esp + 0x58]
push ecx
push eax
push esi
call dword [edx + 0x38]
add esp, 0xc
cmp dword [esp + 0x60], 0
je 0x1001c1a2
lea ecx, [esp + 0x50]
mov edx, str.tracing::span_tracing::span::active
push 5
push 0xd
call fcn.10109af0
add esp, 8
mov eax, dword [esp + 0x50]
or eax, dword [esp + 0x54]
je 0x1001c1be
mov eax, dword [esp + 0x58]
lock dec dword [eax]
jne 0x1001c1be
lea ecx, [esp + 0x58]
call fcn.10116bf0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x20]
call fcn.10018ef0
ud2
mov ecx, 0x1041992d
mov edx, 0x22
push 0x103f9e48
call fcn.1000a730
add esp, 4
ud2
lea ecx, [esp + 0x20]
call fcn.10018f40
ud2