Function at 0x432ce0
Capabilities:
Create pipe
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov esi, esp
mov dword [esi + 0xa8], ebp
mov dword [esi + 0xac], esp
mov dword [esi + 0xb8], 0xffffffff
mov dword [esi + 0xb4], 0x439c00
mov dword [esi + 0x24], ecx
lea eax, [esi + 0xb0]
mov dword [esi + 0x90], edx
mov dword [esi + 0xc], 0
mov dword [esi + 0x28], 8
mov dword [esi + 0x50], 0
mov ecx, dword fs:[0]
mov dword [esi + 0xb0], ecx
mov dword fs:[0], eax
mov eax, 0x40080002
sub eax, edx
mov dword [esi + 0x94], eax
mov al, 1
nop word [eax + eax]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esi + 0x9c], eax
jmp 0x432d89
mov eax, dword [esi + 0x60]
xchg dword [0xa609cc], eax
mov eax, dword [0xa609cc]
test eax, eax
jne 0x432dd0
xorps xmm0, xmm0
movaps xmmword [esi + 0x60], xmm0
push 2
push 0x10
lea eax, [esi + 0x60]
push eax
push 0
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
jns 0x432d80
mov eax, dword [esi + 0xc]
mov byte [esi + 7], 1
mov dword [esi + 0xb8], 1
mov byte [esi + 6], al
call fcn.004342a0
jmp 0x432d83
mov eax, 1
lea ecx, [esi + 0x9c]
lea edx, [esi + 0xa0]
lock xadd dword [0xa609cc], eax
mov dword [esi + 0x40], ecx
lea ecx, [esi + 0x40]
mov dword [esi + 0x44], 0x412d50
mov dword [esi + 0x48], edx
mov dword [esi + 0x60], 0xa5750c
mov dword [esi + 0x64], 2
mov dword [esi + 0x70], 0
lea edx, [esi + 0x60]
mov dword [esi + 0x4c], 0x412d50
mov byte [esi + 7], 1
mov dword [esi + 0xb8], 1
mov dword [esi + 0x68], ecx
lea ecx, [esi + 0x54]
mov dword [esi + 0x6c], 2
mov dword [esi + 0xa0], eax
mov eax, dword [esi + 0xc]
mov byte [esi + 6], al
call fcn.0040f2e0
cmp dword [esi + 0x34], 0
mov ecx, dword [esi + 8]
movsd xmm0, qword [esi + 0x54]
mov eax, dword [esi + 0x5c]
sete dl
movsd qword [esi + 0x60], xmm0
mov dword [esi + 0x68], eax
or cl, dl
test cl, 1
jne 0x432e76
push dword [esi + 0x30]
push 0
push dword [0xa609c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
movsd xmm0, qword [esi + 0x60]
mov eax, dword [esi + 0x68]
movsd qword [esi + 0x30], xmm0
test eax, eax
mov dword [esi + 0x38], eax
mov ebx, dword [esi + 0x30]
lea ecx, [ebx + eax]
mov dword [esi + 0x2c], ecx
je 0x432ea0
movzx ecx, byte [ebx]
movzx edi, cl
test cl, cl
js 0x432ec0
inc ebx
jmp 0x432f10
mov dword [esi + 0x10], 0
xor edi, edi
mov dword [esi + 0x20], 0
mov dword [esi + 8], 0
xor edx, edx
jmp 0x432f3b
movzx edx, byte [ebx + 1]
and edi, 0x1f
and edx, 0x3f
cmp cl, 0xdf
jbe 0x432f08
movzx eax, byte [ebx + 2]
shl edx, 6
and eax, 0x3f
or eax, edx
cmp cl, 0xf0
jb 0x433289
movzx ecx, byte [ebx + 3]
and edi, 7
shl eax, 6
add ebx, 4
shl edi, 0x12
and ecx, 0x3f
or ecx, eax
or edi, ecx
cmp edi, 0xffff
jbe 0x432f10
jmp 0x43329d
shl edi, 6
add ebx, 2
or edi, edx
mov eax, 1
mov dword [esi + 0x10], 0
mov edx, dword [esi + 0x2c]
mov ecx, 0xffffffff
mov dword [esi + 8], ebx
sub edx, ebx
add edx, 3
cmovb edx, ecx
shr edx, 2
add edx, eax
mov ax, 1
mov dword [esi + 0x20], eax
cmp edx, 4
mov eax, 3
mov dword [esi + 0xc], edi
cmovb edx, eax
cmp edx, 0x3fffffff
setb al
jae 0x43348e
lea ecx, [edx + edx + 2]
test ecx, ecx
js 0x43347f
mov byte [esi + 0x14], al
mov edi, edx
movzx eax, byte [0xa60948]
mov eax, dword [0xa609c8]
test eax, eax
jne 0x432f90
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x433464
mov ecx, ebx
mov dword [0xa609c8], eax
mov ebx, ecx
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x433464
mov edx, eax
mov eax, dword [esi + 0x50]
mov ebx, dword [esi + 8]
inc edi
mov ecx, edx
mov dword [esi + 0x18], edx
inc eax
mov dword [esi + 0x98], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0xc], 1
mov word [edx], ax
mov edx, dword [esi + 0x10]
jmp 0x432fe5
mov ebx, dword [esi + 0x14]
mov eax, edx
mov edx, dword [esi + 0xc]
mov word [ecx + edx*2], ax
inc edx
mov dword [esi + 0xc], edx
mov edx, ebx
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x433040
test dx, dx
je 0x433010
mov dword [esi + 0x14], 0
cmp dword [esi + 0xc], edi
mov dword [esi + 8], ebx
jne 0x432fd0
jmp 0x43313e
cmp ebx, dword [esi + 0x2c]
je 0x433040
movzx edx, byte [ebx]
movzx eax, dl
test dl, dl
js 0x433085
inc ebx
mov edx, eax
mov dword [esi + 0x14], 0
mov dword [esi + 8], ebx
jmp 0x43312f
cmp word [esi + 0x20], 1
jne 0x433200
xor eax, eax
cmp dword [esi + 0xc], edi
jne 0x433070
mov ecx, edx
mov dword [esi + 0x20], 0
mov dword [esi + 8], 0
xor edx, edx
jmp 0x433164
mov ebx, edx
mov dword [esi + 8], 0
mov dword [esi + 0x20], 0
jmp 0x432fd5
mov dword [esi + 0x1c], edi
movzx edi, byte [ebx + 1]
and eax, 0x1f
and edi, 0x3f
cmp dl, 0xdf
jbe 0x4330f6
mov dword [esi + 0x10], eax
movzx eax, byte [ebx + 2]
shl edi, 6
and eax, 0x3f
or eax, edi
cmp dl, 0xf0
jb 0x43310f
movzx edx, byte [ebx + 3]
mov edi, dword [esi + 0x10]
shl eax, 6
add ebx, 4
mov dword [esi + 8], ebx
and edi, 7
and edx, 0x3f
shl edi, 0x12
or edx, eax
or edi, edx
mov edx, edi
mov edi, dword [esi + 0x1c]
cmp edx, 0xffff
jbe 0x433128
lea eax, [edx + 0xff0000]
and edx, 0x3ff
shr eax, 0xa
or edx, 0xdc00
mov dword [esi + 0x14], edx
or eax, 0xd800
mov edx, eax
jmp 0x43312f
shl eax, 6
add ebx, 2
mov dword [esi + 0x14], 0
or eax, edi
mov edi, dword [esi + 0x1c]
mov dword [esi + 8], ebx
mov edx, eax
jmp 0x43312f
mov edx, dword [esi + 0x10]
add ebx, 3
mov dword [esi + 8], ebx
shl edx, 0xc
or edx, eax
mov edi, dword [esi + 0x1c]
cmp edx, 0xffff
ja 0x4330d5
mov dword [esi + 0x14], 0
mov ebx, dword [esi + 8]
cmp dword [esi + 0xc], edi
mov dword [esi + 8], ebx
jne 0x432fd0
mov eax, dword [esi + 0x2c]
mov ecx, 0xffffffff
sub eax, dword [esi + 8]
add eax, 3
cmovb eax, ecx
mov ecx, dword [esi + 0x14]
shr eax, 2
cmp cx, 1
sbb eax, 0xffffffff
cmp word [esi + 0x20], 1
sbb eax, 0xffffffff
inc eax
mov dword [esi + 0x1c], edi
add eax, dword [esi + 0xc]
jb 0x43343f
mov dword [esi + 0x14], ecx
lea ecx, [edi + edi]
mov ebx, edi
mov dword [esi + 0x10], edx
cmp ecx, eax
cmova eax, ecx
cmp eax, 5
mov edi, eax
mov eax, 4
cmovb edi, eax
xor edx, edx
cmp edi, 0x40000000
lea eax, [edi + edi]
setb dl
add edx, edx
test ebx, ebx
je 0x4331b2
mov ebx, dword [esi + 0x18]
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ecx
mov ecx, 2
jmp 0x4331b4
xor ecx, ecx
mov dword [esi + 0x64], ecx
lea ecx, [esi + 0x40]
lea ebx, [esi + 0x60]
push ebx
push eax
call fcn.00421730
add esp, 8
cmp dword [esi + 0x40], 0
mov ecx, dword [esi + 0x44]
je 0x4331ed
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
cmp ecx, 0x80000001
jne 0x43343b
mov edi, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
jmp 0x432fd5
mov ebx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov dword [esi + 0x18], ecx
jmp 0x432fd5
push 0
push 0
push 0x10000
push 0x10000
push 1
push dword [esi + 0x28]
push dword [esi + 0x94]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x433324
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x98]
cmp ecx, 0xa
jge 0x4332c9
cmp eax, 5
jne 0x433250
mov dword [esi + 0x50], ecx
jmp 0x433262
cmp dword [esi + 0x28], 0
je 0x4332c9
cmp eax, 0x57
mov dword [esi + 0x28], 0
jne 0x4332c9
mov al, 1
mov dword [esi + 0xc], eax
xor eax, eax
test edi, edi
je 0x432d60
push dword [esi + 0x18]
push 0
push dword [0xa609c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x432d60
shl edi, 0xc
add ebx, 3
or edi, eax
cmp edi, 0xffff
jbe 0x432f10
lea ecx, [edi + 0xff0000]
and edi, 0x3ff
shr ecx, 0xa
or edi, 0xdc00
mov eax, edi
or ecx, 0xd800
mov dword [esi + 0x10], eax
mov eax, 2
mov edi, ecx
jmp 0x432f1c
mov ecx, dword [esi + 0x24]
mov dword [ecx + 8], eax
mov dword [ecx + 4], 0
mov dword [ecx], 1
mov ecx, edi
mov edi, 0xffffffff
test ecx, ecx
je 0x4332f8
push dword [esi + 0x18]
push 0
push dword [0xa609c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esi + 0x34], 0
je 0x43330f
push dword [esi + 0x30]
push 0
push dword [0xa609c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp ebx, 0xffffffff
je 0x4333f2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4333f2
test edi, edi
je 0x433343
push dword [esi + 0x18]
push 0
push dword [0xa609c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi + 0xb8], 1
mov eax, dword [esi + 0x90]
mov dword [esi + 0x60], 0
mov dword [esi + 0x7c], 0
mov word [esi + 0x80], 0
mov edx, dword [esi + 0x30]
xorps xmm0, xmm0
lea edi, [esi + 0x60]
mov dword [esi + 0x40], 0xc
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 0xa4], ebx
mov byte [esi + 6], 1
mov byte [esi + 7], 0
mov dword [esi + 0xb8], 1
lea ecx, [esi + 0x54]
mov byte [esi + 0x7d], al
xor al, 1
mov dword [esi + 8], edx
mov byte [esi + 0x7c], al
lea eax, [esi + 0x40]
movups xmmword [esi + 0x68], xmm0
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x38]
push edi
push eax
call fcn.00426610
add esp, 8
movzx eax, byte [esi + 0x54]
cmp al, 4
jne 0x433406
cmp dword [esi + 0x34], 0
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0xc]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov dword [ecx], 0
je 0x4333f2
push dword [esi + 8]
push 0
push dword [0xa609c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esi + 0xb0]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esi + 0x24]
movzx ebx, word [esi + 0x55]
movzx ecx, byte [esi + 0x57]
mov edi, dword [esi + 0x58]
mov word [edx + 5], bx
mov ebx, dword [esi + 0xc]
mov byte [edx + 7], cl
mov byte [edx + 4], al
mov dword [edx + 8], edi
mov dword [edx], 1
mov edi, ebx
cmp dword [esi + 0x34], 0
jne 0x4332fe
jmp 0x43330f
test ecx, ecx
jne 0x433450
mov dword [esi + 0xb8], 2
call fcn.0040ed30
jmp 0x43349b
mov edx, dword [esi + 0x48]
mov dword [esi + 0xb8], 2
call fcn.00447430
jmp 0x43349b
movzx eax, byte [esi + 0x14]
xor ecx, ecx
mov edx, ebx
mov byte [esi + 6], 1
mov byte [esi + 7], 1
mov cl, al
add ecx, ecx
call fcn.00447430
jmp 0x43349b
mov byte [esi + 6], 1
mov byte [esi + 7], 1
call fcn.0040ed30
jmp 0x43349b
mov byte [esi + 6], 1
mov byte [esi + 7], 1
call fcn.0040ed30
ud2