Function at 0x10012e80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1005be41
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x10140664]
xor eax, esp
mov dword [esp + 0x18c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10140664]
xor eax, esp
push eax
lea eax, [esp + 0x1a4]
mov dword fs:[0], eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x1b8]
mov ebp, dword [esp + 0x1b4]
mov edi, dword [esp + 0x1bc]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], eax
xor bl, bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor esi, esi
lea ecx, [esp + 0xac]
mov dword [esp + 0x1ac], esi
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, [esp + 0x138]
mov byte [esp + 0x1ac], 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, [esp + 0x100]
mov byte [esp + 0x1ac], 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, [esp + 0xe4]
mov byte [esp + 0x1ac], 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, [esp + 0xe4]
push ebp
push ecx
mov byte [esp + 0x1b4], 4
call fcn.100137f0
add esp, 8
push edi
lea ecx, [esp + 0x120]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push str..auth
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1b0], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
lea edx, [esp + 0x18]
push edx
push esi
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x128]
push ecx
mov byte [esp + 0x1bc], 7
call fcn.10013f60
add esp, 0x10
xor ebp, ebp
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x1c]
cmp edi, esi
mov dword [esp + 0x28], ebp
je 0x100132c7
mov ecx, dword [esp + 0x20]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jae 0x100132c7
mov edx, dword [esp + 0x14]
lea eax, [edx + edi]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x104]
push edx
lea ecx, [esp + 0x140]
push ecx
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0xb8]
push edx
push eax
call fcn.10012d30
xor bl, bl
test al, al
je 0x10013250
lea eax, [esp + 0xac]
push eax
call fcn.100137a0
mov ecx, eax
add esp, 4
lea edi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x10013034
sub ecx, edi
je 0x1001305f
add bl, byte [esi + eax]
mov ecx, eax
add esi, 1
lea edi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x10013050
sub ecx, edi
cmp esi, ecx
jb 0x10013041
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
lea ecx, [esp + 0x40]
push ecx
call fcn.100137a0
mov edx, dword [esp + 0x58]
add edx, 1
push edx
mov esi, eax
call fcn.1005a962
mov edi, eax
mov eax, dword [esp + 0x5c]
add eax, 1
push eax
push 0
push edi
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x68]
add esp, 0x18
xor ebp, ebp
test eax, eax
jbe 0x100130c5
xor ecx, ecx
nop
cmp ecx, eax
jae 0x100130bb
mov al, byte [ecx + esi]
sub al, 1
shl al, 4
add al, byte [ecx + esi + 1]
sub al, 0x41
sub al, bl
mov byte [edi + ebp], al
mov eax, dword [esp + 0x50]
add ebp, 1
add ecx, 2
cmp ebp, eax
jb 0x100130a0
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x170]
call fcn.100135a0
lea ecx, [esp + 0x170]
mov byte [esp + 0x1ac], 8
call fcn.10013630
lea ecx, [esp + 0x154]
push ecx
lea ecx, [esp + 0x174]
call fcn.10012a60
lea ecx, [esp + 0x74]
mov byte [esp + 0x1ac], 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_]
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x1b4], 0xa
call fcn.100137f0
add esp, 8
lea ecx, [esp + 0x58]
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, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x1b4], 0xb
call fcn.100137f0
add esp, 8
lea ecx, [esp + 0x90]
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 eax, [esp + 0x90]
push edi
push eax
mov byte [esp + 0x1b4], 0xc
call fcn.100137f0
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x84]
mov esi, 0x10
add esp, 0xc
cmp dword [esp + 0x8c], esi
jae 0x10013197
lea eax, [esp + 0x78]
mov ecx, dword [esp + 0x88]
push ecx
push 0
push eax
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov edx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [edx]
je 0x100131e6
cmp dword [esp + 0x70], esi
mov eax, dword [esp + 0x5c]
jae 0x100131c7
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x6c]
push ecx
push 0
push eax
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov edx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [edx]
jne 0x1001325d
lea ecx, [esp + 0x90]
xor bl, bl
mov byte [esp + 0x1ac], 0xb
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 + 0x58]
mov byte [esp + 0x1ac], 0xa
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 + 0x74]
mov byte [esp + 0x1ac], 9
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 + 0x154]
mov byte [esp + 0x1ac], 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 + 0x170]
mov byte [esp + 0x1ac], 7
call fcn.10013620
mov ebp, dword [esp + 0x28]
xor esi, esi
add ebp, 1
add dword [esp + 0x14], 0x1c
jmp 0x10012fb6
lea ecx, [esp + 0x90]
mov bl, 1
mov byte [esp + 0x1ac], 0xb
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 + 0x58]
mov byte [esp + 0x1ac], 0xa
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 + 0x74]
mov byte [esp + 0x1ac], 9
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 + 0x154]
mov byte [esp + 0x1ac], 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 + 0x170]
mov byte [esp + 0x1ac], 7
call fcn.10013620
mov edi, dword [esp + 0x1c]
xor esi, esi
cmp edi, esi
mov byte [esp + 0x1ac], 6
je 0x100132fc
mov ebp, dword [esp + 0x20]
cmp edi, ebp
je 0x100132f3
jmp 0x100132e0
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__::destructor_void_]
add edi, 0x1c
cmp edi, ebp
jne 0x100132e0
mov edi, dword [esp + 0x1c]
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0xc8]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov byte [esp + 0x1ac], 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_]
lea ecx, [esp + 0x11c]
mov byte [esp + 0x1ac], 4
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 + 0xe4]
mov byte [esp + 0x1ac], 3
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 + 0x100]
mov byte [esp + 0x1ac], 2
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 + 0x138]
mov byte [esp + 0x1ac], 1
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 + 0xac]
mov byte [esp + 0x1ac], 0
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 + 0x3c]
mov dword [esp + 0x1ac], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18c]
xor ecx, esp
call fcn.1005a96e
add esp, 0x19c
ret 0xc