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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e26e9
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, ecx
cmp dword [edi + 0x7c], 0
mov dword [esp + 0x20], eax
jne 0x4b11af
mov eax, 0x80004005
jmp 0x4b156a
cmp dword [ebp + 8], 0x64
je 0x4b1219
lea eax, [edi + 0x1254]
mov dword [esp + 0x28], eax
add eax, 4
push eax
mov dword [esp + 0x28], vtable.QQDectector::fund::lock::scoped_lock_class_QQDectector::fund::lock::critical_section_.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x14]
lea esi, [edi + 0x11f4]
push eax
lea ebx, [ebp + 0xc]
mov eax, esi
call fcn.004a7d8c
cmp dword [esp + 0x14], 0
mov ebx, dword [esi + 4]
je 0x4b11f6
cmp dword [esp + 0x14], esi
je 0x4b11fb
call fcn.004b9c0e
cmp dword [esp + 0x18], ebx
je 0x4b1210
lea esi, [esp + 0x14]
call fcn.004b2f82
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
lea esi, [esp + 0x24]
call fcn.004a7de6
mov eax, dword [ebp + 8]
cmp eax, 0x54
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
ja 0x4b1414
cmp eax, 0x53
jae 0x4b1548
cmp eax, 0x40
je 0x4b1548
cmp eax, 0x48
jbe 0x4b1556
cmp eax, 0x4a
jbe 0x4b1548
cmp eax, 0x4b
jne 0x4b1556
test ecx, ecx
je 0x4b1556
lea eax, [edi + 0x1254]
mov dword [esp + 0x30], eax
add eax, 4
push eax
mov dword [esp + 0x30], vtable.QQDectector::fund::lock::scoped_lock_class_QQDectector::fund::lock::critical_section_.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x14]
lea esi, [edi + 0x11e8]
push eax
lea ebx, [ebp + 0xc]
mov eax, esi
mov dword [esp + 0x134], 3
call fcn.004b2bbd
cmp dword [esp + 0x14], 0
mov ebx, dword [esi + 4]
je 0x4b12ae
cmp dword [esp + 0x14], esi
je 0x4b12b3
call fcn.004b9c0e
cmp dword [esp + 0x18], ebx
je 0x4b13fe
lea esi, [esp + 0x14]
call fcn.004b2f82
add eax, 0x100c
push eax
lea ecx, [esp + 0x108]
call fcn.00405e30
lea ebx, [esp + 0x104]
mov byte [esp + 0x130], 4
call fcn.004b25f5
push dword [esp + 0x20]
mov esi, eax
cmp esi, 0xffffffff
je 0x4b13dc
lea ecx, [esp + 0xb4]
call fcn.00405e30
mov ebx, eax
push 0x4f89c8
lea ecx, [esp + 0x7c]
mov byte [esp + 0x134], 5
call fcn.00405e30
mov dword [esp + 0x24], eax
push esi
push 0
lea eax, [esp + 0x10c]
push eax
lea esi, [esp + 0x4c]
mov byte [esp + 0x13c], 6
call fcn.004a3f9d
mov byte [esp + 0x130], 7
push dword [esp + 0x24]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.004a9363
add esp, 0xc
push ebx
push eax
lea eax, [esp + 0xd4]
push eax
mov byte [esp + 0x13c], 8
call fcn.004a9363
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x110]
mov byte [esp + 0x13c], 9
call fcn.00405a50
lea ecx, [esp + 0xcc]
call fcn.00401680
lea ecx, [esp + 0x94]
call fcn.00401680
mov ecx, esi
call fcn.00401680
lea ecx, [esp + 0x78]
call fcn.00401680
lea ecx, [esp + 0xb0]
call fcn.00401680
cmp dword [esp + 0x11c], 0x10
mov eax, dword [esp + 0x108]
jae 0x4b13db
lea eax, [esp + 0x108]
push eax
lea esi, [esp + 0x18]
call fcn.004b2f82
add eax, 0x100c
push eax
call fcn.004dae40
pop ecx
pop ecx
lea ecx, [esp + 0x104]
call fcn.00401680
lea esi, [esp + 0x2c]
or dword [esp + 0x130], 0xffffffff
call fcn.004a7de6
jmp 0x4b1556
cmp eax, 0x56
jb 0x4b1556
cmp eax, 0x57
jbe 0x4b1548
cmp eax, 0x63
je 0x4b1548
cmp eax, 0x64
jne 0x4b1556
test ecx, ecx
je 0x4b1556
lea eax, [edi + 0x1254]
mov dword [esp + 0x3c], eax
add eax, 4
push eax
mov dword [esp + 0x3c], vtable.QQDectector::fund::lock::scoped_lock_class_QQDectector::fund::lock::critical_section_.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [esp + 0x130], 0
lea ebx, [edi + 0x11e8]
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x14], 0
mov esi, dword [ebx + 4]
je 0x4b1487
cmp dword [esp + 0x14], ebx
je 0x4b148c
call fcn.004b9c0e
cmp dword [esp + 0x18], esi
je 0x4b153f
push dword [esp + 0x20]
lea ecx, [esp + 0x60]
call fcn.00405e30
mov dword [esp + 0x24], eax
lea esi, [esp + 0x14]
mov byte [esp + 0x130], 1
call fcn.004b2f82
add eax, 8
push eax
lea ecx, [esp + 0xec]
call fcn.00405e30
mov edx, eax
mov byte [esp + 0x130], 2
mov eax, dword [esp + 0x24]
call fcn.0042d6d0
lea ecx, [esp + 0xe8]
mov byte [esp + 0x13], al
call fcn.00401680
lea ecx, [esp + 0x5c]
mov byte [esp + 0x130], 0
call fcn.00401680
cmp byte [esp + 0x13], 0
jne 0x4b150d
call fcn.004b385e
jmp 0x4b1477
call fcn.004b2f82
mov ebx, dword [ebp + 0xc]
lea esi, [esp + 0x14]
mov dword [eax + 4], ebx
call fcn.004b2f82
mov eax, dword [eax]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
push eax
lea eax, [edi + 0x11f4]
lea ebx, [esp + 0x18]
call fcn.004a7c5d
lea esi, [esp + 0x38]
jmp 0x4b1402
cmp dword [edi + 0x70], 0
je 0x4b1556
lea eax, [esp + 0x34]
mov dword [esp + 0x20], eax
push dword [esp + 0x20]
mov ecx, dword [edi + 0x7c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004a7027
xor eax, eax
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.004b84de
mov esp, ebp
pop ebp
ret 0xc