Function at 0x414df0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41cb15
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x10174
call fcn.00418d80
push ebx
push esi
push edi
lea edi, [ebp - 0x10184]
mov ecx, 0x405d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0
push 0x10000
lea eax, [ebp - 0x10014]
push eax
lea ecx, [ebp - 0x1002c]
call fcn.004165f0
mov dword [ebp - 0x10170], 0x65ef0
lea eax, [ebp - 0x10170]
push eax
lea ecx, [ebp - 0x1002c]
call fcn.00416f20
call fcn.00409cf7
mov dword [ebp - 0x10044], eax
mov esi, esp
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp esi, esp
call fcn.0041910c
mov dword [ebp - 0x10050], eax
cmp dword [ebp - 0x10050], 0
jne 0x414e9f
mov dword [ebp - 0x10178], 0
jmp 0x414f00
mov esi, esp
mov eax, dword [ebp - 0x10050]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.0041910c
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x10038], ecx
mov eax, dword [ebp - 0x10038]
add eax, 3
and eax, 0xfffffffc
call fcn.00418d80
mov dword [ebp - 0x1017c], esp
mov dword [ebp - 0x10], esp
mov edx, dword [ebp - 0x10044]
push edx
mov eax, dword [ebp - 0x10038]
push eax
mov ecx, dword [ebp - 0x10050]
push ecx
mov edx, dword [ebp - 0x1017c]
push edx
call fcn.00409cfd
mov dword [ebp - 0x10178], eax
mov esi, esp
mov eax, dword [ebp - 0x10178]
push eax
lea ecx, [ebp - 0x10164]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
cmp esi, esp
call fcn.0041910c
mov dword [ebp - 0x10180], eax
mov ecx, dword [ebp - 0x10180]
mov dword [ebp - 0x10184], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10184]
push edx
lea ecx, [ebp - 0x1002c]
call fcn.00417420
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x10164]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp esi, esp
call fcn.0041910c
mov esi, esp
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
cmp esi, esp
call fcn.0041910c
mov dword [ebp - 0x10050], eax
cmp dword [ebp - 0x10050], 0
jne 0x414f8a
mov dword [ebp - 0x10178], 0
jmp 0x414feb
mov esi, esp
mov eax, dword [ebp - 0x10050]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.0041910c
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x10038], ecx
mov eax, dword [ebp - 0x10038]
add eax, 3
and eax, 0xfffffffc
call fcn.00418d80
mov dword [ebp - 0x1017c], esp
mov dword [ebp - 0x10], esp
mov edx, dword [ebp - 0x10044]
push edx
mov eax, dword [ebp - 0x10038]
push eax
mov ecx, dword [ebp - 0x10050]
push ecx
mov edx, dword [ebp - 0x1017c]
push edx
call fcn.00409cfd
mov dword [ebp - 0x10178], eax
mov esi, esp
push 0x41fc68
mov eax, dword [ebp - 0x10178]
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
add esp, 8
cmp esi, esp
call fcn.0041910c
mov dword [ebp - 0x10068], eax
cmp dword [ebp - 0x10068], 0
jne 0x41501c
xor al, al
jmp 0x41507a
mov esi, esp
mov eax, dword [ebp - 0x10068]
push eax
lea ecx, [ebp - 0x1002c]
call fcn.00416970
push eax
push 1
lea ecx, [ebp - 0x10014]
push ecx
call dword [sym.imp.MSVCR71.dll_fwrite]
add esp, 0x10
cmp esi, esp
call fcn.0041910c
mov esi, esp
mov eax, dword [ebp - 0x10068]
push eax
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.0041910c
mov al, 1
jmp 0x41507a
lea esp, [ebp - 0x10190]
push edx
mov ecx, ebp
push eax
lea edx, [0x4150a4]
call fcn.0041912f
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret