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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1e8
call 0x1009c654
pop eax
mov dword [esp + 0x18], edx
mov ebx, ecx
mov dword [esp + 0x50], eax
mov eax, dword [0x104d53e8]
dec eax
cmp eax, 5
jb 0x1009c78f
mov ecx, dword [0x104d4594]
test ecx, ecx
je 0x1009c78f
mov al, 1
cmp ecx, 1
je 0x1009c68e
cmp ecx, 2
jne 0x1009c77d
mov al, 2
movzx edx, al
mov ecx, 0x104d4594
call fcn.10109d10
test al, al
je 0x1009c78f
mov edx, dword [0x104d4598]
mov eax, dword [edx + 0x30]
test eax, eax
je 0x1009ccb1
mov ecx, dword [edx + 0x2c]
mov esi, dword [edx + 0x34]
mov edi, dword [edx + 0x38]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], edi
mov edi, dword [ebp + 8]
mov esi, dword [edi]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [esp + 0x138], esi
mov dword [esp + 0x13c], eax
cmp dword [ecx + 0x38], esi
jbe 0x1009ccc2
mov ecx, dword [ecx + 0x30]
imul esi, esi, 0xf0
cmp dword [ecx + esi], 1
jne 0x1009ccc2
cmp dword [ecx + esi + 0x30], eax
jne 0x1009ccc2
lea ecx, [ecx + esi + 0x30]
lea eax, [edx + 0x2c]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x138], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x13c], ecx
lea ecx, [esp + 0x138]
mov dword [esp + 0x140], 0x1041c808
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
mov ecx, esp
push eax
call fcn.101097e0
add esp, 4
jmp 0x1009c898
mov ecx, 0x104d4594
call fcn.10109c60
test al, al
jne 0x1009c68e
mov eax, dword [0x104d4598]
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0xa0], eax
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x1009ccb1
mov edx, dword [eax + 0x2c]
mov esi, dword [eax + 0x34]
mov edi, dword [eax + 0x38]
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], edx
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], esi
mov dword [esp + 0x148], edi
mov edi, dword [ebp + 8]
mov esi, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ecx
cmp dword [edx + 0x38], esi
jbe 0x1009cca6
mov edx, dword [edx + 0x30]
imul esi, esi, 0xf0
cmp dword [edx + esi], 1
jne 0x1009cca6
cmp dword [edx + esi + 0x30], ecx
jne 0x1009cca6
lea ecx, [edx + esi + 0x30]
add eax, 0x2c
lea edx, [esp + 0x34]
mov dword [esp], ecx
lea ecx, [esp + 0x138]
mov dword [esp + 0x1c], ecx
mov ecx, esp
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], 0x1041c808
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], eax
call fcn.10109b60
movsd xmm1, qword [esp + 0x98]
movsd xmm0, qword [esp + 0x90]
movsd qword [esp + 8], xmm1
movsd xmm1, qword [esp + 0xa0]
movsd qword [esp], xmm0
movsd qword [esp + 0x10], xmm1
mov eax, dword [esp]
mov esi, dword [esp + 0x18]
or eax, dword [esp + 4]
je 0x1009c8c1
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
lea edx, [ecx + 7]
neg ecx
and ecx, edx
mov edx, esp
add ecx, dword [esp + 8]
push edx
push ecx
call dword [eax + 0x28]
add esp, 8
cmp dword [esp + 0x10], 0
je 0x1009c8db
mov ecx, esp
mov edx, 0x104257d7
push 5
push 0x15
call fcn.10109af0
add esp, 8
mov eax, esp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], eax
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
cmp dword [ecx + 0x38], edx
jbe 0x1009cc7f
mov ecx, dword [ecx + 0x30]
imul edx, edx, 0xf0
cmp dword [ecx + edx], 1
jne 0x1009cc7f
cmp dword [ecx + edx + 0x30], eax
jne 0x1009cc7f
lea edx, [ecx + edx + 0x68]
lea ebx, [esp + 0x138]
nop dword [eax]
mov ecx, ebx
push esi
call fcn.1009d560
add esp, 4
cmp byte [esp + 0x138], 9
je 0x1009cb69
push 0xa8
push ebx
lea eax, [esp + 0x98]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [0x104debf8]
cmp eax, 5
jb 0x1009c96e
mov eax, dword [0x104debfc]
mov eax, dword [0x104d53e8]
dec eax
cmp eax, 5
jb 0x1009caa0
mov ecx, dword [0x104d45a0]
test ecx, ecx
je 0x1009caa0
mov al, 1
cmp ecx, 1
je 0x1009c99d
cmp ecx, 2
jne 0x1009cb52
mov al, 2
movzx edx, al
mov ecx, 0x104d45a0
call fcn.10109d10
test al, al
je 0x1009caa0
mov ecx, dword [0x104d45a4]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x1009cc8d
mov esi, dword [ecx + 0x2c]
mov edx, dword [ecx + 0x34]
mov edi, dword [ecx + 0x38]
cmp eax, 1
mov dword [esp + 0x68], 0
mov dword [esp + 0x1c], 0x1041c9b0
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], str.formatter_errorfailed_to_write_whole_buffer
mov dword [esp + 0x30], 0
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edi
je 0x1009cc8d
mov dword [esp + 0x7c], 1
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edx
lea edx, [esp + 0x34]
lea eax, [ecx + 0x2c]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], 2
mov dword [esp + 0x64], eax
lea eax, [esp + 0x90]
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x3c], 0x10419960
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
lea edx, [esp + 0x5c]
mov dword [esp + 0x48], 0x1041c9c8
call fcn.1010a570
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x18]
nop dword [eax + eax]
movzx eax, byte [esp + 0x90]
cmp eax, 6
ja 0x1009cb0d
mov eax, dword [eax*4 + 0x1009ccd0]
add eax, dword [esp + 0x50]
jmp eax
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
cmp dword [ecx + 0x38], edx
jbe 0x1009cc7f
mov ecx, dword [ecx + 0x30]
imul edx, edx, 0xf0
cmp dword [ecx + edx], 1
jne 0x1009cc7f
cmp dword [ecx + edx + 0x30], eax
jne 0x1009cc7f
lea edx, [ecx + edx + 0x68]
jmp 0x1009c930
mov ecx, 0x104d45a0
call fcn.10109c60
test al, al
jne 0x1009c99d
jmp 0x1009caa0
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
cmp dword [ecx + 0x38], edx
jbe 0x1009cc7f
mov ecx, dword [ecx + 0x30]
imul edx, edx, 0xf0
cmp dword [ecx + edx], 1
jne 0x1009cc7f
cmp dword [ecx + edx + 0x30], eax
jne 0x1009cc7f
mov dword [ecx + edx + 0x5c], 0
mov esi, dword [esp + 0x4c]
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
cmp dword [ecx + 0x38], edx
jbe 0x1009cc7f
mov ecx, dword [ecx + 0x30]
imul edx, edx, 0xf0
cmp dword [ecx + edx], 1
jne 0x1009cc7f
cmp dword [ecx + edx + 0x30], eax
jne 0x1009cc7f
mov dword [ecx + edx + 0x58], 0
cmp dword [esi + 0x48], 1
jne 0x1009cc11
mov eax, dword [edi]
cmp eax, dword [esi + 0x4c]
jne 0x1009cc11
mov eax, dword [esi + 0x50]
cmp dword [edi + 4], eax
jne 0x1009cc11
mov dword [esi + 0x48], 2
lea ecx, [esp + 0x54]
call fcn.10012f50
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, eax
or edx, ecx
je 0x1009cc42
mov edx, dword [esp + 0xc]
mov esi, dword [edx + 8]
lea edi, [esi + 7]
neg esi
and esi, edi
add esi, dword [esp + 8]
push ecx
push eax
push esi
call dword [edx + 0x38]
add esp, 0xc
cmp dword [esp + 0x10], 0
je 0x1009cc5c
mov ecx, esp
mov edx, str.tracing::span_tracing::span::active
push 5
push 0xd
call fcn.10109af0
add esp, 8
mov eax, dword [esp]
or eax, dword [esp + 4]
je 0x1009cc77
mov eax, dword [esp + 8]
lock dec dword [eax]
jne 0x1009cc77
lea ecx, [esp + 8]
call fcn.10116bf0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x90]
call fcn.10018f40
ud2
mov ecx, 0x1041992d
mov edx, 0x22
push 0x1041c9b8
call fcn.1000a730
add esp, 4
ud2
lea ecx, [esp + 0x1c]
call fcn.10018ef0
ud2
mov ecx, 0x1041992d
mov edx, 0x22
push 0x1041c980
jmp 0x1009cc9c
lea ecx, [esp + 0x138]
call fcn.10018ef0
ud2