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

Disassembly:
push 0xffffffffffffffff
push 0x10140133
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x45c], eax
push esi
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0x468]
mov dword fs:[0], eax
mov ecx, 0x10188c54
mov dword [esp + 0xc], 0x10188c50
mov dword [0x10188c50], 0x1014e7b4
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, 0x10188e78
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, 0x10188e94
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, 0x10188eb0
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, 0x10188ecc
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 [0x10188ee9], 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 0x1014bdb4
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 0x1014d088
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 0x1000d7bd
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x1000d7c1
mov eax, 0x1014be14
jmp 0x1000d7c7
lea eax, [esp + 0x30]
push eax
call fcn.1000d9d0
push eax
mov ecx, 0x10188c54
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, 0x10188e94
call fcn.1000db00
mov esi, 0x10188e78
call fcn.1000dc90
cmp dword [0x10188c6c], 8
mov eax, dword [0x10188c58]
jae 0x1000d7fa
mov eax, 0x10188c58
push eax
lea eax, [esp + 0x14]
push eax
call fcn.10001190
add esp, 8
push eax
mov ecx, 0x10188eb0
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 [0x1018999c], 1
jne 0x1000d850
or dword [0x1018999c], 1
call fcn.10090ff0
push 0x10145d20
call fcn.1012d48d
add esp, 4
lea ecx, [esp + 0x48]
mov dword [0x10188eec], 0x10186fa8
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.10018540
cmp dword [esp + 0x60], 8
mov eax, dword [esp + 0x4c]
jae 0x1000d885
lea eax, [esp + 0x4c]
mov ecx, dword [0x10188eec]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [0x10188eec]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
push 0x208
push 0x10188c70
call eax
lea ecx, [esp + 0x10]
push 0x10188c70
push ecx
call fcn.10001190
add esp, 8
push eax
mov ecx, 0x10188ecc
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, 0x10188c50
mov ecx, dword [esp + 0x468]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x45c]
xor ecx, esp
call fcn.1012d370
add esp, 0x46c
ret