Function at 0x4084f0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x448439
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov eax, dword [0x468a18]
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x60]
mov dword [esp + 0xc8], eax
mov dword [esp + 0x1c], 0
call fcn.0042a220
lea ecx, [esp + 0x84]
mov dword [esp + 0xd4], 1
call fcn.0042a220
push 0x208
mov byte [esp + 0xd8], 2
call sub.MFC71U.DLL_SerializeElements
mov ebx, dword [esp + 0xe4]
add esp, 4
test ebx, ebx
mov esi, eax
je 0x4085bc
push 0x10
call sub.MFC71U.DLL_SerializeElements
push 0x800
mov edi, eax
call sub.MFC71U.DLL_SerializeElements
push 0x208
mov ebp, eax
call sub.MFC71U.DLL_SerializeElements
push eax
push esi
push ebp
push edi
push ebx
call dword [sym.imp.MSVCR71.dll__wsplitpath]
push str.temp
call dword [sym.imp.MSVCR71.dll_getenv]
add esp, 0x24
push eax
lea ecx, [esp + 0x88]
call fcn.0042a420
push 0x44fc18
lea ecx, [esp + 0x90]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push esi
call sub.MFC71U.DLL_operator_new
add esp, 4
push str.hstmp_for_enc_dec_file_
lea ecx, [esp + 0x90]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0
call dword [sym.imp.MSVCR71.dll__time64]
push 0x10
lea ecx, [esp + 0xb0]
push ecx
push edx
push eax
call dword [sym.imp.MSVCR71.dll__i64tow]
add esp, 0x14
lea edx, [esp + 0xa8]
push edx
lea ecx, [esp + 0x90]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x5f
lea ecx, [esp + 0x90]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_]
mov esi, dword [sym.imp.MSVCR71.dll__itow]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov bl, 3
mov edi, 8
jmp 0x408630
mov eax, dword [0x468a34]
push 0xa
lea ecx, [esp + 0xac]
inc eax
push ecx
push eax
mov dword [0x468a34], eax
call esi
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.00401280
add esp, 0x18
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], bl
call fcn.0042a1c0
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd8], 4
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x68]
call fcn.00411910
lea ecx, [esp + 0x20]
mov byte [esp + 0xd4], 5
call fcn.00428820
lea ecx, [esp + 0x28]
mov byte [esp + 0xd4], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0xd4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push str..tmp
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [esp + 0x80], edi
mov eax, dword [esp + 0x6c]
jae 0x4086ef
lea eax, [esp + 0x6c]
push 0
push 0
push 1
push 0
push 0
push 0xc0000000
push eax
call ebp
test eax, eax
je 0x408630
cmp eax, 0xffffffff
je 0x408630
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0xdc]
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
call fcn.0042a160
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x84]
mov byte [esp + 0xd4], 6
call fcn.00428820
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x60]
mov dword [esp + 0xd4], 7
call fcn.00428820
lea ecx, [esp + 0x68]
mov byte [esp + 0xd4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0xcc]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xbc]
pop ebx
call fcn.0043cfa9
add esp, 0xc8
ret 8