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

Disassembly:
push 0xffffffffffffffff
push 0x10042170
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1005e3c8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea edi, [esi + 0xc]
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ebp, [esi + 0x28]
mov ecx, ebp
mov dword [esp + 0x20], 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_]
lea ebx, [esi + 0x44]
mov ecx, ebx
mov byte [esp + 0x20], 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_]
lea ecx, [esi + 0x60]
mov byte [esp + 0x20], 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_]
lea ecx, [esi + 0x7c]
mov byte [esp + 0x20], 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_]
lea ecx, [esi + 0x98]
mov byte [esp + 0x20], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0xb4]
mov byte [esp + 0x20], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0xd0]
mov byte [esp + 0x20], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0xec]
mov byte [esp + 0x20], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x108]
mov byte [esp + 0x20], 8
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x124]
mov byte [esp + 0x20], 9
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x140]
mov byte [esp + 0x20], 0xa
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 eax, dword [esp + 0x2c]
push 0x10046637
mov ecx, edi
mov byte [esp + 0x24], 0xb
mov dword [esi + 4], eax
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_char_const__]
push 0x10046637
mov ecx, ebp
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_char_const__]
push 0x10046637
mov ecx, ebx
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_char_const__]
push 0x10046637
lea ecx, [esi + 0x60]
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_char_const__]
push 0x10046637
lea ecx, [esi + 0x7c]
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_char_const__]
push 0x10046637
lea ecx, [esi + 0x98]
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_char_const__]
push 0x10046637
lea ecx, [esi + 0xb4]
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_char_const__]
push 0x10046637
lea ecx, [esi + 0xd0]
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_char_const__]
push 0x10046637
lea ecx, [esi + 0xec]
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_char_const__]
push 0x10046637
lea ecx, [esi + 0x108]
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_char_const__]
push 0x10046637
lea ecx, [esi + 0x124]
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_char_const__]
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + 4]
push ecx
push 0x10046637
push edx
call fcn.10018fd0
push 4
mov dword [esi], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x10
test eax, eax
je 0x10001958
mov dword [eax], esi
jmp 0x1000195a
xor eax, eax
push 4
mov dword [esi + 0x15c], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x10001972
mov dword [eax], esi
jmp 0x10001974
xor eax, eax
push 4
mov dword [esi + 0x160], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x1000198c
mov dword [eax], esi
jmp 0x1000198e
xor eax, eax
push 4
mov dword [esi + 0x164], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x100019a6
mov dword [eax], esi
jmp 0x100019a8
xor eax, eax
push 4
mov dword [esi + 0x168], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x100019c0
mov dword [eax], esi
jmp 0x100019c2
xor eax, eax
push 4
mov dword [esi + 0x16c], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x100019da
mov dword [eax], esi
jmp 0x100019dc
xor eax, eax
push 4
mov dword [esi + 0x170], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x100019f4
mov dword [eax], esi
jmp 0x100019f6
xor eax, eax
push 4
mov dword [esi + 0x174], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x10001a0e
mov dword [eax], esi
jmp 0x10001a10
xor eax, eax
push 4
mov dword [esi + 0x178], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x10001a28
mov dword [eax], esi
jmp 0x10001a2a
xor eax, eax
push 4
mov dword [esi + 0x17c], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x10001a42
mov dword [eax], esi
jmp 0x10001a44
xor eax, eax
push 4
mov dword [esi + 0x180], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x10001a5c
mov dword [eax], esi
jmp 0x10001a5e
xor eax, eax
push 4
mov dword [esi + 0x184], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x10001a76
mov dword [eax], esi
jmp 0x10001a78
xor eax, eax
push 4
mov dword [esi + 0x188], eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x10001a90
mov dword [eax], esi
jmp 0x10001a92
xor eax, eax
mov dword [esi + 0x18c], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [esi]
push eax
push 0
call fcn.100167f0
mov edi, dword [esp + 0x28]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push edi
push eax
call fcn.100167d0
mov ecx, dword [esi + 4]
push edi
push ecx
mov ecx, dword [esi]
call fcn.100167e0
mov byte [esi + 8], 1
cmp dword [0x1005e430], 0
jne 0x10001af8
push 4
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0x20], 0xc
je 0x10001af1
mov ecx, eax
call fcn.10001000
jmp 0x10001af3
xor eax, eax
mov dword [0x1005e430], eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc