Function at 0x4039e0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x503a5c
mov eax, dword fs:[0]
push eax
sub esp, 0x61c
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x618], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5375a0]
xor eax, esp
push eax
lea eax, [esp + 0x630]
mov dword fs:[0], eax
xor ebx, ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x18], ebx
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x20]
push eax
push str.UserManager
mov dword [esp + 0x648], ebx
call fcn.004043a0
add esp, 4
mov ecx, eax
call fcn.00489ad0
test al, al
je 0x403d3a
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
push str.UserManager
call fcn.004043a0
add esp, 4
mov ecx, eax
call fcn.00488ab0
test al, al
je 0x403d3a
call fcn.0042f1c0
mov esi, eax
cmp word [esi], bx
jne 0x403a95
push str..pipeSogouPicFaceTaskPipeName
push 0x104
push esi
call fcn.004c6786
add esp, 0xc
push esi
lea ecx, [esp + 0x40]
call fcn.00438c10
push 0x519f30
push 0x5192f4
lea edx, [esp + 0x44]
mov byte [esp + 0x640], 1
call fcn.004392f0
mov eax, dword [esp + 0x2c]
push eax
push 0x51a034
lea edx, [esp + 0x4c]
call fcn.004392f0
push 0x519f30
push 0x5192f4
lea edx, [esp + 0x54]
call fcn.004392f0
push 0xb
push 0x51a034
lea edx, [esp + 0x5c]
call fcn.004392f0
add esp, 0x20
lea eax, [esp + 0x48]
cmp byte [esp + 0x158], bl
jne 0x403b04
mov eax, dword [esp + 0x44]
push ebx
push 0x80
push 3
push ebx
push ebx
push 0xc0000000
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebp, 0xffffffff
jne 0x403b4e
mov dword [esp + 0x3c], vtable.t_str.0
cmp byte [esp + 0x158], bl
jne 0x403d3a
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x48]
cmp eax, ecx
jmp 0x403d2f
push 0x519f34
lea ecx, [esp + 0x168]
call fcn.00438c10
push str.__fromDoubleClk
push 0x5192f4
lea edx, [esp + 0x16c]
call fcn.004392f0
add esp, 8
lea esi, [esp + 0x28c]
call fcn.0042ecb0
mov byte [esp + 0x638], 3
mov dword [esp + 0x294], 0xfffffff4
lea eax, [esp + 0x170]
cmp byte [esp + 0x280], bl
jne 0x403bae
mov eax, dword [esp + 0x16c]
add eax, 4
lea edx, [esp + 0x2a8]
call fcn.00438d30
mov edx, dword [esp + 0x3d0]
mov eax, dword [esp + 0x4f4]
add eax, edx
add eax, dword [esp + 0x2ac]
mov dword [esp + 0x28], 0xb
lea eax, [eax + eax + 0x2c]
mov dword [esp + 0x30], eax
add eax, 0xc
mov dword [esp + 0x38], eax
add eax, 8
push eax
mov dword [esp + 0x30], ebx
mov byte [esp + 0x38], 0x53
mov byte [esp + 0x39], 0x47
mov byte [esp + 0x3a], 0x50
mov byte [esp + 0x3b], 0x54
call fcn.004c9695
mov ecx, dword [esp + 0x3c]
add esp, 4
add ecx, 8
push ecx
mov esi, eax
push ebx
push esi
call fcn.004cd250
add esp, 0xc
mov eax, esi
lea edi, [esp + 0x34]
call fcn.0042e900
test al, al
je 0x403cd3
lea eax, [esi + 8]
lea edi, [esp + 0x28]
call fcn.0042e950
test al, al
je 0x403cd3
mov edx, dword [esp + 0x3d0]
mov eax, dword [esp + 0x4f4]
lea edi, [eax + edx]
add edi, dword [esp + 0x2ac]
lea ecx, [esi + 0x14]
push ecx
lea edx, [esp + 0x290]
lea edi, [edi + edi + 0x2c]
push edx
call fcn.0042e9d0
test al, al
je 0x403cd3
mov ecx, dword [esp + 0x3d0]
mov edx, dword [esp + 0x4f4]
push ebx
add edx, ecx
add edx, dword [esp + 0x2b0]
lea eax, [esp + 0x24]
push eax
lea eax, [edx + edx + 0x40]
push eax
push esi
push ebp
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x28c]
call fcn.0042ed40
lea ecx, [esp + 0x164]
call fcn.00438c80
lea ecx, [esp + 0x3c]
call fcn.00438c80
jmp 0x403d3a
push esi
call fcn.004c968a
add esp, 4
lea ecx, [esp + 0x28c]
call fcn.0042ed40
mov esi, vtable.t_str.0
mov dword [esp + 0x164], esi
cmp byte [esp + 0x280], bl
jne 0x403d18
mov eax, dword [esp + 0x16c]
lea ecx, [esp + 0x170]
cmp eax, ecx
je 0x403d18
push eax
call fcn.004c6103
add esp, 4
mov dword [esp + 0x3c], esi
cmp byte [esp + 0x158], bl
jne 0x403d3a
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x48]
cmp eax, edx
je 0x403d3a
push eax
call fcn.004c6103
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00437e60
mov ecx, dword [esp + 0x630]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x618]
xor ecx, esp
call fcn.004c60f4
add esp, 0x628
ret