Function at 0x4320f2
Capabilities:
Write file on windows

Disassembly:
push 0x158
mov eax, 0x52c5b2
call fcn.004e49d2
mov dword [ebp - 0xa8], ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], ecx
mov byte [ebp - 0x70], cl
or ebx, 0xffffffff
mov dword [ebp - 4], ecx
mov dword [ebp - 0xa4], ebx
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
test ebx, ebx
jns 0x4321ed
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], ecx
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004599ec
test al, al
je 0x432427
push str.psiphon_feedback.exe
lea ecx, [ebp - 0x40]
call fcn.0042a0c8
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x88]
call fcn.0042adac
pop ecx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
push ecx
mov ecx, eax
call fcn.00420367
push eax
lea ecx, [ebp - 0x28]
call fcn.00427b2c
push 0
push 1
lea ecx, [ebp - 0xa0]
call fcn.00427ba9
push 0
push 1
lea ecx, [ebp - 0x88]
call fcn.00427ba9
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00427ba9
push 0
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00427ba9
jmp 0x432230
push str..exe
lea ecx, [ebp - 0x40]
call fcn.00426582
push ebx
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.00459c9f
pop ecx
mov bl, al
mov byte [ebp - 4], 1
push 0
neg bl
lea ecx, [ebp - 0x40]
push 1
sbb bl, bl
call fcn.00427ba9
add bl, 1
jne 0x432590
mov ebx, dword [ebp - 0xa4]
push 0
lea edx, [ebp - 0x28]
mov ecx, 0x83
call fcn.00459481
pop ecx
test al, al
jne 0x4322fe
call esi
push eax
push 0xc1
push str.FeedbackUpload::SpawnFeedbackUploadProcess
push str._s:_d___ExtractExecutable_failed:__d
push 1
push 0
call fcn.0043a0a0
add esp, 0x18
call esi
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.0045c803
mov esi, eax
push 0x5ada64
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.0042a1e5
push esi
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa0]
call fcn.00424fde
pop ecx
pop ecx
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.0042ac28
push eax
lea ecx, [ebp - 0x70]
call fcn.00414765
xor esi, esi
lea ecx, [ebp - 0x88]
push esi
push 1
call fcn.00416ab1
push esi
push 1
lea ecx, [ebp - 0xa0]
call fcn.00427ba9
push esi
push 1
lea ecx, [ebp - 0x40]
call fcn.00427ba9
push esi
inc esi
lea ecx, [ebp - 0x58]
push esi
call fcn.00427ba9
push 0
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00427ba9
jmp 0x432414
push ecx
push ecx
lea ecx, [ebp - 0x164]
call fcn.004292cb
mov edx, 0x5ada70
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x154]
call fcn.0042a25d
mov edx, dword [ebp - 0xac]
mov ecx, eax
call fcn.0042a417
mov edx, str.____feedbackUpload
mov ecx, eax
call fcn.0042a25d
mov ebx, dword [ebp - 0xa8]
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0xb0]
mov dword [ebp - 0xb0], ebx
lea ecx, [ebp - 0xb4]
call fcn.00432704
lea esi, [ebx + 0x94]
pop ecx
cmp esi, eax
je 0x43237f
mov edx, dword [eax]
and dword [eax], 0
mov ecx, dword [esi]
mov dword [esi], edx
test ecx, ecx
je 0x43237f
mov byte [ebp - 4], 0xa
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xb4]
test ecx, ecx
je 0x432397
mov byte [ebp - 4], 0xb
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 9
mov esi, dword [esi]
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x164]
call fcn.00429280
mov byte [ebp - 4], 0xc
mov ecx, esi
mov edx, dword [esi]
push eax
call dword [edx + 4]
mov bl, al
mov byte [ebp - 4], 9
neg bl
lea ecx, [ebp - 0x88]
push 0
sbb bl, bl
xor esi, esi
inc esi
push esi
call fcn.00427ba9
add bl, 1
je 0x4324ad
push 0xcd
push str.FeedbackUpload::SpawnFeedbackUploadProcess
push str._s:_d___SpawnSubprocess_failed
xor ebx, ebx
push ebx
push ebx
call fcn.0043a0a0
add esp, 0x14
lea ecx, [ebp - 0x164]
call fcn.00428914
push ebx
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00427ba9
mov ebx, dword [ebp - 0xa4]
inc ebx
mov dword [ebp - 0xa4], ebx
cmp ebx, 5
jge 0x432456
xor ecx, ecx
jmp 0x43212e
call esi
push eax
push 0xb1
push str.FeedbackUpload::SpawnFeedbackUploadProcess
push str._s:_d___GetSysTempPath_failed:__d
push 1
push 0
call fcn.0043a0a0
add esp, 0x18
lea ecx, [ebp - 0x58]
push 0
push 1
call fcn.00427ba9
jmp 0x4325ae
cmp dword [ebp - 0x60], 0
je 0x432487
push str.PsiphonUI::FileError
lea ecx, [ebp - 0x40]
call fcn.004147d9
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x40]
call fcn.00440e10
push 0
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00416ab1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0xdb
push str.FeedbackUpload::SpawnFeedbackUploadProcess
push str._s:_d___process_spawning_failed_utterly:__d
push esi
push 0
call fcn.0043a0a0
add esp, 0x18
jmp 0x4325ba
lea ecx, [ebp - 0x164]
call fcn.00428914
push 0
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00427ba9
mov eax, dword [edi + 0x10]
xor esi, esi
mov ebx, dword [ebp - 0xa8]
test eax, eax
je 0x432546
and dword [ebp - 0xa4], 0
cmp dword [edi + 0x14], 0x10
mov edx, dword [ebx + 0x94]
jb 0x4324ed
mov ecx, dword [edi]
jmp 0x4324ef
mov ecx, edi
push 0
lea ebx, [ebp - 0xa4]
push ebx
push eax
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax + 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov ebx, dword [ebp - 0xa8]
test eax, eax
je 0x43256d
mov eax, dword [ebp - 0xa4]
cmp eax, dword [edi + 0x10]
je 0x43253d
push dword [edi + 0x10]
push eax
push str.FeedbackUpload::SpawnFeedbackUploadProcess
push str._s___failed_to_write_all_diagnostic_data_to_subprocess_stdin__wrote__d_of__d_bytes
push 0
push 0
call fcn.0043a0a0
mov eax, dword [ebp - 0xa4]
add esp, 0x18
add esi, eax
mov eax, dword [edi + 0x10]
cmp esi, eax
jb 0x4324d6
mov ecx, dword [ebx + 0x94]
mov eax, dword [ecx]
call dword [eax + 0x18]
test al, al
jne 0x43258c
push str.FeedbackUpload::SpawnFeedbackUploadProcess
push str._s___failed_to_close_input_pipes
push 0
push 0
call fcn.0043a0a0
add esp, 0x10
jmp 0x4325ba
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.FeedbackUpload::SpawnFeedbackUploadProcess
push str._s___failed_to_write_diagnostic_data_to_subprocess_stdin___d_
push 0
push 0
call fcn.0043a0a0
add esp, 0x14
jmp 0x4325ba
mov bl, 1
jmp 0x4325bc
call esi
push eax
push 0xb9
push str.FeedbackUpload::SpawnFeedbackUploadProcess
push str._s:_d___GetUniqueTempFilename_failed:__d
push 1
push 0
call fcn.0043a0a0
add esp, 0x18
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00427ba9
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.00416ab1
mov al, bl
call fcn.004e497c
ret 8