Function at 0x433630
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5d69
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
mov eax, dword [0x4c8104]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x24], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [edi], 0x4b456c
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call fcn.00432d20
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x38]
mov dword [edi + 0x34], 0
call fcn.00432e70
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], esi
mov dword [edi + 0x60], 0
or eax, 0xffffffff
mov byte [ebp - 4], 6
test esi, esi
cmovns eax, esi
push eax
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [edi + 0x14], eax
test eax, eax
jne 0x43379f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x50b800]
cmp eax, dword [ecx + 0x68]
jle 0x43378d
push 0x50b800
call fcn.004797e0
add esp, 4
cmp dword [0x50b800], 0xffffffff
jne 0x43378d
push 0x4ac210
mov dword [0x50b808], 0x50b804
mov dword [0x50b804], 0x4b4678
call fcn.00479250
add esp, 4
push 0x50b800
call fcn.00479720
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0x50b804
test esi, esi
jne 0x433868
cmp byte [ebx + 0x10], 0
je 0x433846
lea eax, [edi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0xc
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x433821
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push 0x10
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
je 0x433814
xorps xmm0, xmm0
mov ecx, esi
push 0
movups xmmword [eax], xmm0
push eax
mov dword [eax], 0x4b4588
mov dword [eax + 0xc], edi
call fcn.004339f0
jmp 0x433823
xor eax, eax
mov ecx, esi
push eax
push eax
call fcn.004339f0
jmp 0x433823
xor esi, esi
mov eax, dword [edi + 0x60]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x433843
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push dword [ebp - 0x20]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov dword [edi + 0x60], esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049f3c4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
mov edx, str.iocp
lea ecx, [ebp - 0x1c]
call fcn.004347a0
int3