Function at 0x414800
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c4a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x10174
call fcn.00418770
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.00416000
mov dword [ebp - 0x10170], 0x65ef0
lea eax, [ebp - 0x10170]
push eax
lea ecx, [ebp - 0x1002c]
call fcn.00416930
call fcn.00401eed
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.00418b0c
mov dword [ebp - 0x10050], eax
cmp dword [ebp - 0x10050], 0
jne 0x4148af
mov dword [ebp - 0x10178], 0
jmp 0x414910
mov esi, esp
mov eax, dword [ebp - 0x10050]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.00418b0c
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x10038], ecx
mov eax, dword [ebp - 0x10038]
add eax, 3
and eax, 0xfffffffc
call fcn.00418770
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.00409718
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.00418b0c
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.00416e30
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.00418b0c
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.00418b0c
mov dword [ebp - 0x10050], eax
cmp dword [ebp - 0x10050], 0
jne 0x41499a
mov dword [ebp - 0x10178], 0
jmp 0x4149fb
mov esi, esp
mov eax, dword [ebp - 0x10050]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.00418b0c
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x10038], ecx
mov eax, dword [ebp - 0x10038]
add eax, 3
and eax, 0xfffffffc
call fcn.00418770
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.00409718
mov dword [ebp - 0x10178], eax
mov esi, esp
push 0x41eb90
mov eax, dword [ebp - 0x10178]
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
add esp, 8
cmp esi, esp
call fcn.00418b0c
mov dword [ebp - 0x10068], eax
cmp dword [ebp - 0x10068], 0
jne 0x414a2c
xor al, al
jmp 0x414a8a
mov esi, esp
mov eax, dword [ebp - 0x10068]
push eax
lea ecx, [ebp - 0x1002c]
call fcn.00416380
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.00418b0c
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.00418b0c
mov al, 1
jmp 0x414a8a
lea esp, [ebp - 0x10190]
push edx
mov ecx, ebp
push eax
lea edx, [0x414ab4]
call fcn.00418b2f
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