Function at 0x41fc40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44acc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
call fcn.00420760
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], edi
mov al, byte [esi + 0x28]
test al, al
jne 0x41fdbb
mov eax, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
test eax, eax
je 0x41fcb7
test ebx, ebx
je 0x41fcb7
lea ecx, [ebp - 0x34]
push ecx
push 0
push ebx
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x64
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41fcc9
test edx, edx
je 0x41fcd1
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push 0x64
push 0
push 0
call edx
test eax, eax
je 0x41fdbb
push 0x1000
call fcn.00431a3c
add esp, 4
cmp byte [esi + 0x28], 0
mov ebx, eax
mov dword [ebp - 0x24], ebx
jne 0x41fd7f
lea ecx, [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x41fd9d
mov eax, dword [ecx]
push 0x1000
push ebx
call dword [eax + 0x28]
mov esi, eax
test esi, esi
je 0x41fd9d
mov eax, dword [ebp + 0x14]
add edi, esi
mov dword [ebp - 0x20], edi
test eax, eax
je 0x41fd42
push 0
lea ecx, [ebp - 0x14]
push ecx
push esi
push ebx
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41fd72
mov dword [ebp - 0x14], 0xffffffff
jmp 0x41fd86
cmp dword [ebp + 0x18], 0
je 0x41fd72
push esi
call fcn.00431a3c
add esp, 4
mov edi, eax
push esi
push ebx
push edi
call fcn.00434e70
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], edi
call fcn.00420210
mov edi, dword [ebp - 0x20]
mov dword [eax], esi
mov esi, dword [ebp - 0x1c]
cmp byte [esi + 0x28], 0
je 0x41fcf0
mov dword [ebp - 0x14], 0xfffffffe
push ebx
call fcn.00431e88
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x41fdc2
mov esi, dword [ebp - 0x1c]
jmp 0x41fc7d
mov ebx, 2
test edi, edi
mov eax, 0xffffffff
cmove ebx, eax
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x18], 1
jmp 0x41fd86
mov dword [ebp - 0x14], 0xfffffffe
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x41fe2d
test edi, edi
je 0x41fe2d
mov eax, dword [ebx]
push edi
push ebx
call dword [eax + 0x14]
mov eax, dword [ebx]
push ebx
call dword [eax + 0xc]
mov edx, dword [ebp - 0x2c]
xor esi, esi
mov ecx, dword [edx]
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x28], ecx
cmp ecx, edx
je 0x41fe25
jmp 0x41fdf0
mov edi, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x14]
test eax, eax
je 0x41fe07
push ebx
add eax, esi
push edi
push eax
call fcn.00434e70
add esp, 0xc
push edi
add esi, ebx
call fcn.00431c63
add esp, 4
lea ecx, [ebp + 0x28]
call fcn.004203d0
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
cmp ecx, dword [ebp - 0x2c]
jne 0x41fdf0
lea ecx, [ebp - 0x2c]
call fcn.004202a0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
push ecx
push dword [ecx]
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00420330
push dword [ebp - 0x2c]
call fcn.00431c63
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c