Function at 0x408a20
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 [0x4cbf7c]
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], 0xdc389cb0
mov eax, dword [ebp - 0x34]
mov ecx, eax
sub ecx, 0xb6362eff
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
jg 0x408add
jmp 0x408ac7
mov eax, dword [ebp - 0x38]
sub eax, 0xb288572a
mov dword [ebp - 0x40], eax
je 0x408cb2
jmp 0x408c56
mov eax, dword [ebp - 0x38]
sub eax, 0xbf3ab74d
mov dword [ebp - 0x44], eax
jg 0x408b09
jmp 0x408af3
mov eax, dword [ebp - 0x38]
sub eax, 0xb6362f00
mov dword [ebp - 0x48], eax
je 0x408da6
jmp 0x408c56
mov eax, dword [ebp - 0x38]
sub eax, 0xd1451303
mov dword [ebp - 0x4c], eax
jg 0x408b35
jmp 0x408b1f
mov eax, dword [ebp - 0x38]
sub eax, 0xbf3ab74e
mov dword [ebp - 0x50], eax
je 0x408d53
jmp 0x408c56
mov eax, dword [ebp - 0x38]
sub eax, 0xdc389caf
mov dword [ebp - 0x54], eax
jg 0x408b61
jmp 0x408b4b
mov eax, dword [ebp - 0x38]
sub eax, 0xd1451304
mov dword [ebp - 0x58], eax
je 0x408d19
jmp 0x408c56
mov eax, dword [ebp - 0x38]
sub eax, 0xe65c3ed6
mov dword [ebp - 0x5c], eax
jg 0x408b8d
jmp 0x408b77
mov eax, dword [ebp - 0x38]
sub eax, 0xdc389cb0
mov dword [ebp - 0x60], eax
je 0x408c5b
jmp 0x408c56
mov eax, dword [ebp - 0x38]
sub eax, 0x1bbf237
mov dword [ebp - 0x64], eax
jg 0x408bb9
jmp 0x408ba3
mov eax, dword [ebp - 0x38]
sub eax, 0xe65c3ed7
mov dword [ebp - 0x68], eax
je 0x408cce
jmp 0x408c56
mov eax, dword [ebp - 0x38]
sub eax, 0x5daefb45
mov dword [ebp - 0x6c], eax
jg 0x408be5
jmp 0x408bcf
mov eax, dword [ebp - 0x38]
sub eax, 0x1bbf238
mov dword [ebp - 0x70], eax
je 0x408c86
jmp 0x408c56
mov eax, dword [ebp - 0x38]
sub eax, 0x75931dca
mov dword [ebp - 0x74], eax
jg 0x408c3d
jmp 0x408bfb
mov eax, dword [ebp - 0x38]
sub eax, 0x5daefb46
mov dword [ebp - 0x78], eax
je 0x408c7a
jmp 0x408c11
mov eax, dword [ebp - 0x38]
sub eax, 0x5f7fc103
mov dword [ebp - 0x7c], eax
je 0x408d25
jmp 0x408c27
mov eax, dword [ebp - 0x38]
sub eax, 0x73b98d3c
mov dword [ebp - 0x80], eax
je 0x408d83
jmp 0x408c56
mov eax, dword [ebp - 0x38]
sub eax, 0x75931dcb
mov dword [ebp - 0x84], eax
je 0x408d66
jmp 0x408c56
jmp 0x408db4
mov eax, 0xffffffff
mov ecx, 0x1bbf238
mov edx, 0x5daefb46
mov esi, dword [ebp - 0x10]
cmp esi, eax
cmove ecx, edx
mov dword [ebp - 0x34], ecx
jmp 0x408db4
mov dword [ebp - 0x34], 0x75931dcb
jmp 0x408db4
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.00404e00
mov dword [ebp - 0x34], 0xb288572a
jmp 0x408db4
mov eax, 0xbf3ab74e
mov ecx, 0xe65c3ed7
cmp dword [ebp - 0x1c], 0
cmovne eax, ecx
mov dword [ebp - 0x34], eax
jmp 0x408db4
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, 0x5f7fc103
mov edx, 0xd1451304
mov esi, dword [ebp - 0x2c]
cmp esi, dword [ebp - 0x1c]
cmovne ecx, edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x88], eax
jmp 0x408db4
mov dword [ebp - 0x34], 0x75931dcb
jmp 0x408db4
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]
add ecx, 0x40b3b5b5
sub ecx, eax
sub ecx, 0x40b3b5b5
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x34], 0xb288572a
jmp 0x408db4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0x75931dcb
jmp 0x408db4
mov eax, 0xffffffff
mov ecx, 0xb6362f00
mov edx, 0x73b98d3c
cmp dword [ebp - 0x28], eax
cmovne ecx, edx
mov dword [ebp - 0x34], ecx
jmp 0x408db4
mov eax, dword [0x4cbfb0]
mov ecx, dword [ebp - 0x28]
mov edx, esp
mov dword [edx], ecx
call eax
sub esp, 4
mov dword [ebp - 0x34], 0xb6362f00
mov dword [ebp - 0x8c], eax
jmp 0x408db4
mov eax, dword [ebp - 0x30]
add esp, 0x9c
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x408aab