Function at 0x403c30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x420], esi
mov ecx, dword [esi + 0x230]
test ecx, ecx
je 0x403f02
mov eax, dword [ecx]
lea edx, [ebp - 0x448]
push edx
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x403f02
nop word [eax + eax]
mov eax, dword [ebp - 0x448]
lea edx, [ebp - 0x444]
push edx
lea edx, [ebp - 0x408]
push edx
mov ecx, dword [eax]
push 0x10
push eax
call dword [ecx + 0x1c]
test eax, eax
jne 0x403ef0
mov eax, dword [ebp - 0x444]
test eax, eax
je 0x403c80
xor ebx, ebx
test eax, eax
je 0x403c80
lea edi, [ebp - 0x3f8]
nop word [eax + eax]
mov ecx, dword [esi + 0x230]
lea eax, [ebp - 0x440]
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 0x403edb
mov dword [ebp - 0x43c], eax
lea edx, [ebp - 0x434]
mov eax, dword [ebp - 0x440]
xor esi, esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
jne 0x403ec9
mov eax, dword [ebp - 0x434]
lea edx, [ebp - 0x43c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
jne 0x403dbc
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 0x403dbc
mov eax, dword [ebp - 0x430]
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp - 0x420]
add eax, 0x23c
push ecx
mov ecx, eax
mov dword [ebp - 0x438], eax
call fcn.00404a80
mov esi, dword [eax]
mov dword [ebp - 0x42c], esi
test esi, esi
jne 0x403db0
mov eax, dword [ebp - 0x428]
lea ecx, [ebp - 0x42c]
push ecx
push 0x423624
push eax
mov edx, dword [eax]
call dword [edx + 0x38]
mov ecx, dword [ebp - 0x438]
lea eax, [ebp - 0x428]
push eax
call fcn.00404a80
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 0x403ec9
mov ecx, dword [ebp - 0x43c]
test ecx, ecx
je 0x403ec9
mov eax, dword [esi]
lea edx, [ebp - 0x458]
push edx
lea edx, [ebp - 0x45c]
push edx
lea edx, [ebp - 0x424]
push edx
push 0xff
lea edx, [ebp - 0x208]
push edx
push ecx
push esi
call dword [eax + 0x30]
mov esi, dword [ebp - 0x420]
test eax, eax
jne 0x403ecf
mov eax, dword [edi - 0x10]
mov ecx, dword [edi - 0xc]
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 [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x41c]
push eax
push 4
lea eax, [ebp - 0x454]
push eax
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x41c]
push eax
push 0x10
push edi
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x424]
add eax, eax
push 0
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x41c]
push eax
push 4
lea eax, [ebp - 0x424]
push eax
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x403ecf
push 0
lea ecx, [ebp - 0x41c]
push ecx
push eax
lea eax, [ebp - 0x208]
push eax
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x403ecf
mov esi, dword [ebp - 0x420]
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
inc ebx
add edi, 0x20
cmp ebx, dword [ebp - 0x444]
jb 0x403cc0
jmp 0x403c80
mov eax, dword [ebp - 0x448]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x438], 0
push eax
push 8
lea eax, [ebp - 0x450]
mov dword [ebp - 0x424], 0
xorps xmm0, xmm0
push eax
push dword [esi + 0x18]
movlpd qword [ebp - 0x450], xmm0
movlpd qword [ebp - 0x418], xmm0
movlpd qword [ebp - 0x410], xmm0
call ebx
push 0
lea eax, [ebp - 0x41c]
push eax
push 4
lea eax, [ebp - 0x438]
push eax
push dword [esi + 0x18]
call ebx
push 0
lea eax, [ebp - 0x41c]
push eax
push 0x10
lea eax, [ebp - 0x418]
push eax
push dword [esi + 0x18]
call ebx
push 0
lea eax, [ebp - 0x41c]
push eax
push 4
lea eax, [ebp - 0x424]
push eax
push dword [esi + 0x18]
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004050db
mov esp, ebp
pop ebp
ret