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

Disassembly:
push 0xffffffffffffffff
push 0x10146173
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x10177024]
xor eax, esp
mov dword [esp + 0x45c], eax
push esi
mov eax, dword [0x10177024]
xor eax, esp
push eax
lea eax, [esp + 0x468]
mov dword fs:[0], eax
mov ecx, 0x101c1c84
mov dword [esp + 0xc], 0x101c1c80
mov dword [0x101c1c80], 0x10154ae4
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, 0x101c1ea8
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, 0x101c1ec4
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, 0x101c1ee0
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, 0x101c1efc
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 [0x101c1f19], 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 0x101520e4
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 0x101533b8
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 0x1000d60d
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x1000d611
mov eax, 0x10152144
jmp 0x1000d617
lea eax, [esp + 0x30]
push eax
call fcn.1000d820
push eax
mov ecx, 0x101c1c84
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_wchar_t_const__]
mov esi, 0x101c1ec4
call fcn.1000d950
mov esi, 0x101c1ea8
call fcn.1000dae0
cmp dword [0x101c1c9c], 8
mov eax, dword [0x101c1c88]
jae 0x1000d64a
mov eax, 0x101c1c88
push eax
lea eax, [esp + 0x14]
push eax
call fcn.10001180
add esp, 8
push eax
mov ecx, 0x101c1ee0
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 [0x101c29b4], 1
jne 0x1000d6a0
or dword [0x101c29b4], 1
call fcn.10091350
push 0x1014bd10
call fcn.10130f6d
add esp, 4
lea ecx, [esp + 0x48]
mov dword [0x101c1f1c], 0x101bffd8
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.10018470
cmp dword [esp + 0x60], 8
mov eax, dword [esp + 0x4c]
jae 0x1000d6d5
lea eax, [esp + 0x4c]
mov ecx, dword [0x101c1f1c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [0x101c1f1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
push 0x208
push 0x101c1ca0
call eax
lea ecx, [esp + 0x10]
push 0x101c1ca0
push ecx
call fcn.10001180
add esp, 8
push eax
mov ecx, 0x101c1efc
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, 0x101c1c80
mov ecx, dword [esp + 0x468]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x45c]
xor ecx, esp
call fcn.10130e50
add esp, 0x46c
ret