Function at 0x41a770
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x204c
call fcn.0057ab90
mov eax, dword [0x632a40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x2034], ecx
call fcn.0041a390
test eax, eax
je 0x41aa15
push 0
call fcn.00587a99
add esp, 4
mov dword [ebp - 0x2048], eax
lea eax, [ebp - 0x2048]
mov dword [ebp - 0x2044], edx
push eax
call fcn.00589220
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
push eax
push dword [esi]
mov eax, dword [esi + 0x10]
push dword [esi + 4]
inc eax
push dword [esi + 8]
push dword [esi + 0xc]
push eax
mov eax, dword [esi + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x2008]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.0041aab0
add esp, 0x28
call fcn.0043bb30
test al, al
je 0x41a81f
push ecx
pop esp
push eax
pop ebp
push esi
pop eax
pop esp
push eax
push esi
pop ecx
pop eax
push ebp
pop eax
pop esi
push edx
pop edi
pop ebp
push edx
push eax
pop ebx
pop edx
pop edx
push esi
push esi
pop edx
pop ebp
pop ebx
call fcn.0043b0b0
test al, al
je 0x41a83f
pop esp
push eax
push esi
push esi
push ebp
push esi
pop eax
pop ecx
pop eax
push edi
push edi
pop ebx
push esp
pop esp
push esi
pop ecx
push esi
push esi
push ebx
pop esi
push edx
pop esp
pop eax
call fcn.0043b040
test al, al
je 0x41a85d
push ebp
push ecx
pop esp
push ecx
pop ebp
push ecx
push esp
push ecx
pop esp
pop edi
push edi
pop ebp
push edi
push esp
pop ebx
push ecx
push edi
pop ebx
pop eax
pop ebx
push ebp
mov ebx, dword [ebp - 0x2034]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x41a877
mov byte [ebp - 0x202d], 0
jmp 0x41a8ab
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x200c], 0
push eax
xorps xmm0, xmm0
push 0
push ebx
movups xmmword [ebp - 0x202c], xmm0
movups xmmword [ebp - 0x201c], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
setne byte [ebp - 0x202d]
call fcn.0043b7b0
test al, al
je 0x41a8ca
push eax
pop edx
pop edi
pop edi
push ebp
pop ecx
push ecx
push edi
push esp
push edi
push esi
push ebp
pop esi
pop ecx
pop esp
push esi
pop esp
push ecx
push esp
push eax
pop ecx
pop ecx
call fcn.0043b900
test al, al
je 0x41a8ef
pop ebx
push ecx
pop edx
push ebp
push edx
pop edi
pop edi
pop esp
push ebp
pop esi
pop edx
pop ebp
pop esi
pop edx
push edi
pop ebp
push ebp
push edi
push ebp
pop edx
push ebp
push esi
pop esi
pop esi
pop ebp
push edx
push ebp
pop esp
call fcn.0043b7b0
test al, al
je 0x41a90f
pop esi
push ebp
pop edx
pop edx
push ebp
push edi
pop eax
push ebp
pop edx
pop ecx
pop esp
push esp
pop edi
push esp
pop edx
push ebp
push esi
push edi
push edi
pop ebx
pop ebp
pop ebx
push esp
push 0x625cd8
push dword [ebp - 0x2034]
call fcn.005866a0
mov ebx, eax
add esp, 8
mov dword [ebp - 0x203c], ebx
test ebx, ebx
je 0x41aa15
cmp byte [ebp - 0x202d], 0
jne 0x41a959
push ebx
push 2
lea eax, [ebp - 0x2038]
mov dword [ebp - 0x2038], 0xfeff
push 1
push eax
call fcn.005869fc
add esp, 0x10
call fcn.0043bb30
test al, al
je 0x41a981
push edi
push eax
push esp
pop edx
pop edx
pop edx
pop ebp
push ebp
pop ebp
push edx
pop ecx
push esp
push ebp
push ebp
push esi
pop esi
push ebx
push eax
pop ecx
pop esi
pop edx
push ebx
pop esp
pop esi
pop ebp
push ebp
pop esp
push ecx
pop edx
pop ebp
pop edi
call fcn.0043bac0
test al, al
je 0x41a9ab
push ebx
pop ecx
push edi
pop ebx
push esi
pop ebx
pop ecx
push ecx
pop esi
pop edi
pop ecx
pop edx
push ebx
push esp
pop esi
pop esp
pop edx
push esp
pop ecx
pop edx
push ecx
push edi
push ecx
pop edx
push esi
pop esi
pop ebp
mov ebx, dword [ebp - 0x203c]
lea ecx, [ebp - 0x2008]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a9b4
sub ecx, edx
sar ecx, 1
push ebx
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x2008]
push 1
push eax
call fcn.005869fc
push ebx
push 2
lea eax, [ebp - 0x2034]
mov dword [ebp - 0x2034], 0xd
push 1
push eax
call fcn.005869fc
push ebx
push 2
lea eax, [ebp - 0x2034]
mov dword [ebp - 0x2034], 0xa
push 1
push eax
call fcn.005869fc
push ebx
call fcn.00586744
add esp, 0x34
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00579ec9
mov esp, ebp
pop ebp
ret