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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
test byte [0x10059ab8], 0x80
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 4], edx
je 0x100215f6
mov edi, dword [ebp + 8]
push ecx
push edi
push ebx
call fcn.10021470
add esp, 0xc
mov eax, dword [ebp + 8]
mov word [ebx + 0x28], ax
lea eax, [ebx + 0x58]
push eax
mov byte [ebx + 0x25], 1
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
mov dword [ebx + 0x20], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebx + 0x50], eax
lea eax, [ebx + 0x70]
mov dword [eax + 4], eax
mov dword [eax], eax
lea eax, [ebx + 0x78]
mov dword [eax + 4], eax
mov dword [eax], eax
lea eax, [ebx + 0x90]
push eax
mov dword [eax + 8], 0x2c0
mov dword [eax + 0xc], 0x33306351
mov dword [eax + 0x10], 0x100
mov dword [eax + 0x14], 0x10001080
mov dword [eax + 0x18], 0x100010a0
call dword [sym.imp.KERNEL32.dll_InitializeSListHead]
lea eax, [ebx + 0xb0]
mov dword [eax + 8], 0x1000
push eax
mov dword [eax + 0xc], 0x34306351
mov dword [eax + 0x10], 0x100
mov dword [eax + 0x14], 0x10001080
mov dword [eax + 0x18], 0x100010a0
call dword [sym.imp.KERNEL32.dll_InitializeSListHead]
lea eax, [ebx + 0xd0]
mov dword [eax + 8], 0x30
push eax
mov dword [eax + 0xc], 0x41336351
mov dword [eax + 0x10], 0x100
mov dword [eax + 0x14], 0x10001080
mov dword [eax + 0x18], 0x100010a0
call dword [sym.imp.KERNEL32.dll_InitializeSListHead]
mov edi, 0x68
lea esi, [ebx + 0xfc]
lea eax, [esi - 0xc]
mov dword [esi - 4], edi
push eax
mov dword [esi], 0x35306351
mov dword [esi + 4], 0x100
mov dword [esi + 8], 0x10001080
mov dword [esi + 0xc], 0x100010a0
call dword [sym.imp.KERNEL32.dll_InitializeSListHead]
add edi, 0x18
lea esi, [esi + 0x20]
cmp edi, 0x188
jb 0x100216d8
lea eax, [ebx + 0x270]
mov dword [eax + 8], 0x20
push eax
mov dword [eax + 0xc], 0x42336351
mov dword [eax + 0x10], 0x100
mov dword [eax + 0x14], 0x10001080
mov dword [eax + 0x18], 0x100010a0
call dword [sym.imp.KERNEL32.dll_InitializeSListHead]
lea eax, [ebx + 0x290]
mov dword [eax + 8], 0x50
push eax
mov dword [eax + 0xc], 0x43336351
mov dword [eax + 0x10], 0x100
mov dword [eax + 0x14], 0x10001080
mov dword [eax + 0x18], 0x100010a0
call dword [sym.imp.KERNEL32.dll_InitializeSListHead]
lea eax, [ebx + 0x2b0]
mov dword [eax + 8], 0x2c
push eax
mov dword [eax + 0xc], 0x44336351
mov dword [eax + 0x10], 0x100
mov dword [eax + 0x14], 0x10001080
mov dword [eax + 0x18], 0x100010a0
call dword [sym.imp.KERNEL32.dll_InitializeSListHead]
push 0x100
push 0
push dword [0x10059a38]
mov dword [ebx + 0x30], 0xffffffff
mov dword [ebx + 0x34], 0xffffffff
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0x20
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebx + 0x48], eax
test eax, eax
jne 0x10021808
test byte [0x10059ab8], 2
je 0x100217fe
push eax
push 0x100
push str.timerwheel_slots
call fcn.10001500
add esp, 0xc
mov esi, 0x8007000e
jmp 0x1002193c
xor ecx, ecx
cmp dword [ebx + 0x44], ecx
jbe 0x10021821
nop
mov eax, dword [ebx + 0x48]
lea eax, [eax + ecx*8]
inc ecx
mov dword [eax + 4], eax
mov dword [eax], eax
cmp ecx, dword [ebx + 0x44]
jb 0x10021810
cmp dword [ebp - 4], 1
mov dword [ebx + 4], ebx
mov dword [ebx + 0xc], fcn.10022000
mov dword [ebx + 0x10], 0xffffffff
mov dword [ebx + 0x14], 0xffffffff
mov byte [ebx + 0x18], 1
je 0x100218ed
mov edx, dword [0x10059a78]
xor esi, esi
xor ecx, ecx
mov byte [ebx + 0x24], 1
mov dword [ebp - 4], esi
test edx, edx
je 0x1002187d
mov eax, dword [0x10059a7c]
mov edi, dword [ebp + 8]
cmp word [eax + 0x70], di
je 0x10021874
inc ecx
sub eax, 0xffffff80
cmp ecx, edx
jb 0x10021864
jmp 0x1002187d
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x1002189f
test byte [0x10059ab8], 4
je 0x1002189d
push str.Worker_____void__0_
push str.C:__w1_s_srcplatformplatform_worker.c
push 0x14b
call fcn.1003e120
add esp, 0xc
int 0x2c
lea edi, [esi + 0x50]
mov dword [ebx + 8], esi
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 4]
mov esi, dword [esi + 0x68]
mov dword [ebx], esi
push edi
mov dword [eax + 0x68], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
jne 0x100218e4
mov eax, dword [ebp - 4]
xorps xmm0, xmm0
lea ecx, [eax + 0x3c]
push ecx
movups xmmword [ecx], xmm0
push esi
mov dword [ecx + 0x10], esi
push esi
mov dword [eax + 0x38], 0x1004df54
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x10], str.quic_worker
mov word [ebp - 0x14], ax
lea edx, [ebx + 0x54]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov word [ebp - 0x12], ax
mov dword [ebp - 0xc], 0x100225f0
mov dword [ebp - 8], ebx
call fcn.10021320
mov esi, eax
test esi, esi
jns 0x1002194f
test byte [0x10059ab9], 2
je 0x1002193c
push str.CxPlatThreadCreate
push esi
push ebx
mov edx, 0x1004c860
lfence
call fcn.100048b0
add esp, 0xc
lfence
push dword [ebx + 0x20]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, ebx
call fcn.10021960
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret