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

Disassembly:
push 0xffffffffffffffff
push 0x10042350
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 ebx, dword [esp + 0x30]
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 ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esi + 4]
push ecx
push ebx
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 0x10015f0a
mov dword [eax], esi
jmp 0x10015f0c
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 0x10015f24
mov dword [eax], esi
jmp 0x10015f26
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 0x10015f3e
mov dword [eax], esi
jmp 0x10015f40
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 0x10015f58
mov dword [eax], esi
jmp 0x10015f5a
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 0x10015f72
mov dword [eax], esi
jmp 0x10015f74
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 0x10015f8c
mov dword [eax], esi
jmp 0x10015f8e
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 0x10015fa6
mov dword [eax], esi
jmp 0x10015fa8
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 0x10015fc0
mov dword [eax], esi
jmp 0x10015fc2
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 0x10015fda
mov dword [eax], esi
jmp 0x10015fdc
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 0x10015ff4
mov dword [eax], esi
jmp 0x10015ff6
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 0x1001600e
mov dword [eax], esi
jmp 0x10016010
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 0x10016028
mov dword [eax], esi
jmp 0x1001602a
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 0x10016042
mov dword [eax], esi
jmp 0x10016044
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 edx, dword [esi + 4]
mov ecx, dword [esi]
push ebx
push str.UserName
push edx
mov byte [esi + 8], 1
call fcn.1001a770
cmp dword [0x1005e430], 0
jne 0x100160bb
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 0x100160b4
mov ecx, eax
call fcn.10001000
jmp 0x100160b6
xor eax, eax
mov dword [0x1005e430], eax
test ebx, ebx
je 0x100160e2
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100160c4
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 0x10