Function at 0x403d80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x425004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov ecx, dword [ebx + 0x230]
test ecx, ecx
je 0x403fcf
mov eax, dword [ecx]
lea edx, [ebp - 0x43c]
push edx
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x403fcf
mov eax, dword [ebp - 0x43c]
lea edx, [ebp - 0x424]
push edx
lea edx, [ebp - 0x408]
push edx
mov ecx, dword [eax]
push 0x10
push eax
call dword [ecx + 0x1c]
test eax, eax
jne 0x403fbd
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x403dc1
xor esi, esi
mov dword [ebp - 0x438], esi
test eax, eax
je 0x403dc1
lea edi, [ebp - 0x3f8]
mov ecx, dword [ebx + 0x230]
lea eax, [ebp - 0x434]
movups xmm0, xmmword [edi]
push eax
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
push ecx
movups xmmword [eax], xmm0
call dword [edx + 0x28]
test eax, eax
jne 0x403fa2
mov dword [ebp - 0x430], eax
lea edx, [ebp - 0x42c]
mov eax, dword [ebp - 0x434]
xor esi, esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
jne 0x403f90
mov eax, dword [ebp - 0x42c]
lea edx, [ebp - 0x430]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
jne 0x403e99
mov eax, dword [ebp - 0x42c]
lea edx, [ebp - 0x428]
mov dword [ebp - 0x428], esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
jne 0x403e99
push dword [ebp - 0x428]
mov ecx, ebx
call fcn.00402380
mov esi, eax
mov eax, dword [ebp - 0x428]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x42c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
je 0x403f90
mov ecx, dword [ebp - 0x430]
test ecx, ecx
je 0x403f90
mov eax, dword [esi]
lea edx, [ebp - 0x450]
push edx
lea edx, [ebp - 0x454]
push edx
lea edx, [ebp - 0x420]
push edx
push 0xff
lea edx, [ebp - 0x208]
push edx
push ecx
push esi
call dword [eax + 0x30]
test eax, eax
jne 0x403f90
mov eax, dword [edi - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x448], eax
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x444], eax
mov eax, dword [edi - 8]
push 0
mov dword [ebp - 0x44c], eax
lea eax, [ebp - 0x41c]
push eax
push 8
lea eax, [ebp - 0x448]
push eax
push dword [ebx + 0x18]
call esi
push 0
lea eax, [ebp - 0x41c]
push eax
push 4
lea eax, [ebp - 0x44c]
push eax
push dword [ebx + 0x18]
call esi
push 0
lea eax, [ebp - 0x41c]
push eax
push 0x10
push edi
push dword [ebx + 0x18]
call esi
mov eax, dword [ebp - 0x420]
add eax, eax
push 0
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x41c]
push eax
push 4
lea eax, [ebp - 0x420]
push eax
push dword [ebx + 0x18]
call esi
mov eax, dword [ebp - 0x420]
test eax, eax
je 0x403f90
push 0
lea ecx, [ebp - 0x41c]
push ecx
push eax
lea eax, [ebp - 0x208]
push eax
push dword [ebx + 0x18]
call esi
mov eax, dword [ebp - 0x434]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [ebp - 0x438]
inc esi
add edi, 0x20
mov dword [ebp - 0x438], esi
cmp esi, dword [ebp - 0x424]
jb 0x403e01
jmp 0x403dc1
mov eax, dword [ebp - 0x43c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x424], 0
push eax
push 8
lea eax, [ebp - 0x448]
mov dword [ebp - 0x420], 0
xorps xmm0, xmm0
push eax
push dword [ebx + 0x18]
movlpd qword [ebp - 0x448], xmm0
movlpd qword [ebp - 0x418], xmm0
movlpd qword [ebp - 0x410], xmm0
call esi
push 0
lea eax, [ebp - 0x41c]
push eax
push 4
lea eax, [ebp - 0x424]
push eax
push dword [ebx + 0x18]
call esi
push 0
lea eax, [ebp - 0x41c]
push eax
push 0x10
lea eax, [ebp - 0x418]
push eax
push dword [ebx + 0x18]
call esi
push 0
lea eax, [ebp - 0x41c]
push eax
push 4
lea eax, [ebp - 0x420]
push eax
push dword [ebx + 0x18]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405531
mov esp, ebp
pop ebp
ret