Function at 0x403938
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42640d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x432008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
cmp byte [esi + 9], 0
je 0x403851
mov byte [esi + 9], 0
xor al, al
jmp 0x403d48
mov eax, dword [esi]
call dword [eax + 0x1c]
mov ecx, esi
call fcn.00403df0
cmp byte [0x433a07], 0
je 0x403925
push 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 0
push 0
push 0
push dword [0x435b60]
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x403925
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x403925
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esi + 0x10]
mov esi, eax
nop word [eax + eax]
xor edi, edi
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x18], edi
nop dword [eax]
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, 1
sub eax, edi
push eax
lea eax, [ebp - 0x11]
add eax, edi
push eax
push dword [0x435b60]
call ebx
test eax, eax
je 0x4038ea
add edi, dword [ebp - 0x18]
cmp edi, 1
jb 0x4038c0
jmp 0x403904
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe9
jne 0x403904
push str.Fail_n
call fcn.004010c0
add esp, 4
movzx eax, byte [ebp - 0x11]
xor ecx, ecx
test edi, edi
cmove eax, ecx
mov ecx, esi
mov byte [ebp - 0x20], al
push dword [ebp - 0x20]
call fcn.00412280
sub dword [ebp - 0x1c], 1
jne 0x4038b0
mov esi, dword [ebp - 0x34]
mov eax, dword [esi + 0xc]
cmp eax, 0xc
ja case.default.0x403931
jmp dword [eax*4 + 0x403d64]
cmp byte [0x433a07], 0
jne 0x4039f8
mov ecx, dword [0x435a44]
xor edi, edi
add ecx, dword [0x435a30]
mov eax, dword [0x433a28]
adc edi, dword [0x435a34]
or eax, dword [0x433a2c]
je 0x4039ab
imul edx, dword [0x4328b8], 0x1f4
cmp edx, 0x3e8
jae 0x40397f
mov edx, 1
jmp 0x403989
mov eax, 0x10624dd3
mul edx
shr edx, 6
mov ebx, ecx
mov eax, edi
sub ebx, dword [0x433a28]
sbb eax, dword [0x433a2c]
test eax, eax
jb case.default.0x403931
ja 0x4039ab
cmp ebx, edx
jb case.default.0x403931
cmp byte [0x435a48], 0
mov dword [0x433a28], ecx
mov dword [0x433a2c], edi
jne 0x4039f1
push 0
push dword [0x435b60]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x4039ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x4039ea
cmp eax, 0x218
jne case.default.0x403931
mov byte [0x435a48], 1
mov byte [0x433a07], 1
mov dword [esi + 0xc], 1
jmp case.default.0x403931
mov eax, dword [esi + 0x10]
test eax, eax
je 0x403a1b
push eax
call fcn.0041943e
add esp, 4
mov dword [esi + 0x10], 0
push str._Vortex_Engine_v1.0__built_Wed_Jan_18_11:30:49_2023__
jmp 0x403d29
push 0x42d154
mov ecx, esi
call fcn.00403720
test al, al
je 0x403a41
mov dword [esi + 0xc], 3
jmp case.default.0x403931
push 0x42d158
mov ecx, esi
call fcn.00403720
test al, al
je 0x403a5d
mov dword [esi + 0xc], 6
jmp case.default.0x403931
push 0x42d15c
mov ecx, esi
call fcn.00403720
test al, al
je 0x403a79
mov dword [esi + 0xc], 9
jmp case.default.0x403931
push 0x42d160
mov ecx, esi
call fcn.00403720
test al, al
je case.default.0x403931
mov dword [esi + 0xc], 0xc
jmp case.default.0x403931
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push 0
movq qword [ebp - 0x2c], xmm0
lea ecx, [ebp - 0x2c]
push 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.00411e20
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.004092d0
cmp byte [0x433a07], 0
je 0x403b70
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00412220
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x403afc
mov eax, dword [eax]
add eax, 0xc
jmp 0x403afe
xor eax, eax
xor edi, edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edi
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, 4
sub eax, edi
push eax
lea eax, [ebp - 0x20]
add eax, edi
push eax
push dword [0x435b60]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403b32
add edi, dword [ebp - 0x1c]
cmp edi, 4
jb 0x403b06
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x403b40
mov ebx, dword [esi]
add ebx, 0xc
jmp 0x403b42
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x18], edi
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, ebx
sub eax, edi
push eax
lea eax, [edi + esi]
push eax
push dword [0x435b60]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403b6d
add edi, dword [ebp - 0x18]
cmp edi, ebx
jb 0x403b47
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x403b80
push eax
call fcn.0041943e
add esp, 4
mov dword [esi + 0xc], 4
jmp case.default.0x403931
push str.debgiklcfhj
mov ecx, esi
call fcn.00403720
test al, al
je case.default.0x403931
mov dword [esi + 0xc], 5
jmp case.default.0x403931
mov eax, dword [esi + 0x10]
test eax, eax
je 0x403bc3
push eax
call fcn.0041943e
add esp, 4
mov dword [esi + 0x10], 0
push 0x42d13c
jmp 0x403d29
mov eax, dword [esi + 0x10]
test eax, eax
je 0x403be4
push eax
call fcn.0041943e
add esp, 4
mov dword [esi + 0x10], 0
push 0x42d140
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
call fcn.004132f0
mov dword [esi + 0xc], 7
jmp 0x403d43
mov edx, dword [esi + 0x10]
test edx, edx
je case.default.0x403931
cmp dword [edx], 4
jb case.default.0x403931
mov dword [esi + 0x14], 0
mov eax, dword [edx + 0xc]
mov ecx, dword [edx]
add eax, 4
cmp ecx, eax
jb case.default.0x403931
test ecx, ecx
je 0x403c43
cmp ecx, 4
jb 0x403c43
mov dword [esi + 0x14], 4
push dword [edx]
lea eax, [edx + 0x10]
push eax
push edx
call fcn.00416e60
add esp, 0xc
lea ecx, [esi + 0x10]
call fcn.00409410
call fcn.00409610
mov dword [esi + 0xc], 8
jmp case.default.0x403931
mov eax, dword [esi + 0x10]
test eax, eax
je 0x403c82
push eax
call fcn.0041943e
add esp, 4
mov dword [esi + 0x10], 0
push 0x42d144
jmp 0x403d29
mov eax, dword [esi + 0x10]
test eax, eax
je 0x403ca3
push eax
call fcn.0041943e
add esp, 4
mov dword [esi + 0x10], 0
push 0x42d140
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
call fcn.004132f0
mov dword [esi + 0xc], 0xa
jmp 0x403d43
mov ecx, esi
call fcn.004040a0
test al, al
je case.default.0x403931
mov dword [esi + 0xc], 0xb
jmp case.default.0x403931
mov eax, dword [esi + 0x10]
test eax, eax
je 0x403cf2
push eax
call fcn.0041943e
add esp, 4
mov dword [esi + 0x10], 0
push 0x42d148
jmp 0x403d29
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x403d0d
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x403d24
push eax
call fcn.0041943e
add esp, 4
mov dword [esi + 0x10], 0
push 0x42d14c
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
call fcn.004132f0
mov dword [esi + 0xc], 2
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004143eb
mov esp, ebp
pop ebp
ret