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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov ebx, edx
mov edi, ecx
cmp byte [edx + 4], 0
mov esi, dword [edx]
je 0x4eaa0a
mov dword [esp + 8], ebx
sub esp, 0x10
movaps xmm0, xmmword [0x50cf80]
movups xmmword [esp], xmm0
call dword [sym.imp.kernel32.dll_CreateIoCompletionPort]
test eax, eax
je 0x4eaa27
mov ebx, eax
mov dword [esp + 0x10], esi
push 0xc
pop ecx
call fcn.0046a2f8
mov esi, eax
xor eax, eax
inc eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
lock inc dword [esi]
jle 0x4eacbb
push 0x40
pop ecx
call fcn.0046a2f8
xor ecx, ecx
inc ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
and dword [eax + 0x10], 0
mov byte [eax + 0x14], 0
push 4
pop edx
mov dword [eax + 0x18], edx
and dword [eax + 0x20], 0
and dword [eax + 0x1c], 0
and dword [eax + 0x25], 0
and dword [eax + 0x21], 0
mov dword [eax + 0x2c], edx
and dword [eax + 0x34], 0
and dword [eax + 0x30], 0
and dword [eax + 0x39], 0
and dword [eax + 0x35], 0
lock inc dword [esi]
jle 0x4eacbb
mov ecx, esi
lock inc dword [eax]
mov esi, dword [esp + 0x10]
jle 0x4eacbb
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
xorps xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
test esi, esi
je 0x4ea9dc
cmp esi, 0x7ffffff
ja 0x4eacbf
mov ebx, esi
shl ebx, 4
js 0x4eacbf
push 4
pop ecx
mov edx, ebx
call fcn.00404a80
mov edx, eax
test eax, eax
je 0x4eace1
xor eax, eax
mov ecx, edx
lea ebx, [eax + 1]
cmp ebx, esi
jae 0x4ea9f5
movaps xmm0, xmmword [esp + 0x60]
movups xmmword [ecx], xmm0
add ecx, 0x10
inc eax
jmp 0x4ea9e0
test esi, esi
je 0x4eaa3e
movaps xmm0, xmmword [esp + 0x60]
movups xmmword [ecx], xmm0
cmp esi, ebx
ja 0x4eaa44
jmp 0x4eaa95
call fcn.004e5f34
lock inc dword [eax]
jle 0x4eacbb
xor ecx, ecx
mov dl, 2
mov dword [esp + 4], edx
mov edx, eax
jmp 0x4eab0d
call sub.kernel32.dll_GetLastError
mov dword [edi + 8], eax
and dword [edi + 4], 0
mov dword [edi], 2
jmp 0x4eacb3
cmp esi, eax
jbe 0x4eaa77
mov ebx, eax
mov eax, esi
shl eax, 4
test ebx, ebx
je 0x4eaa86
mov dword [esp + 4], eax
mov eax, ebx
shl eax, 4
mov ecx, edx
mov edx, dword [esp + 4]
mov dword [esp + 4], eax
push eax
push 4
call fcn.004155f0
pop ecx
pop edx
mov edx, eax
test eax, eax
jne 0x4eaa95
push 4
jmp 0x4eacda
mov ebx, edx
push 8
pop ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jmp 0x4eaacc
mov ecx, edx
push 4
pop edx
push eax
call fcn.00404f8c
pop eax
push 4
pop edx
mov dword [esp + 0x1c], ebx
cmp esi, 0x7ffffff
ja 0x4eacbf
mov eax, esi
shl eax, 4
js 0x4eacbf
mov ebx, edx
push 8
pop ecx
mov dword [esp + 4], eax
mov edx, eax
call fcn.00404a80
mov dword [esp + 0x18], eax
test eax, eax
je 0x4eacd8
push 4
pop ecx
push 0x40
pop edx
call fcn.00404a80
mov dword [esp + 0x50], eax
test eax, eax
je 0x4eacd0
and dword [esp + 0x24], 0
and dword [esp + 0x20], 0
and dword [esp + 0x29], 0
and dword [esp + 0x25], 0
mov dword [esp + 4], 0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov eax, ebx
mov ebx, dword [esp + 8]
mov dword [esp + 0x14], edx
movsd xmm0, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x25]
movsd qword [esp + 0x7d], xmm1
movsd qword [esp + 0x78], xmm0
cmp byte [ebx + 5], 0
je 0x4eabe5
mov dword [esp + 0x48], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x4c], edi
call fcn.004c8910
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x44], ecx
push 8
pop ecx
mov edx, 0xc60
call fcn.00404a80
test eax, eax
je 0x4eacc6
xor esi, esi
mov dword [esp + 0x54], eax
mov edi, eax
cmp esi, 6
je 0x4eab99
lea ebx, [esi + 1]
push 0x208
push 0
push edi
call fcn.004f8400
add esp, 0xc
mov dword [edi + 0x208], esi
add edi, 0x210
mov esi, ebx
jmp 0x4eab71
xorps xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x23]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x3f], ecx
mov eax, dword [esp + 0x85]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x34], eax
mov dword [esp + 0x37], ecx
mov dword [esp + 8], 0
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
jmp 0x4eabf1
xor edx, edx
inc edx
mov dword [esp + 8], edx
mov ebx, 0x3b9aca00
mov dword [edi + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], esi
and dword [edi + 0x14], 0
mov dword [edi + 0x18], ecx
mov eax, dword [esp + 4]
mov byte [edi + 0x1c], al
mov esi, ecx
xor ecx, ecx
mov byte [edi + 0x20], cl
mov edx, dword [esp + 0x3c]
mov dword [edi + 0x21], edx
mov edx, dword [esp + 0x3f]
mov dword [edi + 0x24], edx
and dword [edi + 0x2c], 0
and dword [edi + 0x28], 0
movaps xmm0, xmmword [esp + 0x60]
movups xmmword [edi + 0x30], xmm0
mov eax, dword [esp + 0x54]
mov dword [edi + 0x40], eax
push 6
pop edx
mov dword [edi + 0x44], edx
mov dword [edi + 0x48], edx
mov byte [edi + 0x50], cl
mov edx, dword [esp + 0x34]
mov dword [edi + 0x51], edx
mov edx, dword [esp + 0x37]
mov dword [edi + 0x54], edx
mov eax, dword [esp + 0x58]
mov dword [edi + 0x5c], eax
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x58], eax
and dword [edi + 0x70], 0
and dword [edi + 0x74], 0
mov byte [edi + 0x78], cl
mov eax, dword [esp + 0x50]
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], 0x10
movsd xmm0, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x7d]
movsd qword [edi + 0x84], xmm0
movsd qword [edi + 0x89], xmm1
mov eax, dword [esp + 8]
mov dword [edi], eax
mov dword [edi + 0x60], ebx
mov dword [edi + 0x68], esi
mov eax, dword [esp + 0x14]
mov dword [edi + 0x6c], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
call fcn.004156f0
ud2
push 8
pop ecx
mov edx, 0xc60
jmp 0x4eace6
push 4
pop ecx
push 0x40
pop edx
jmp 0x4eace6
push 8
pop ecx
mov edx, dword [esp + 4]
jmp 0x4eace6
push 4
pop ecx
mov edx, ebx
call fcn.00506930
ud2