Function at 0x41f9e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ad08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
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 - 0x28], edi
mov dword [ebp - 0x24], edi
call fcn.00420760
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], edi
mov al, byte [esi + 0x28]
test al, al
jne 0x41fb55
mov eax, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
test eax, eax
je 0x41fa57
test ebx, ebx
je 0x41fa57
lea ecx, [ebp - 0x30]
push ecx
push 0
push ebx
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0x64
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41fa69
test edx, edx
je 0x41fa71
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push 0x64
push 0
push 0
call edx
test eax, eax
je 0x41fb55
push 0x1000
call fcn.00431a3c
add esp, 4
cmp byte [esi + 0x28], 0
mov ebx, eax
jne 0x41fb1b
lea ebx, [ebx]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x41fb3a
mov eax, dword [ecx]
push 0x1000
push ebx
call dword [eax + 0x28]
mov esi, eax
test esi, esi
je 0x41fb3a
mov eax, dword [ebp + 0x14]
add edi, esi
mov dword [ebp - 0x20], edi
test eax, eax
je 0x41fade
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 0x41fb0e
or esi, 0xffffffff
jmp 0x41fb20
cmp dword [ebp + 0x18], 0
je 0x41fb0e
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 - 0x28]
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 0x41fa90
mov esi, 0xfffffffe
push ebx
mov dword [ebp - 0x14], esi
call fcn.00431e88
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x41fb5d
mov esi, dword [ebp - 0x1c]
jmp 0x41fa1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffffffd
add esi, 2
mov dword [ebp - 0x18], 1
jmp 0x41fb20
mov esi, 0xfffffffe
mov dword [ebp - 0x14], esi
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x41fbd4
test edi, edi
je 0x41fbd4
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 - 0x28]
xor edi, edi
mov ecx, dword [edx]
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x28], ecx
cmp ecx, edx
je 0x41fbcc
mov esi, eax
jmp 0x41fb90
mov eax, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x10]
mov dword [ebp + 0x24], eax
test esi, esi
je 0x41fbae
push eax
lea eax, [edi + esi]
push ebx
push eax
call fcn.00434e70
mov eax, dword [ebp + 0x24]
add esp, 0xc
push ebx
add edi, eax
call fcn.00431c63
add esp, 4
lea ecx, [ebp + 0x28]
call fcn.004203d0
mov ecx, dword [ebp + 0x28]
cmp ecx, dword [ebp - 0x28]
jne 0x41fb90
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
call fcn.004202a0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
push ecx
push dword [ecx]
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp - 0x28]
call fcn.00420330
push dword [ebp - 0x28]
call fcn.00431c63
mov ecx, dword [ebp - 0xc]
add esp, 4
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x2c