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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x100f13f0
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x1012d034]
xor eax, esp
mov dword [esp + 0x174], eax
push esi
push edi
mov eax, dword [0x1012d034]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.NetCommHelper.dll_public:_static_class_CNetManager____cdecl_CNetManager::GetInstance_void_]
mov ecx, eax
call dword [sym.imp.NetCommHelper.dll_public:_bool___thiscall_CNetManager::IsConnected_void_]
test al, al
je 0x1002d2d6
push 0xb
push 0x10102420
lea ecx, [esp + 0xd4]
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], 0
mov byte [esp + 0xd4], 0
call fcn.100080d0
sub esp, 0x18
mov dword [esp + 0x1a8], 0
mov ecx, esp
mov dword [esp + 0x34], esp
lea eax, [esp + 0xe4]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10007d40
mov byte [esp + 0x1a8], 1
mov eax, dword [0x101320a8]
test al, 1
jne 0x1002c97c
or eax, 1
mov dword [0x101320a8], eax
push 0x3c
push 0
push 0x1013206c
mov byte [esp + 0x1b4], 2
call sub.MSVCR120.dll_memset
add esp, 0xc
call fcn.100be7b0
push 0x100f6c80
call fcn.100ebe7b
add esp, 4
mov byte [esp + 0x1a8], 1
lea eax, [esp + 0x94]
mov byte [esp + 0x1a8], 0
push eax
mov ecx, 0x1013206c
call fcn.100bf040
mov byte [esp + 0x190], 3
lea eax, [esp + 0x7c]
cmp dword [esp + 0x90], 0x10
cmovae eax, dword [esp + 0x7c]
push eax
push str.UserLogin_start:_s
push 1
push 0x1c
push 0x10102440
push 0x1010247c
call fcn.100e13e0
cmp dword [esp + 0xa8], 0x10
lea eax, [esp + 0x94]
cmovae eax, dword [esp + 0x94]
push eax
call dword [sym.imp.MSVCR120.dll_atoi]
add esp, 4
mov edi, eax
mov esi, esp
mov dword [esp + 0x34], edi
sub esp, 0x18
lea eax, [esp + 0xfc]
mov ecx, esp
mov dword [esp + 0x44], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10007d40
mov byte [esp + 0x1c0], 4
mov eax, dword [0x101320a8]
test al, 1
jne 0x1002ca68
or eax, 1
mov dword [0x101320a8], eax
push 0x3c
push 0
push 0x1013206c
mov byte [esp + 0x1cc], 5
call sub.MSVCR120.dll_memset
add esp, 0xc
call fcn.100be7b0
push 0x100f6c80
call fcn.100ebe7b
add esp, 4
mov byte [esp + 0x1c0], 4
push esi
mov ecx, 0x1013206c
mov byte [esp + 0x1c4], 3
call fcn.100bf040
lea ecx, [esp + 0xfc]
call fcn.1003a1d0
add esp, 0x18
xorps xmm0, xmm0
movdqa xmmword [esp + 0x94], xmm0
movdqa xmmword [esp + 0xa4], xmm0
movq qword [esp + 0xb4], xmm0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0xa4], 0xffffffff
mov dword [esp + 0xa8], 0xffffffff
mov dword [esp + 0xac], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0
mov byte [esp + 0x190], 7
cmp dword [esp + 0xf4], 0
je 0x1002cb2e
mov eax, edi
cdq
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
lea ecx, [esp + 0x94]
call fcn.1002e900
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test al, al
jne 0x1002cb69
push str.UserLogin_end:failed.
push 1
push 0x28
push 0x101024b8
push 0x101024f4
call fcn.100e13e0
add esp, 0x14
mov byte [esp + 0xf], 0
jmp 0x1002d24c
lea eax, [esp + 0x70]
mov dword [esp + 0x78], 0
xorps xmm0, xmm0
lea ecx, [esp + 0x94]
push eax
movq qword [esp + 0x74], xmm0
call fcn.1002d900
mov byte [esp + 0x190], 8
or esi, 0xffffffff
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x70]
sar eax, 2
push 0x28
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], eax
call dword [0x1010a834]
mov edi, eax
add esp, 4
test edi, edi
je 0x1002cbda
xorps xmm0, xmm0
movdqu xmmword [edi], xmm0
movdqu xmmword [edi + 0x10], xmm0
movq qword [edi + 0x20], xmm0
mov dword [edi + 0xc], 5
cmp dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
jbe 0x1002cd99
lea ecx, [ecx]
mov eax, dword [edi + 8]
xor esi, esi
test eax, eax
je 0x1002cc07
lea esp, [esp]
mov eax, dword [eax]
inc esi
test eax, eax
jne 0x1002cc00
mov eax, 0x66666667
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
mov eax, esi
add ecx, ecx
sub eax, ecx
jne 0x1002cd10
test esi, esi
je 0x1002cd10
push eax
push 1
xor edx, edx
mov ecx, edi
call fcn.100ba510
sub esp, 0x10
mov ecx, esp
push eax
call fcn.10007b40
lea ecx, [esp + 0x114]
call fcn.1003a6a0
mov ecx, esp
mov byte [esp + 0x1a8], 9
mov dword [esp + 0x28], esp
lea eax, [esp + 0x114]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10007d40
mov byte [esp + 0x1a8], 0xa
call dword [sym.imp.NetCommHelper.dll_public:_static_class_CNetManager____cdecl_CNetManager::GetInstance_void_]
mov ecx, eax
mov byte [esp + 0x1a8], 9
call dword [sym.imp.NetCommHelper.dll_public:_void___thiscall_CNetManager::AddData_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___]
mov ecx, edi
call fcn.100b9a20
push 0x28
call dword [0x1010a834]
mov edi, eax
add esp, 4
test edi, edi
je 0x1002ccd0
xorps xmm0, xmm0
movdqu xmmword [edi], xmm0
movdqu xmmword [edi + 0x10], xmm0
movq qword [edi + 0x20], xmm0
mov dword [edi + 0xc], 5
mov byte [esp + 0x190], 8
cmp dword [esp + 0x110], 0x10
jb 0x1002ccf2
push dword [esp + 0xfc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], 0
mov byte [esp + 0xfc], 0
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jbe 0x1002d1ce
cmp dword [esp + 0xf4], 0
mov eax, dword [esp + 0x70]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x14], eax
je 0x1002cd3c
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 8]
jge 0x1002cd86
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
cmovl ecx, eax
inc dword [esp + 0x28]
sub esp, 0x18
mov dword [esp + 0x3c], ecx
mov ecx, esp
call fcn.100b87e0
mov ecx, dword [esp + 0x2c]
call fcn.1002d5b0
mov ecx, dword [edi + 8]
mov edx, eax
test edx, edx
je 0x1002cd86
test ecx, ecx
jne 0x1002cd75
mov dword [edi + 8], edx
jmp 0x1002cd86
mov eax, dword [ecx]
test eax, eax
je 0x1002cd81
mov ecx, eax
test ecx, ecx
jne 0x1002cd75
mov dword [ecx], edx
mov dword [edx + 4], ecx
inc esi
mov dword [esp + 0x14], esi
cmp esi, dword [esp + 0x18]
jb 0x1002cbf0
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x1c]
jle 0x1002ce44
sub esp, 0x18
mov edx, esi
mov ecx, esp
mov dword [esp + 0x28], esp
call fcn.100190e0
sub esp, 0x18
mov byte [esp + 0x1c0], 0xb
mov ecx, esp
mov dword [esp + 0x4c], esp
lea eax, [esp + 0xfc]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10007d40
mov byte [esp + 0x1c0], 0xc
mov eax, dword [0x101320a8]
test al, 1
jne 0x1002ce32
or eax, 1
mov dword [0x101320a8], eax
push 0x3c
push 0
push 0x1013206c
mov byte [esp + 0x1cc], 0xd
call sub.MSVCR120.dll_memset
add esp, 0xc
call fcn.100be7b0
push 0x100f6c80
call fcn.100ebe7b
add esp, 4
mov byte [esp + 0x1c0], 0xc
mov ecx, 0x1013206c
mov byte [esp + 0x1c0], 8
call fcn.100bea10
cmp dword [esp + 0x18], 0
jne 0x1002d127
xor eax, eax
xorps xmm0, xmm0
mov word [esp + 0x44], ax
mov dword [esp + 0x4e], eax
mov word [esp + 0x52], ax
lea eax, [esp + 0x44]
push eax
movq qword [esp + 0x4a], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov esi, dword [esp + 0x20]
movzx ecx, word [esi + 8]
test cx, cx
je 0x1002cef0
movzx eax, word [esi + 0xc]
test ax, ax
je 0x1002cef0
cmp ax, word [esp + 0x4a]
jb 0x1002cea2
cmp cx, word [esp + 0x46]
jb 0x1002cea2
mov ax, word [esi + 6]
cmp ax, word [esp + 0x44]
jae 0x1002cef0
sub esp, 0x18
mov byte [esi + 4], 0
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x100f97ed
call fcn.10007b40
sub esp, 0x18
mov byte [esp + 0x1c0], 0xe
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x10102518
call fcn.10007b40
mov byte [esp + 0x1c0], 0xf
call fcn.10016470
mov ecx, eax
mov byte [esp + 0x1c0], 8
call fcn.100bea10
cmp byte [esi + 4], 0
movdqu xmm0, xmmword [esp + 0x44]
movdqu xmmword [esi + 6], xmm0
jne 0x1002d127
test edi, edi
je 0x1002d127
lea ecx, [esp + 0x12c]
call fcn.1002c410
push 6
mov byte [esp + 0x194], 0x10
lea ecx, [esp + 0x134]
push 0x1010252c
mov dword [esp + 0x134], 4
call fcn.10001e10
push 8
push 0x1010253c
lea ecx, [esp + 0x150]
call fcn.10001e10
push 0
push 0x10102550
lea ecx, [esp + 0x168]
call fcn.10001e10
cmp word [esp + 0x4c], 0
jne 0x1002d113
cmp word [esp + 0x4e], 0
jne 0x1002d113
movzx eax, word [esp + 0x4a]
dec eax
push eax
movzx eax, word [esp + 0x4a]
push eax
movzx eax, word [esp + 0x4c]
push eax
lea eax, [esp + 0x120]
push str._04d__02d__02d_23:59:59
push eax
call fcn.10039f20
add esp, 0x14
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x11c]
mov byte [esp + 0x198], 0x11
push eax
lea ecx, [esp + 0x16c]
call fcn.10001a70
sub esp, 0x18
mov ecx, esp
call fcn.100b87e0
lea ecx, [esp + 0x144]
call fcn.1002c4c0
mov edx, eax
mov ecx, edi
call fcn.100bb270
movzx eax, word [esp + 0x4a]
push eax
movzx eax, word [esp + 0x4a]
push eax
movzx eax, word [esp + 0x4c]
push eax
lea eax, [esp + 0x38]
push str._04d__02d__02d_00:00:00
push eax
call fcn.10039f20
add esp, 0x14
lea ecx, [esp + 0x114]
push eax
call fcn.10001970
lea ecx, [esp + 0x2c]
call fcn.10002010
push 0x101025b4
lea ecx, [esp + 0x14c]
call fcn.10003640
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x16c]
call fcn.10001a70
sub esp, 0x18
mov ecx, esp
call fcn.100b87e0
lea ecx, [esp + 0x144]
call fcn.1002c4c0
mov edx, eax
mov ecx, edi
call fcn.100bb270
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x101025c4
call fcn.10007b40
sub esp, 0x18
mov byte [esp + 0x1c0], 0x12
mov ecx, esp
mov dword [esp + 0x50], esp
push str.RecentlyPowerEevent
call fcn.10007b40
mov byte [esp + 0x1c0], 0x13
call fcn.10016470
mov ecx, eax
mov byte [esp + 0x1c0], 0x11
call fcn.100bea10
sub esp, 0x18
mov ecx, esp
lea eax, [esp + 0x12c]
push eax
call fcn.10002090
lea ecx, [esp + 0x44]
call fcn.1003a310
add esp, 0x18
mov byte [esp + 0x190], 0x14
cmp dword [eax + 0x14], 0x10
jb 0x1002d0de
mov eax, dword [eax]
push eax
push str.Record_Recently_Power_info:_s.
push 1
push 0x7e
push 0x101025fc
push 0x10102638
call fcn.100e13e0
add esp, 0x18
lea ecx, [esp + 0x2c]
call fcn.10007ba0
lea ecx, [esp + 0x114]
mov byte [esi + 4], 1
call fcn.10002010
lea ecx, [esp + 0x12c]
mov byte [esp + 0x190], 8
call fcn.10018170
mov eax, dword [edi + 8]
xor ecx, ecx
test eax, eax
je 0x1002d1d9
mov eax, dword [eax]
inc ecx
test eax, eax
jne 0x1002d134
test ecx, ecx
jle 0x1002d1d9
push eax
push 1
xor edx, edx
mov ecx, edi
call fcn.100ba510
sub esp, 0x10
mov ecx, esp
push eax
call fcn.10007b40
lea ecx, [esp + 0x5c]
call fcn.1003a6a0
mov ecx, esp
mov byte [esp + 0x1a8], 0x15
mov dword [esp + 0x28], esp
lea eax, [esp + 0x5c]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10007d40
mov byte [esp + 0x1a8], 0x16
call dword [sym.imp.NetCommHelper.dll_public:_static_class_CNetManager____cdecl_CNetManager::GetInstance_void_]
mov ecx, eax
mov byte [esp + 0x1a8], 0x15
call dword [sym.imp.NetCommHelper.dll_public:_void___thiscall_CNetManager::AddData_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___]
mov byte [esp + 0x190], 8
cmp dword [esp + 0x58], 0x10
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x1002d1df
push dword [esp + 0x44]
call esi
add esp, 4
jmp 0x1002d1df
push 0x10115b64
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xout_of_range_char_const__]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov ecx, edi
call fcn.100b9a20
push dword [esp + 0x28]
push str.UserLogin_size:__d
push 1
push 0x91
push 0x10102670
push 0x101026ac
call fcn.100e13e0
add esp, 0x18
call dword [sym.imp.NetCommHelper.dll_public:_static_class_CNetManager____cdecl_CNetManager::GetInstance_void_]
mov ecx, eax
call dword [sym.imp.NetCommHelper.dll_public:_void___thiscall_CNetManager::HandleData_void_]
push str.UserLogin_end
push 1
push 0x93
push 0x101026e0
push str.CHandleUserLoginEvent::HandleData
call fcn.100e13e0
add esp, 0x14
call fcn.1002d300
mov eax, dword [esp + 0x70]
mov byte [esp + 0xf], 1
test eax, eax
je 0x1002d24c
push eax
call esi
add esp, 4
lea ecx, [esp + 0x94]
call fcn.1002e7e0
cmp dword [esp + 0xf8], 8
jb 0x1002d26e
push dword [esp + 0xe4]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0xf8], 7
cmp dword [esp + 0x90], 0x10
mov dword [esp + 0xf4], 0
mov word [esp + 0xe4], ax
jb 0x1002d2a1
push dword [esp + 0x7c]
call esi
add esp, 4
cmp dword [esp + 0xe0], 0x10
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], 0
mov byte [esp + 0x7c], 0
jb 0x1002d2d2
push dword [esp + 0xcc]
call esi
add esp, 4
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret