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

Disassembly:
push 0xffffffffffffffff
push 0x523c27
mov eax, dword fs:[0]
push eax
sub esp, 0x7fc
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0x7f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x810]
mov dword fs:[0], eax
mov eax, dword [esp + 0x820]
mov dword [esp + 0x40], eax
xor ebx, ebx
mov dword [esp + 0x48], ecx
xor eax, eax
mov edi, edi
mov edx, dword [ecx + eax*4]
test edx, edx
jg 0x4a9d24
add eax, 1
cmp eax, 0x3d
jl 0x4a9d10
jmp 0x4aa774
push str.UserManager
call fcn.00407970
mov edi, eax
mov ebp, 4
lea eax, [esp + 0x2d4]
add esp, 4
lea ecx, [ebp - 3]
lea esi, [esp + 0x2cc]
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
mov byte [esp + 0x3e0], 1
mov word [esp + 0x3de], bp
mov dword [esp + 0x2cc], eax
mov dword [esp + 0x2d0], ebx
mov dword [esp + 0x3e4], ebx
mov dword [esp + 0x2c8], ebx
call fcn.0046b260
cmp byte [esp + 0x3e0], bl
lea eax, [esp + 0x2d0]
jne 0x4a9d9c
mov eax, dword [esp + 0x2cc]
mov word [eax + 4], bx
lea ecx, [esp + 0x824]
push ecx
lea edx, [esp + 0x2c8]
push edx
mov ecx, edi
mov dword [esp + 0x820], ebx
call fcn.004f28f0
cmp byte [esp + 0x3e0], 0
lea ebx, [esp + 0x2d0]
jne 0x4a9dd6
mov ebx, dword [esp + 0x2cc]
xor edi, edi
lea eax, [esp + 0x1a8]
lea ecx, [edi + 1]
lea esi, [esp + 0x1a4]
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
mov byte [esp + 0x2b8], 1
mov word [esp + 0x2b6], bp
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1a8], edi
mov dword [esp + 0x2bc], edi
mov dword [esp + 0x1a0], edi
call fcn.0046b260
cmp byte [esp + 0x2b8], 0
lea eax, [esp + 0x1a8]
jne 0x4a9e3d
mov eax, dword [esp + 0x1a4]
mov word [eax + 4], di
add ebx, 4
cmp ebx, edi
mov byte [esp + 0x818], 1
jne 0x4a9e55
mov ebx, 0x54b914
mov eax, ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4a9e60
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0x1a4]
mov dword [esp + 0x1a0], eax
call fcn.0046b260
cmp byte [esp + 0x2b8], 0
lea eax, [esp + 0x1a8]
jne 0x4a9e9f
mov eax, dword [esp + 0x1a4]
lea ecx, [edi + edi]
push ecx
add eax, 4
push ebx
push eax
call fcn.004fff80
add esp, 0xc
xor ebp, ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push str.UsageStatistics.ini
lea ecx, [esp + 0x90]
call fcn.0046da80
mov al, byte [esp + 0x194]
test al, al
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x84]
jne 0x4a9ee3
mov ecx, edx
cmp word [ecx + 4], 0x2e
jne 0x4a9f37
test al, al
lea eax, [esp + 0x84]
jne 0x4a9ef7
mov eax, edx
mov ecx, dword [esp + 0x7c]
lea esi, [eax + 4]
mov eax, dword [esp + 0x1a0]
cmp eax, ecx
jbe 0x4a9f86
cmp byte [esp + 0x2b8], 0
lea edx, [esp + 0x1a8]
jne 0x4a9f21
mov edx, dword [esp + 0x1a4]
sub eax, ecx
lea edx, [edx + eax*2 + 4]
push esi
push edx
call fcn.004fe715
add esp, 8
test eax, eax
je 0x4a9f93
jmp 0x4a9f86
test al, al
lea eax, [esp + 0x84]
jne 0x4a9f44
mov eax, edx
lea esi, [eax + 4]
mov eax, dword [esp + 0x1a0]
cmp eax, ebp
je 0x4a9f75
cmp byte [esp + 0x2b8], 0
lea ecx, [esp + 0x1a8]
jne 0x4a9f6a
mov ecx, dword [esp + 0x1a4]
movzx eax, word [ecx + eax*2 + 2]
cmp ax, 0x5c
je 0x4a9f86
push 0x54ea84
lea eax, [esp + 0x1a0]
call fcn.0046aa40
push esi
lea eax, [esp + 0x1a0]
call fcn.0046aa40
cmp byte [esp + 0x194], 0
mov ebx, vtable.t_str.0
mov dword [esp + 0x78], ebx
jne 0x4a9fc1
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x84]
cmp eax, ecx
je 0x4a9fc1
push eax
call fcn.004fdda1
add esp, 4
mov esi, vtable.t_mutex.0
mov dword [esp + 0x3ec], esi
mov dword [esp + 0x3f0], ebp
mov dword [esp + 0x5fc], 3
mov word [esp + 0x3f4], bp
mov edi, dword [esp + 0x40]
push str.LocalusageStatistics.mutex.sogouime
push edi
lea ecx, [esp + 0x3f4]
mov byte [esp + 0x820], 3
call fcn.0046b470
test al, al
jne 0x4aa0a6
mov ecx, edi
call fcn.00470820
push 0x56b5e4
push 0x551604
push eax
call fcn.0046adf0
mov eax, dword [esp + 0x3fc]
add esp, 0xc
cmp eax, ebp
mov dword [esp + 0x3ec], esi
je 0x4aa047
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x3f0], ebp
cmp byte [esp + 0x2b8], 0
mov dword [esp + 0x19c], ebx
jne 0x4aa073
mov eax, dword [esp + 0x1a4]
lea edx, [esp + 0x1a8]
cmp eax, edx
je 0x4aa073
push eax
call fcn.004fdda1
add esp, 4
cmp byte [esp + 0x3e0], 0
mov dword [esp + 0x2c4], ebx
jne 0x4aa09f
mov eax, dword [esp + 0x2cc]
lea ecx, [esp + 0x2d0]
cmp eax, ecx
je 0x4aa09f
push eax
call fcn.004fdda1
add esp, 4
xor al, al
jmp 0x4aa776
mov dword [esp + 0x54], vtable.t_mutex::t_locker.0
mov dword [esp + 0x58], ebp
mov byte [esp + 0x818], 4
mov edx, dword [esp + 0x3ec]
mov eax, dword [edx + 0xc]
lea ecx, [esp + 0x3ec]
call eax
test al, al
jne 0x4aa0e1
push str.t_mutex::Lock
push edi
call fcn.004708d0
add esp, 8
jmp 0x4aa0f5
mov edx, dword [esp + 0x3ec]
mov eax, dword [edx + 0x10]
push edi
lea ecx, [esp + 0x3f0]
call eax
test al, al
je 0x4aa17e
lea ecx, [esp + 0x3ec]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x18], fcn.004fdc99
mov dword [esp + 0x1c], fcn.004fca61
mov dword [esp + 0x20], fcn.004fdda1
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], 0x8000
mov dword [esp + 0x14], vtable.t_heapT_class_TAllocDefault_.0
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x30], 0
mov byte [esp + 0x818], 5
cmp byte [esp + 0x2b8], 0
lea eax, [esp + 0x1a8]
jne 0x4aa15d
mov eax, dword [esp + 0x1a4]
lea edx, [eax + 4]
push edi
lea ecx, [esp + 0x18]
call fcn.0046c8b0
test al, al
jne 0x4aa21f
mov ecx, edi
call fcn.00470870
jmp 0x4aa29e
mov ecx, edi
call fcn.00470820
push 0x56b620
push 0x551604
push eax
call fcn.0046adf0
mov eax, dword [esp + 0x3fc]
add esp, 0xc
cmp eax, ebp
mov dword [esp + 0x3ec], esi
je 0x4aa1b8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x3f0], ebp
cmp byte [esp + 0x2b8], 0
mov dword [esp + 0x19c], ebx
jne 0x4aa1e4
mov eax, dword [esp + 0x1a4]
lea edx, [esp + 0x1a8]
cmp eax, edx
je 0x4aa1e4
push eax
call fcn.004fdda1
add esp, 4
cmp byte [esp + 0x3e0], 0
mov dword [esp + 0x2c4], ebx
jne 0x4aa09f
mov eax, dword [esp + 0x2cc]
lea ecx, [esp + 0x2d0]
cmp eax, ecx
je 0x4aa09f
push eax
call fcn.004fdda1
add esp, 4
xor al, al
jmp 0x4aa776
mov esi, 0x58b930
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov ebx, dword [esi - 4]
je 0x4aa291
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x3c]
push edx
lea edi, [esp + 0x80]
mov dword [esp + 0x40], str.UsageStatistics
call fcn.0046d570
cmp eax, ebp
je 0x4aa291
mov eax, dword [eax + 4]
cmp eax, ebp
je 0x4aa291
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x58]
push ecx
lea edi, [esp + 0x50]
mov dword [esp + 0x5c], ebx
call fcn.0046d570
cmp eax, ebp
je 0x4aa291
mov eax, dword [eax + 4]
cmp eax, ebp
je 0x4aa291
push eax
call fcn.004fe07a
add esp, 4
mov dword [esi], eax
jmp 0x4aa293
mov dword [esi], ebp
add esi, 0xc
cmp esi, 0x58bc0c
jl 0x4aa224
mov edx, dword [esp + 0x48]
mov dword [esp + 0x4c], str.UsageStatistics
mov ebp, 0x58b930
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
add dword [ebp], ecx
mov eax, dword [ebp]
mov edx, dword [ebp - 4]
push 0xa
push 0x104
lea ecx, [esp + 0x60c]
push ecx
push eax
mov dword [esp + 0x44], edx
call fcn.004ffa07
mov eax, dword [esp + 0x3c]
add esp, 0x10
test eax, eax
jne 0x4aa35f
mov ecx, dword [esp + 0x24]
test ecx, ecx
mov edx, dword [esp + 0x28]
je 0x4aa308
mov eax, dword [ecx]
cmp eax, edx
jae 0x4aa308
lea esi, [eax + 0x60]
cmp esi, edx
ja 0x4aa308
add dword [ecx], 0x60
lea eax, [ecx + eax + 8]
jmp 0x4aa331
cmp edx, 0x60
jae 0x4aa312
mov edx, 0x60
add edx, 8
push edx
call dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov dword [eax], 0x60
add esp, 4
mov dword [esp + 0x24], eax
add eax, 8
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0x818], 6
je 0x4aa351
push eax
lea ebx, [esp + 0x18]
call fcn.0046c170
jmp 0x4aa353
xor eax, eax
mov byte [esp + 0x818], 5
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x54]
push ecx
lea edi, [esp + 0x78]
call fcn.0046d570
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov esi, eax
jne 0x4aa41c
mov ecx, dword [esp + 0x24]
test ecx, ecx
mov edx, dword [esp + 0x28]
je 0x4aa3ab
mov eax, dword [ecx]
cmp eax, edx
jae 0x4aa3ab
lea edi, [eax + 0x60]
cmp edi, edx
ja 0x4aa3ab
add dword [ecx], 0x60
mov edx, dword [esp + 0x24]
lea eax, [ecx + eax + 8]
jmp 0x4aa3d8
cmp edx, 0x60
mov eax, 0x60
jb 0x4aa3b7
mov eax, edx
add eax, 8
push eax
call dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov edx, eax
mov dword [eax], 0x60
add esp, 4
mov dword [esp + 0x24], edx
add eax, 8
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0x818], 7
je 0x4aa40a
push eax
lea ebx, [esp + 0x18]
call fcn.0046c170
mov edx, dword [esp + 0x24]
mov ecx, eax
mov byte [esp + 0x818], 5
mov dword [esp + 0x2c], ecx
jmp 0x4aa420
xor eax, eax
mov ecx, eax
mov byte [esp + 0x818], 5
mov dword [esp + 0x2c], ecx
jmp 0x4aa420
mov edx, dword [esp + 0x24]
test esi, esi
je 0x4aa439
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 4]
lea ecx, [esp + 0x604]
push ecx
push edx
jmp 0x4aa4cb
test ecx, ecx
jne 0x4aa4b4
test edx, edx
mov ecx, dword [esp + 0x28]
je 0x4aa45b
mov eax, dword [edx]
cmp eax, ecx
jae 0x4aa45b
lea esi, [eax + 0x60]
cmp esi, ecx
ja 0x4aa45b
add dword [edx], 0x60
lea eax, [edx + eax + 8]
jmp 0x4aa484
cmp ecx, 0x60
jae 0x4aa465
mov ecx, 0x60
add ecx, 8
push ecx
call dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov dword [eax], 0x60
add esp, 4
mov dword [esp + 0x24], eax
add eax, 8
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0x818], 8
je 0x4aa4a4
push eax
lea ebx, [esp + 0x18]
call fcn.0046c170
jmp 0x4aa4a6
xor eax, eax
mov ecx, eax
mov byte [esp + 0x818], 5
mov dword [esp + 0x2c], ecx
push str.UsageStatistics
call fcn.0046c460
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x604]
push edx
push ecx
push eax
call fcn.0046c290
add dword [esp + 0x3c], 4
add ebp, 0xc
cmp ebp, 0x58bc0c
jl 0x4aa2b3
cmp byte [esp + 0x2b8], 0
lea eax, [esp + 0x1a8]
jne 0x4aa4fd
mov eax, dword [esp + 0x1a4]
mov edx, dword [esp + 0x40]
add eax, 4
push eax
lea ecx, [esp + 0x18]
call fcn.0046cdf0
test al, al
jne 0x4aa67e
mov ebp, dword [esp + 0x40]
xor ebx, ebx
cmp dword [ebp], ebx
je 0x4aa52f
mov ebp, dword [ebp]
add ebp, 0x124
cmp dword [ebp], ebx
jne 0x4aa521
push 0x128
call fcn.004fde48
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4aa59b
lea esi, [edi + 8]
mov dword [edi], vtable.t_str.0
lea eax, [esi + 4]
mov byte [esi + 0x114], 1
mov word [esi + 0x112], 4
mov dword [esi], eax
mov dword [eax], ebx
mov ecx, 1
mov dword [edi + 0x120], ebx
mov dword [edi + 4], ebx
call fcn.0046b260
cmp byte [esi + 0x114], 0
je 0x4aa58d
add esi, 4
mov word [esi + 4], bx
mov dword [edi + 0x124], ebx
jmp 0x4aa59d
mov esi, dword [esi]
mov word [esi + 4], bx
mov dword [edi + 0x124], ebx
jmp 0x4aa59d
xor edi, edi
push str.Usage_Statistics
push 0x551604
push edi
mov dword [ebp], edi
call fcn.0046adf0
mov byte [esp + 0x824], 4
mov eax, dword [esp + 0x30]
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x14], vtable.allocator_unsigned_char__class_TAllocDefault_.0
je 0x4aa5e7
jmp 0x4aa5d0
mov edx, dword [eax + 4]
push eax
mov dword [esp + 0x28], edx
call dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add esp, 4
cmp eax, ebx
jne 0x4aa5d0
lea ecx, [esp + 0x3ec]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x818], 3
call fcn.0046b5a0
mov eax, dword [esp + 0x3f0]
cmp eax, ebx
mov dword [esp + 0x3ec], 0x5628e4
je 0x4aa623
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x3f0], ebx
cmp byte [esp + 0x2b8], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x19c], esi
jne 0x4aa654
mov eax, dword [esp + 0x1a4]
lea ecx, [esp + 0x1a8]
cmp eax, ecx
je 0x4aa654
push eax
call fcn.004fdda1
add esp, 4
cmp byte [esp + 0x3e0], 0
mov dword [esp + 0x2c4], esi
jne 0x4aa09f
mov eax, dword [esp + 0x2cc]
lea edx, [esp + 0x2d0]
cmp eax, edx
jmp 0x4aa094
mov eax, dword [esp + 0x48]
push 0xf4
xor esi, esi
push esi
push eax
call fcn.005002f0
add esp, 0xc
mov eax, 0x58b930
jmp 0x4aa6a0
mov dword [eax], esi
add eax, 0xc
cmp eax, 0x58bc0c
jl 0x4aa6a0
mov byte [esp + 0x818], 4
mov eax, dword [esp + 0x24]
cmp eax, esi
mov dword [esp + 0x14], vtable.allocator_unsigned_char__class_TAllocDefault_.0
je 0x4aa6db
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x28], ecx
call dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add esp, 4
cmp eax, esi
jne 0x4aa6c4
lea ecx, [esp + 0x3ec]
mov dword [esp + 0x24], esi
mov byte [esp + 0x818], 3
call fcn.0046b5a0
mov eax, dword [esp + 0x3f0]
cmp eax, esi
mov dword [esp + 0x3ec], 0x5628e4
je 0x4aa717
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x3f0], esi
cmp byte [esp + 0x2b8], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x19c], esi
jne 0x4aa748
mov eax, dword [esp + 0x1a4]
lea edx, [esp + 0x1a8]
cmp eax, edx
je 0x4aa748
push eax
call fcn.004fdda1
add esp, 4
cmp byte [esp + 0x3e0], 0
mov dword [esp + 0x2c4], esi
jne 0x4aa774
mov eax, dword [esp + 0x2cc]
lea ecx, [esp + 0x2d0]
cmp eax, ecx
je 0x4aa774
push eax
call fcn.004fdda1
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x810]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7f8]
xor ecx, esp
call fcn.004fe05a
add esp, 0x808
ret 8