Function at 0x43fb9c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x49f270]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
and dword [ebp - 0x30], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], ecx
mov word [ebp - 0x1c], ax
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x43fbef
push esi
call fcn.004011c0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.00404be0
mov ecx, dword [ebp - 0xc]
lea eax, [edi + 0x10]
mov dword [ebp - 0x20], eax
lea edx, [ebx + 0x10]
mov eax, dword [eax]
add eax, ecx
mov dword [ebp - 0x2c], edx
add eax, dword [edx]
lea eax, [eax*2 + 0x9a]
push eax
mov dword [ebp - 0x24], eax
call fcn.00466888
push dword [ebp - 0x24]
mov esi, eax
push 0
push esi
call fcn.004685d0
mov eax, dword [ebp - 0x24]
add esp, 0x10
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x14]
or eax, 4
mov dword [esi + 8], 1
mov dword [esi + 0x34], eax
mov dword [esi + 0x40], 0x44
mov dword [esi + 0x10], 0x94
cmp dword [edi + 0x14], 8
jb 0x43fc57
mov ecx, dword [edi]
jmp 0x43fc59
mov ecx, edi
cmp dword [edi + 0x14], 8
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
lea eax, [ecx + eax*2]
jb 0x43fc69
mov edi, dword [edi]
sub eax, edi
and eax, 0xfffffffe
push eax
lea eax, [esi + 0x94]
push edi
push eax
call fcn.004675a0
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov eax, dword [eax]
lea edx, [eax*2 + 0x96]
mov dword [esi + 0x14], edx
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x20], edx
jb 0x43fc9b
mov ecx, dword [ebx]
jmp 0x43fc9d
mov ecx, ebx
cmp dword [ebx + 0x14], 8
mov edi, dword [ebp - 0x2c]
mov eax, dword [edi]
lea eax, [ecx + eax*2]
jb 0x43fcad
mov ebx, dword [ebx]
sub eax, ebx
and eax, 0xfffffffe
push eax
lea eax, [edx + esi]
push ebx
push eax
call fcn.004675a0
mov eax, dword [edi]
mov ecx, dword [ebp - 0x20]
add ecx, 2
lea edx, [ecx + eax*2]
mov dword [esi + 0x48], edx
lea ecx, [ebp - 0x1c]
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0xc]
cmovae ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x1c]
sub eax, ecx
and eax, 0xfffffffe
push eax
push ecx
lea eax, [edx + esi]
push eax
call fcn.004675a0
add esp, 0x18
lea eax, [ebp - 0x34]
push 0
push eax
push dword [ebp - 0x24]
push esi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x43fd60
call fcn.0040ae90
cmp eax, 2
jg 0x43fd49
xor ebx, ebx
inc ebx
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x16e
push str.d:webapps_b_build_slave_repo_build_srcwow_tools_servicepublicwow_launch_process_with_token.cc
lea ecx, [ebp - 0xec]
call fcn.0040b720
add eax, 0x10
push str.Failed_to_send_CreateProcessAsUser_request
push eax
call fcn.00405180
pop ecx
pop ecx
jmp 0x43fd4c
mov ebx, dword [ebp - 0x30]
test bl, 1
je 0x43fd5c
lea ecx, [ebp - 0xec]
call fcn.0040b780
xor bl, bl
jmp 0x43fd62
mov bl, 1
push esi
call fcn.00467511
pop ecx
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.004047d0
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00467f35
mov esp, ebp
pop ebp
ret