Function at 0x1000d8e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x101137f3
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x1013b024]
xor eax, esp
mov dword [esp + 0x45c], eax
push esi
mov eax, dword [0x1013b024]
xor eax, esp
push eax
lea eax, [esp + 0x468]
mov dword fs:[0], eax
mov ecx, 0x101534f4
mov dword [esp + 0xc], 0x101534f0
mov dword [0x101534f0], 0x10120334
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov ecx, 0x10153718
mov dword [esp + 0x470], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov ecx, 0x10153734
mov byte [esp + 0x470], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov ecx, 0x10153750
mov byte [esp + 0x470], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov ecx, 0x1015376c
mov byte [esp + 0x470], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push 0x3fe
lea eax, [esp + 0x6a]
mov byte [esp + 0x474], 4
push 0
push eax
mov byte [0x10153789], 0
mov word [esp + 0x70], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x400
lea ecx, [esp + 0x68]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP80.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 [esp + 0x470], 5
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov ecx, dword [eax]
push ecx
push 0x1011da4c
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_last_of_wchar_t_const___unsigned_int_const]
add eax, 1
push eax
push 0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x474], 6
call dword [sym.imp.MSVCP80.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 ecx, [esp + 0x10]
mov byte [esp + 0x470], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push 0x1011ec98
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP80.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__::append_wchar_t_const__]
cmp dword [esp + 0x44], 8
jb 0x1000da4d
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x1000da51
mov eax, 0x1011daac
jmp 0x1000da57
lea eax, [esp + 0x30]
push eax
call fcn.1000dc60
push eax
mov ecx, 0x101534f4
call dword [0x101193e4]
mov esi, 0x10153734
call fcn.1000dd90
mov esi, 0x10153718
call fcn.1000df20
cmp dword [0x1015350c], 8
mov eax, dword [0x101534f8]
jae 0x1000da8a
mov eax, 0x101534f8
push eax
lea eax, [esp + 0x14]
push eax
call fcn.10001140
add esp, 8
push eax
mov ecx, 0x10153750
mov byte [esp + 0x474], 7
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x10]
mov byte [esp + 0x470], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test byte [0x1015405c], 1
jne 0x1000dae0
or dword [0x1015405c], 1
call fcn.1008d1e0
push 0x10118380
call fcn.1010dd6d
add esp, 4
lea ecx, [esp + 0x48]
mov dword [0x1015378c], 0x10151848
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x474], 8
call fcn.100180c0
cmp dword [esp + 0x60], 8
mov eax, dword [esp + 0x4c]
jae 0x1000db15
lea eax, [esp + 0x4c]
mov ecx, dword [0x1015378c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [0x1015378c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
push 0x208
push 0x10153510
call eax
lea ecx, [esp + 0x10]
push 0x10153510
push ecx
call fcn.10001140
add esp, 8
push eax
mov ecx, 0x1015376c
mov byte [esp + 0x474], 9
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x10]
mov byte [esp + 0x470], 8
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x470], 5
call dword [sym.imp.MSVCP80.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 + 0x2c]
mov byte [esp + 0x470], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, 0x101534f0
mov ecx, dword [esp + 0x468]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x45c]
xor ecx, esp
call fcn.1010dc50
add esp, 0x46c
ret