Function at 0x432440
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc473
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x5400e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x84], eax
call fcn.00409f90
mov ecx, eax
test ecx, ecx
jne 0x432499
push 0x80004005
call fcn.0041f520
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
call fcn.00409f90
mov ecx, eax
test ecx, ecx
jne 0x4324c2
push 0x80004005
call fcn.0041f520
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
call fcn.00409f90
mov ecx, eax
test ecx, ecx
jne 0x4324e8
push 0x80004005
call fcn.0041f520
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
push esi
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x1c], 0
call fcn.00420240
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x1c]
call fcn.00431370
add esp, 0xc
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x60], 0
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x58], esi
cmp esi, 0xffffffff
jne 0x4325d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x4325fb
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x4325ae
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp eax, 5
jl 0x432538
xor eax, eax
mov dword [ebp - 0x80], 0xe7
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x80]
push 0x53e610
push eax
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x6c], 0
call fcn.004b1e41
xor eax, eax
mov dword [ebp - 0x4c], 0xe7
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x4c]
push 0x53e610
push eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
call fcn.004b1e41
test esi, esi
je 0x432585
push 0
push 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x432620
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4c], eax
xor eax, eax
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x4c]
push 0x53e610
push eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
call fcn.004b1e41
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x48]
movq qword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x48], xmm0
call fcn.00430530
push 3
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 5
push str.POST
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], eax
call fcn.004206d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x60]
push dword [ebp - 0x108]
call fcn.00426dc0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.004305d0
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4326a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x104]
mov eax, dword [ebp - 0x108]
cmp eax, ecx
je 0x4326bf
push eax
call fcn.004b7ed7
add esp, 4
mov edi, dword [ebp - 0x44]
cmp dword [edi - 4], 1
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x60], eax
jle 0x4326dd
push eax
lea ecx, [ebp - 0x44]
call fcn.00427570
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x60]
push 0
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x432794
mov eax, dword [edi - 0xc]
cmp dword [ebp - 0x14], eax
jne 0x432794
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0x14], 0
mov eax, 0x8000
mov dword [ebp - 0x60], edx
cmp ecx, 0x8000
mov edi, ecx
push 0
cmova edi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x5c]
push edi
add eax, edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x432794
mov eax, dword [ebp - 0x14]
cmp eax, edi
jne 0x432794
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp + 0xc]
add edx, eax
sub ecx, eax
mov dword [ebp - 0x60], edx
mov dword [ebp + 0xc], ecx
mov eax, 0x8000
jne 0x432714
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x60], 0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], 0
call fcn.00430b70
push 0x8000
push 0
mov byte [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
mov dword [ebp - 0x5c], edi
test edi, edi
jne 0x4327c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x80], eax
xor eax, eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x80]
push 0x53e610
push eax
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x6c], 0
call fcn.004b1e41
nop
push 0
lea eax, [ebp - 0x18]
push eax
push 0x8000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4327e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x432794
mov eax, dword [ebp - 0x64]
cmp dword [eax], 0
jne 0x432836
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
push edi
call fcn.00430bb0
test eax, eax
je 0x432902
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
inc ecx
mov eax, dword [eax - 0xc]
add eax, ecx
xor ecx, ecx
ja 0x432829
cmp eax, 0xffffffff
ja 0x432829
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [ebp - 0x64]
test eax, eax
mov dword [ecx], eax
setne al
jmp 0x43282b
xor al, al
test al, al
je 0x432794
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
test eax, eax
je 0x432902
push dword [ebp - 0x18]
add eax, dword [ebp - 0x60]
push edi
push eax
call fcn.004b1260
mov edx, dword [ebp - 0x2c]
add esp, 0xc
mov ecx, dword [ebp - 0x60]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x60], ecx
mov eax, dword [edx - 0xc]
add eax, dword [ebp - 0x28]
cmp ecx, eax
jb 0x4327c0
mov eax, dword [ebp - 0x64]
push edi
mov eax, dword [eax]
mov byte [eax + ecx], 0
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
add eax, dword [edx - 0xc]
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4328b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x48]
call fcn.00432930
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x1c]
call fcn.00420220
lea ecx, [ebp - 0x50]
call fcn.00420220
lea ecx, [ebp - 0x20]
call fcn.00420220
lea ecx, [ebp - 0x24]
call fcn.00420220
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004981af
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x80], 0x80070057
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x80]
push 0x53e610
push eax
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x6c], 0
call fcn.004b1e41
int3