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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, dword [edx]
cmp byte [edx + 4], 0
mov ebx, edx
mov edi, ecx
mov dword [esp + 0x3c], esi
je 0x4e1c6d
mov dword [esp + 0x28], ebx
push 0
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CreateIoCompletionPort]
test eax, eax
jne 0x4e1ba1
lea ebx, [esp + 0x10]
mov ecx, ebx
call fcn.004c089f
cmp byte [ebx], 4
jne 0x4e1d19
mov eax, dword [esp + 0x14]
push 0xc
pop ecx
push 4
pop edx
mov esi, eax
call fcn.00423cc6
mov ebx, eax
xor eax, eax
inc eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], esi
lock inc dword [ebx]
jle 0x4e1f95
push 0x40
pop ecx
push 4
pop esi
mov edx, esi
call fcn.00423cc6
xor ecx, ecx
inc ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
xor ecx, ecx
and dword [eax + 8], 0
mov byte [eax + 0xc], cl
and dword [eax + 0x10], 0
mov dword [eax + 0x14], esi
and dword [eax + 0x1c], 0
and dword [eax + 0x18], 0
and dword [eax + 0x21], 0
and dword [eax + 0x1d], 0
and dword [eax + 0x28], 0
mov dword [eax + 0x2c], esi
and dword [eax + 0x30], 0
mov esi, dword [esp + 0x3c]
mov dword [eax + 0x34], ebx
mov dword [eax + 0x38], ebx
mov byte [eax + 0x3c], cl
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x38], ecx
lock inc dword [ecx]
jle 0x4e1f95
lock inc dword [eax]
jle 0x4e1f95
test esi, esi
mov dword [esp + 0x48], eax
je 0x4e1c94
xor ebx, ebx
cmp esi, 0x8000000
setb al
jae 0x4e1f99
mov ecx, esi
shl ecx, 4
js 0x4e1f99
mov bl, al
mov dword [esp + 4], ecx
shl ebx, 2
mov edx, ebx
call fcn.00420dff
mov ecx, eax
test eax, eax
jne 0x4e1c97
mov ecx, dword [esp + 4]
jmp 0x4e1fb6
call fcn.004ded28
lock inc dword [eax]
jle 0x4e1f95
mov ecx, eax
mov al, 2
mov dword [esp + 0x38], 0
mov dword [esp + 8], eax
mov dword [esp + 0x34], ecx
jmp 0x4e1ddd
push 4
pop ecx
xor edx, edx
xorps xmm0, xmm0
mov eax, ecx
inc edx
movaps xmmword [esp + 0x10], xmm0
cmp edx, esi
jae 0x4e1cc3
movsd xmm0, qword [esp + 0x10]
movsd xmm1, qword [esp + 0x18]
inc edx
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
add eax, 0x10
jmp 0x4e1ca4
test esi, esi
je 0x4e1ce9
movsd xmm0, qword [esp + 0x10]
movsd xmm1, qword [esp + 0x18]
cmp esi, edx
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
ja 0x4e1cee
mov dword [esp + 4], ecx
jmp 0x4e1d72
dec edx
cmp esi, edx
jbe 0x4e1d44
mov ebx, edx
mov edx, esi
shl edx, 4
test ebx, ebx
mov dword [esp + 0xc], ebx
je 0x4e1d55
shl ebx, 4
mov dword [esp + 4], ecx
push ebx
push 4
call fcn.00415e80
pop ecx
pop edx
test eax, eax
jne 0x4e1d60
push 4
pop edx
mov ecx, ebx
jmp 0x4e1d69
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
movzx ecx, al
cmp ecx, 4
je 0x4e1f8e
je 0x4e1f8e
mov dword [edi + 8], edx
mov dword [edi + 4], eax
mov dword [edi], 2
jmp 0x4e1f86
mov dword [esp + 0xc], edx
mov dword [esp + 4], ecx
push 8
pop eax
mov dword [esp + 0x2c], eax
jmp 0x4e1dae
push 4
call fcn.00403a30
pop eax
push 4
pop eax
mov edx, 0x80000001
mov dword [esp + 4], eax
call fcn.00403850
mov edx, dword [esp + 0xc]
xor ebx, ebx
cmp esi, 0x8000000
setb al
jae 0x4e1f99
mov ecx, esi
mov dword [esp + 0xc], edx
shl ecx, 4
js 0x4e1f99
mov bl, al
mov dword [esp + 8], ecx
shl ebx, 3
mov edx, ebx
call fcn.00420dff
test eax, eax
mov dword [esp + 0x2c], eax
je 0x4e1fb2
push 0x40
pop ecx
push 4
pop edx
call fcn.00420dff
test eax, eax
mov dword [esp + 0x44], eax
je 0x4e1faa
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0x28]
mov dword [esp + 8], 0
mov dword [esp + 0x34], 0
cmp byte [ebx + 5], 0
mov dword [esp + 4], ecx
je 0x4e1e9b
mov dword [esp + 0x40], edi
call fcn.004d0af0
mov ebx, ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edx
push 8
pop edx
mov ecx, 0xc60
call fcn.00420dff
test eax, eax
je 0x4e1fa0
xor esi, esi
mov edi, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], ebx
cmp esi, 6
je 0x4e1e4b
lea ebx, [esi + 1]
push 0x208
push 0
push edi
call fcn.004ff8d0
add esp, 0xc
mov dword [edi + 0x208], esi
mov esi, ebx
mov ebx, dword [esp + 0x28]
add edi, 0x210
jmp 0x4e1e1f
and dword [esp + 0x17], 0
and dword [esp + 0x13], 0
and dword [esp + 0x1f], 0
and dword [esp + 0x1b], 0
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov byte [esp + 0x20], 0
mov dword [esp + 0x30], 0
movsd xmm0, qword [esp + 0x10]
movsd qword [esp + 0x58], xmm0
movsd xmm0, qword [esp + 0x18]
movsd qword [esp + 0x60], xmm0
and dword [esp + 0x67], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
jmp 0x4e1ea7
xor eax, eax
mov ebx, 0x3b9aca00
inc eax
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0xc], esi
mov esi, dword [esp + 0x48]
movsd xmm0, qword [esp + 0x60]
mov edx, dword [esp + 0x67]
mov dword [edi + 0x10], ecx
xor ecx, ecx
and dword [edi + 0x14], 0
mov dword [edi + 0x18], esi
mov byte [edi + 0x1c], cl
movsd qword [edi + 0x5d], xmm0
movsd xmm0, qword [esp + 0x58]
mov dword [edi + 0x64], edx
movsd qword [edi + 0x55], xmm0
push 6
pop edx
mov eax, dword [esp + 0x4c]
mov dword [edi + 0x68], edx
movsd xmm0, qword [esp + 0x10]
movsd xmm1, qword [esp + 0x18]
mov dword [edi + 0x6c], eax
mov dword [edi + 0x70], edx
mov dl, byte [esp + 0x20]
mov eax, dword [esp + 0x30]
movsd qword [edi + 0x78], xmm0
movsd qword [edi + 0x80], xmm1
mov byte [edi + 0x88], dl
mov edx, dword [esp + 0x44]
and dword [edi + 0x28], 0
and dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0x10
mov dword [edi + 0x34], edx
and dword [edi + 0x38], 0
mov byte [edi + 0x3c], cl
and dword [edi + 0x40], 0
mov dword [edi], eax
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [edi + 4], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x34]
mov byte [edi + 0x1d], dl
and dword [edi + 0x24], 0
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], edx
mov dword [edi + 0x4c], esi
and dword [edi + 0x50], 0
mov byte [edi + 0x54], cl
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [edi + 0x94], edx
mov dword [edi + 0x90], ecx
mov dword [edi + 0x98], ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, edx
jmp 0x4e1c11
ud2
call fcn.00416990
ud2
push 8
pop edx
mov ecx, 0xc60
jmp 0x4e1fb8
push 0x40
pop ecx
push 4
pop edx
jmp 0x4e1fb8
mov ecx, dword [esp + 8]
mov edx, ebx
call fcn.0050d210
ud2