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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [ecx + 0x54]
mov esi, ecx
mov ecx, dword [ecx + 0x58]
mov dword [esi + 0x54], 0xffffffff
cmp eax, 0xffffffff
je 0x621dd7
mov ebx, dword [esi + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [ebx + 0x18]
add ebx, 0x78
cmp dword [esi + 0x48], 0
cmovne ebx, eax
cmp dword [ebx], 0
je 0x621eef
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
call fcn.004c1220
movzx eax, byte [esp + 0xc]
cmp al, 4
jne 0x621cfa
lea ebp, [ebx + 0x10]
push ebp
call dword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x94bfbc]
test eax, 0x7fffffff
jne 0x621e6b
movzx eax, byte [ebx + 0x14]
mov edi, dword [esi + 0x50]
lock inc dword [edi]
jle 0x621f03
mov edx, dword [ebx + 0x20]
cmp edx, dword [ebx + 0x18]
jne 0x621c87
lea ecx, [ebx + 0x18]
call fcn.0075a1c0
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
mov dword [eax + edx*4], edi
inc edx
cmp edx, 0x10
mov dword [ebx + 0x20], edx
mov dword [ebx + 0xc], edx
jne 0x621ea6
mov eax, dword [0x94bfbc]
test eax, 0x7fffffff
jne 0x621eca
push ebp
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebx + 4]
push 0
push dword [ebx + 8]
push 1
push dword [eax + 8]
call dword [sym.imp.kernel32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x621d3b
call sub.kernel32.dll_GetLastError
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov ecx, str.failed_to_wake_I_O_driver
mov edx, 0x19
push 0x937784
push 0x936144
lea eax, [esp + 0x14]
push eax
call fcn.007c1f60
cmp al, 3
jne 0x621d3b
mov edi, dword [esp + 0x10]
mov ebx, dword [edi]
mov ebp, dword [edi + 4]
push ebx
call dword [ebp]
add esp, 4
cmp dword [ebp + 4], 0
je 0x621d2c
cmp dword [ebp + 8], 9
jb 0x621d1d
mov ebx, dword [ebx - 4]
push ebx
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
push edi
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x621d7c
mov ecx, dword [ebx + 4]
lea edi, [ebx + 4]
call fcn.004c0200
mov eax, dword [ebx]
lock dec dword [eax]
jne 0x621d5c
mov ecx, ebx
call fcn.004a90a0
mov eax, dword [edi]
lock dec dword [eax]
jne 0x621d6a
mov ecx, edi
call fcn.004a9200
push dword [esp + 8]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
push dword [esp + 4]
call dword [sym.imp.ws2_32.dll_closesocket]
mov eax, dword [esi + 0x54]
cmp eax, 0xffffffff
je 0x621dd7
mov ebx, dword [esi + 0x58]
test ebx, ebx
je 0x621dd0
mov ecx, dword [ebx + 4]
lea edi, [ebx + 4]
call fcn.004c0200
mov eax, dword [ebx]
lock dec dword [eax]
jne 0x621dae
mov ecx, ebx
call fcn.004a90a0
mov eax, dword [edi]
lock dec dword [eax]
jne 0x621dbc
mov ecx, edi
call fcn.004a9200
push dword [esi + 0x58]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 0x54]
push eax
call dword [sym.imp.ws2_32.dll_closesocket]
mov ecx, dword [esi + 0x50]
call fcn.007261f0
cmp dword [esi + 0x48], 0
lea ecx, [esi + 0x4c]
je 0x621df6
mov eax, dword [ecx]
lock dec dword [eax]
jne 0x621e02
call fcn.006200f0
jmp 0x621e02
mov eax, dword [ecx]
lock dec dword [eax]
jne 0x621e02
call fcn.004a8800
mov eax, dword [esi + 0x50]
lock dec dword [eax]
jne 0x621e12
mov ecx, dword [esi + 0x50]
call fcn.007235c0
mov edi, dword [esi + 0x5c]
test edi, edi
je 0x621e63
mov ecx, edi
call fcn.0072ac70
cmp dword [edi], 0
lea ecx, [edi + 4]
je 0x621e36
mov eax, dword [ecx]
lock dec dword [eax]
jne 0x621e42
call fcn.006200f0
jmp 0x621e42
mov eax, dword [ecx]
lock dec dword [eax]
jne 0x621e42
call fcn.004a8800
mov eax, dword [edi + 0x38]
test eax, eax
je 0x621e52
push dword [edi + 0x3c]
call dword [eax + 0xc]
add esp, 4
push dword [esi + 0x5c]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [ebx + 0xc]
call fcn.007d1b30
mov byte [esp + 3], al
lea edx, [ebx + 0x18]
mov ecx, edi
movzx eax, byte [ebx + 0x14]
push dword [esi + 0x50]
call fcn.0072ac30
add esp, 4
test al, al
je 0x621e9f
cmp byte [esp + 3], 0
jne 0x621c9d
jmp 0x621cad
cmp byte [esp + 3], 0
je 0x621eb2
mov eax, dword [0x94bfbc]
test eax, 0x7fffffff
jne 0x621ee0
push ebp
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov ebx, dword [esp + 8]
test ebx, ebx
jne 0x621d43
jmp 0x621d7c
call fcn.007d1b30
test al, al
jne 0x621cad
mov byte [ebx + 0x14], 1
jmp 0x621cad
call fcn.007d1b30
test al, al
jne 0x621eb2
mov byte [ebx + 0x14], 1
jmp 0x621eb2
mov ecx, str.A_Tokio_1.x_context_was_found__but_IO_is_disabled._Call__enable_io__on_the_runtime_builder_to_enable_IO.A_Tokio_1.x_context_was_found__but_timers_are_disabled._Call__enable_time__on_the_runtime_builder_to_enable_timers.Oh_no__We_never_placed_the_Core_back__this_is_a_bug_
mov edx, 0x68
push 0x93780c
call fcn.007c2000
ud2