Function at 0x417ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov ecx, dword [ebp + 0x14]
mov eax, dword [0x481340]
xor eax, ebp
and ecx, dword [ebp + 0x18]
cmp ecx, 0xffffffff
mov ecx, 0xf8e22839
mov edx, 0xa20ac8ef
cmove edx, ecx
mov dword [esi + 0x38], edx
mov dword [esi + 0x40], eax
mov eax, 0x9983ddb1
jmp 0x417b10
mov eax, dword [esi + 0x10]
push 0
push dword [esi + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 0xc494ed90
nop word cs:[eax + eax]
cmp eax, 0xcf6a59fd
jle 0x417b60
cmp eax, 0x248fc9ed
jg 0x417b90
cmp eax, 0xf8e22838
jg 0x417c07
cmp eax, 0xcf6a59fe
je 0x417c7c
cmp eax, 0xde21a4b4
jne 0x417b10
mov ebx, dword [esi + 0x28]
mov edi, dword [esi + 0x2c]
mov eax, dword [esi + 0x1c]
mov dword [eax], 1
mov eax, 0xb611cf5a
jmp 0x417b10
cmp eax, 0xa20ac8ee
jle 0x417bd0
cmp eax, 0xbeba59d8
jg 0x417c30
cmp eax, 0xa20ac8ef
je 0x417c86
cmp eax, 0xb611cf5a
jne 0x417b10
mov eax, dword [esi + 0x14]
mov eax, 0x7f1ca52d
jmp 0x417b10
cmp eax, 0x5b0074bc
jle 0x417c5f
cmp eax, 0x5b0074bd
je 0x417cce
cmp eax, 0x7f1ca52d
jne 0x417b10
mov eax, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], edi
mov eax, 0x29326fa5
jmp 0x417b10
cmp eax, 0x9983ddb1
je 0x417cd8
cmp eax, 0x99cd353f
je 0x417d3f
cmp eax, 0xa0baef71
jne 0x417b10
cmp byte [esi + 7], 0
mov eax, 0x99cd353f
mov ecx, 0xcf6a59fe
cmovne eax, ecx
jmp 0x417b10
cmp eax, 0xf8e22839
je 0x417ae8
cmp eax, 0x1ba00aea
jne 0x417b10
mov eax, dword [esi + 0x1c]
mov dword [eax], 1
mov eax, 0x5b0074bd
jmp 0x417b10
cmp eax, 0xbeba59d9
je 0x417d4d
cmp eax, 0xc494ed90
jne 0x417b10
mov eax, dword [esi + 8]
mov eax, dword [eax]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0
mov eax, 0xde21a4b4
jmp 0x417b10
cmp eax, 0x248fc9ee
jne 0x417d63
cmp dword [esi + 0x3c], 0
setne byte [esi + 7]
mov eax, 0xa0baef71
jmp 0x417b10
mov eax, 0xf8e22839
jmp 0x417b10
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x18]
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
mov eax, dword [esi + 0x10]
mov eax, dword [eax]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
sub esp, 0x14
movsd xmm0, qword [edx]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov dword [esi + 0x3c], eax
mov eax, 0x248fc9ee
jmp 0x417b10
mov eax, 0xb611cf5a
jmp 0x417b10
push eax
mov eax, esp
mov dword [esi + 0x10], eax
push eax
mov eax, esp
mov dword [esi + 8], eax
sub esp, 8
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov dword [esi + 0xc], eax
push eax
push eax
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov dword [esi + 0x14], eax
push eax
push eax
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov dword [esi + 0x18], eax
push eax
mov eax, esp
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [esi + 8]
mov eax, dword [esi + 8]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x20], eax
mov eax, 0xbeba59d9
jmp 0x417b10
xor ebx, ebx
mov eax, 0x1ba00aea
xor edi, edi
jmp 0x417b10
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0x38]
jmp 0x417b10
cmp eax, 0x29326fa5
jne 0x417b10
mov edi, dword [esi + 0x30]
mov ebx, dword [esi + 0x34]
mov ecx, dword [esi + 0x40]
xor ecx, ebp
call fcn.00446e61
mov eax, edi
mov edx, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret