Function at 0x403c30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x426004]
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 0x403ed6
mov eax, dword [ecx]
lea edx, [ebp - 0x444]
push edx
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x403ed6
mov eax, dword [ebp - 0x444]
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 0x403ec4
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x403c71
xor esi, esi
mov dword [ebp - 0x440], esi
test eax, eax
je 0x403c71
lea edi, [ebp - 0x3f8]
mov ecx, dword [ebx + 0x230]
lea eax, [ebp - 0x43c]
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 0x403ea9
mov dword [ebp - 0x438], eax
lea edx, [ebp - 0x434]
mov eax, dword [ebp - 0x43c]
xor esi, esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
jne 0x403e97
mov eax, dword [ebp - 0x434]
lea edx, [ebp - 0x438]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
jne 0x403da0
mov eax, dword [ebp - 0x434]
lea edx, [ebp - 0x430]
mov dword [ebp - 0x430], esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
jne 0x403da0
mov eax, dword [ebp - 0x430]
lea ecx, [ebp - 0x428]
push ecx
lea ecx, [ebx + 0x23c]
mov dword [ebp - 0x428], eax
call fcn.00404a60
mov esi, dword [eax]
mov dword [ebp - 0x42c], esi
test esi, esi
jne 0x403d94
mov eax, dword [ebp - 0x428]
lea ecx, [ebp - 0x42c]
push ecx
push 0x423c64
push eax
mov edx, dword [eax]
call dword [edx + 0x38]
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebx + 0x23c]
call fcn.00404a60
mov ecx, dword [ebp - 0x42c]
mov dword [eax], ecx
mov esi, dword [ebp - 0x42c]
mov eax, dword [ebp - 0x430]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x434]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
je 0x403e97
mov ecx, dword [ebp - 0x438]
test ecx, ecx
je 0x403e97
mov eax, dword [esi]
lea edx, [ebp - 0x458]
push edx
lea edx, [ebp - 0x45c]
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 0x403e97
mov eax, dword [edi - 0x10]
mov ecx, dword [edi - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x450], eax
mov eax, dword [edi - 8]
push 0
mov dword [ebp - 0x454], eax
lea eax, [ebp - 0x41c]
push eax
push 8
lea eax, [ebp - 0x450]
mov dword [ebp - 0x44c], ecx
push eax
push dword [ebx + 0x18]
call esi
push 0
lea eax, [ebp - 0x41c]
push eax
push 4
lea eax, [ebp - 0x454]
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 0x403e97
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 - 0x43c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [ebp - 0x440]
inc esi
add edi, 0x20
mov dword [ebp - 0x440], esi
cmp esi, dword [ebp - 0x424]
jb 0x403cb1
jmp 0x403c71
mov eax, dword [ebp - 0x444]
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 - 0x450]
mov dword [ebp - 0x420], 0
xorps xmm0, xmm0
push eax
push dword [ebx + 0x18]
movlpd qword [ebp - 0x450], 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.004050db
mov esp, ebp
pop ebp
ret