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

Disassembly:
push 0xffffffffffffffff
push 0x10042280
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_]
push 0x10046637
mov ecx, edi
mov byte [esp + 0x24], 0xb
mov dword [esi + 4], esi
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 ebx, dword [esp + 0x2c]
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call ebp
mov edi, eax
push 1
push edi
call dword [sym.imp.MSVCR80.dll_calloc]
add esp, 8
push 0
push 0
push edi
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
mov dword [esp + 0x4c], eax
call ebp
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esi + 4]
push eax
push ebx
push ecx
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 0x10015b06
mov dword [eax], esi
jmp 0x10015b08
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 0x10015b20
mov dword [eax], esi
jmp 0x10015b22
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 0x10015b3a
mov dword [eax], esi
jmp 0x10015b3c
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 0x10015b54
mov dword [eax], esi
jmp 0x10015b56
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 0x10015b6e
mov dword [eax], esi
jmp 0x10015b70
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 0x10015b88
mov dword [eax], esi
jmp 0x10015b8a
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 0x10015ba2
mov dword [eax], esi
jmp 0x10015ba4
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 0x10015bbc
mov dword [eax], esi
jmp 0x10015bbe
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 0x10015bd6
mov dword [eax], esi
jmp 0x10015bd8
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 0x10015bf0
mov dword [eax], esi
jmp 0x10015bf2
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 0x10015c0a
mov dword [eax], esi
jmp 0x10015c0c
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 0x10015c24
mov dword [eax], esi
jmp 0x10015c26
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 0x10015c3e
mov dword [eax], esi
jmp 0x10015c40
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 edx, dword [esi + 4]
mov ecx, dword [esi]
push edi
push edx
call fcn.100167d0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push edi
push eax
call fcn.100167e0
mov ecx, dword [esi + 4]
push ebx
push str.UserName
push ecx
mov ecx, dword [esi]
mov byte [esi + 8], 1
call fcn.1001a770
cmp dword [0x1005e430], 0
jne 0x10015cb7
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 0x10015cb0
mov ecx, eax
call fcn.10001000
jmp 0x10015cb2
xor eax, eax
mov dword [0x1005e430], eax
test ebx, ebx
je 0x10015cde
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10015cc0
sub eax, edx
push eax
push 0
push ebx
call sub.MSVCR80.dll_memset
push ebx
call dword [sym.imp.MSVCR80.dll_free]
add esp, 0x10
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