Function at 0x40d010
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x416d59
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x41d01c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x138], ecx
lea ecx, [ebp - 0x4c]
call fcn.00411470
mov dword [ebp - 4], 0
push 0x418ba0
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x138]
mov dword [eax + 0xb8], fcn.00402400
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.004114a0
mov edx, dword [ebp - 0x138]
mov ecx, dword [edx + 0xb8]
mov dword [eax], ecx
push str.TEMPPATH
lea edx, [ebp - 0x1c]
push edx
call fcn.0040ce70
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00411150
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x50]
call fcn.00411440
mov byte [ebp - 0x104], 0x23
mov byte [ebp - 0x103], 0x32
mov byte [ebp - 0x102], 0x6f
mov byte [ebp - 0x101], 0x24
mov byte [ebp - 0x100], 0x39
mov byte [ebp - 0xff], 0x24
mov byte [ebp - 0x110], 0x34
mov byte [ebp - 0x10f], 0x4f
mov byte [ebp - 0x10e], 0x32
mov byte [ebp - 0x10d], 0x4b
mov byte [ebp - 0x10c], 0x5a
mov byte [ebp - 0x10b], 0x46
mov byte [ebp - 0x10a], 0x4a
mov byte [ebp - 0x54], 0x43
mov byte [ebp - 0x53], 0x49
mov byte [ebp - 0x52], 0x5f
push 6
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x104]
push edx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, dword [ebp - 0x138]
call fcn.004045e0
mov dword [ebp - 0x13c], eax
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x140], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x140]
call dword [sym.imp.MSVCP90.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]
push eax
lea ecx, [ebp - 0x50]
call fcn.00411410
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x12c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push 1
push 0x40
push 0x20
lea ecx, [ebp - 0x50]
call fcn.00401930
push eax
lea ecx, [ebp - 0xfc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ofstream_char__struct_std::char_traits_char__::constructor_wchar_t_const___int__int_]
mov byte [ebp - 4], 5
mov eax, dword [0x41d528]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
lea ecx, [ebp - 0xfc]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___int_]
lea ecx, [ebp - 0xfc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ofstream_char__struct_std::char_traits_char__::close_void_]
push 0x10
push 0
lea edx, [ebp - 0x2c]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov byte [ebp - 0x18], 0x39
mov byte [ebp - 0x17], 0x39
mov byte [ebp - 0x16], 0x5a
mov byte [ebp - 0x15], 0x4d
mov byte [ebp - 0x14], 0x42
mov byte [ebp - 0x74], 0x4b
mov byte [ebp - 0x73], 0x4d
mov byte [ebp - 0x72], 0x35
mov byte [ebp - 0x108], 0x50
mov byte [ebp - 0x107], 0x51
mov byte [ebp - 0x106], 0x41
mov byte [ebp - 0x105], 0x33
lea eax, [ebp - 0x2c]
push eax
push 1
lea ecx, [ebp - 0x108]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x130], esp
lea edx, [ebp - 0x50]
push edx
call fcn.00411170
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x138]
call fcn.0040cf40
mov byte [ebp - 0x145], al
movzx edx, byte [ebp - 0x145]
test edx, edx
je 0x40d2aa
mov byte [ebp - 0x131], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xfc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ofstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00411210
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00411210
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004031c0
mov al, byte [ebp - 0x131]
jmp 0x40d2fb
mov byte [ebp - 0x132], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xfc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ofstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00411210
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00411210
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004031c0
mov al, byte [ebp - 0x132]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004156da
mov esp, ebp
pop ebp
ret 0x14