Function at 0x408a10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x9c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov ebx, 0xffffffff
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0xffffffff
mov eax, dword [0x4c9f5c]
mov ecx, dword [ebp - 0x24]
mov edx, esp
mov dword [edx], ecx
mov dword [edx + 0x14], 0x80
mov dword [edx + 0x10], 2
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x18], 0
mov dword [edx + 4], 0x40000000
call eax
sub esp, 0x1c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x34], 0x928120cb
mov eax, dword [ebp - 0x34]
mov ecx, eax
sub ecx, 0x673ce6b3
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
jg 0x408c2d
jmp 0x408ab7
mov eax, dword [ebp - 0x38]
sub eax, 0x5e94d829
mov dword [ebp - 0x40], eax
jg 0x408c17
jmp 0x408acd
mov eax, dword [ebp - 0x38]
sub eax, 0x3a9b6bbb
mov dword [ebp - 0x44], eax
jg 0x408c01
jmp 0x408ae3
mov eax, dword [ebp - 0x38]
sub eax, 0x2fe371c7
mov dword [ebp - 0x48], eax
jg 0x408beb
jmp 0x408af9
mov eax, dword [ebp - 0x38]
sub eax, 0x2b567a07
mov dword [ebp - 0x4c], eax
jg 0x408bd5
jmp 0x408b0f
mov eax, dword [ebp - 0x38]
sub eax, 0x78ef222
mov dword [ebp - 0x50], eax
jg 0x408bbf
jmp 0x408b25
mov eax, dword [ebp - 0x38]
sub eax, 0xe7342344
mov dword [ebp - 0x54], eax
jg 0x408ba9
jmp 0x408b3b
mov eax, dword [ebp - 0x38]
sub eax, 0x94d93dcd
mov dword [ebp - 0x58], eax
jg 0x408b67
jmp 0x408b51
mov eax, dword [ebp - 0x38]
sub eax, 0x928120cb
mov dword [ebp - 0x5c], eax
je 0x408c4b
jmp 0x408c46
mov eax, dword [ebp - 0x38]
sub eax, 0x94d93dce
mov dword [ebp - 0x60], eax
je 0x408c76
jmp 0x408b7d
mov eax, dword [ebp - 0x38]
sub eax, 0xc449ccb5
mov dword [ebp - 0x64], eax
je 0x408cbe
jmp 0x408b93
mov eax, dword [ebp - 0x38]
sub eax, 0xc53475e7
mov dword [ebp - 0x68], eax
je 0x408d56
jmp 0x408c46
mov eax, dword [ebp - 0x38]
sub eax, 0xe7342345
mov dword [ebp - 0x6c], eax
je 0x408d73
jmp 0x408c46
mov eax, dword [ebp - 0x38]
sub eax, 0x78ef223
mov dword [ebp - 0x70], eax
je 0x408ca2
jmp 0x408c46
mov eax, dword [ebp - 0x38]
sub eax, 0x2b567a08
mov dword [ebp - 0x74], eax
je 0x408d15
jmp 0x408c46
mov eax, dword [ebp - 0x38]
sub eax, 0x2fe371c8
mov dword [ebp - 0x78], eax
je 0x408d43
jmp 0x408c46
mov eax, dword [ebp - 0x38]
sub eax, 0x3a9b6bbc
mov dword [ebp - 0x7c], eax
je 0x408c6a
jmp 0x408c46
mov eax, dword [ebp - 0x38]
sub eax, 0x5e94d82a
mov dword [ebp - 0x80], eax
je 0x408d09
jmp 0x408c46
mov eax, dword [ebp - 0x38]
sub eax, 0x673ce6b4
mov dword [ebp - 0x84], eax
je 0x408d96
jmp 0x408c46
jmp 0x408da4
mov eax, 0xffffffff
mov ecx, 0x94d93dce
mov edx, 0x3a9b6bbc
mov esi, dword [ebp - 0x10]
cmp esi, eax
cmove ecx, edx
mov dword [ebp - 0x34], ecx
jmp 0x408da4
mov dword [ebp - 0x34], 0xc53475e7
jmp 0x408da4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00404df0
mov dword [ebp - 0x34], 0x78ef223
jmp 0x408da4
mov eax, 0x2fe371c8
mov ecx, 0xc449ccb5
cmp dword [ebp - 0x1c], 0
cmovne eax, ecx
mov dword [ebp - 0x34], eax
jmp 0x408da4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
mov esi, esp
lea edi, [ebp - 0x2c]
mov dword [esi + 0xc], edi
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0x10], 0
mov eax, dword [sym.imp.KERNEL32.dll_WriteFile]
call eax
sub esp, 0x14
mov ecx, 0x2b567a08
mov edx, 0x5e94d82a
mov esi, dword [ebp - 0x2c]
cmp esi, dword [ebp - 0x1c]
cmovne ecx, edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x88], eax
jmp 0x408da4
mov dword [ebp - 0x34], 0xc53475e7
jmp 0x408da4
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
add ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x1d1283ac
sub ecx, eax
add ecx, 0x1d1283ac
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x34], 0x78ef223
jmp 0x408da4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0xc53475e7
jmp 0x408da4
mov eax, 0xffffffff
mov ecx, 0x673ce6b4
mov edx, 0xe7342345
cmp dword [ebp - 0x28], eax
cmovne ecx, edx
mov dword [ebp - 0x34], ecx
jmp 0x408da4
mov eax, dword [0x4c9f90]
mov ecx, dword [ebp - 0x28]
mov edx, esp
mov dword [edx], ecx
call eax
sub esp, 4
mov dword [ebp - 0x34], 0x673ce6b4
mov dword [ebp - 0x8c], eax
jmp 0x408da4
mov eax, dword [ebp - 0x30]
add esp, 0x9c
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x408a9b