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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ccb64
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x100f83e0]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
mov eax, dword [0x100f83e0]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov ebx, ecx
cmp dword [ebx + 0x7c], 0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
jne 0x1005a477
mov eax, 0x80004005
jmp 0x1005a86e
cmp dword [ebp + 8], 0x64
je 0x1005a4f3
lea eax, [ebx + 0x1254]
mov dword [esp + 0x34], eax
add eax, 4
push eax
mov dword [esp + 0x34], vtable.QQDectector::fund::lock::scoped_lock_class_QQDectector::fund::lock::critical_section_.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp + 0xc]
lea edi, [ebx + 0x11f4]
push eax
lea ebx, [esp + 0x18]
mov eax, edi
call fcn.1005836a
push dword [edi + 4]
lea esi, [esp + 0x3c]
call fcn.1005cc59
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1005a4c8
cmp eax, dword [esp + 0x38]
je 0x1005a4cd
call fcn.10077911
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x3c]
je 0x1005a4e6
lea esi, [esp + 0x14]
call fcn.100583f6
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
lea esi, [esp + 0x30]
call fcn.100583dc
mov ebx, dword [esp + 0x24]
mov eax, dword [ebp + 8]
cmp eax, 0x54
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
ja 0x1005a6f1
cmp eax, 0x53
jae 0x1005a84c
cmp eax, 0x40
je 0x1005a84c
cmp eax, 0x48
jbe 0x1005a85a
cmp eax, 0x4a
jbe 0x1005a84c
cmp eax, 0x4b
jne 0x1005a85a
test ecx, ecx
je 0x1005a85a
lea eax, [ebx + 0x1254]
mov dword [esp + 0x2c], eax
add eax, 4
push eax
mov dword [esp + 0x2c], vtable.QQDectector::fund::lock::scoped_lock_class_QQDectector::fund::lock::critical_section_.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp + 0xc]
lea edi, [ebx + 0x11e8]
push eax
lea ebx, [esp + 0x18]
mov eax, edi
mov dword [esp + 0x14c], 3
call fcn.1005bf22
push dword [edi + 4]
lea esi, [esp + 0x34]
call fcn.1005cc59
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1005a592
cmp eax, dword [esp + 0x30]
je 0x1005a597
call fcn.10077911
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x34]
je 0x1005a6d7
lea esi, [esp + 0x14]
call fcn.100583f6
mov edi, 0x100c
add eax, edi
push eax
lea ecx, [esp + 0x120]
call fcn.10001438
lea eax, [esp + 0x11c]
push eax
mov byte [esp + 0x14c], 4
call fcn.1005b8fb
cmp eax, 0xffffffff
push dword [esp + 0x20]
mov dword [esp + 0x3c], eax
je 0x1005a6b8
lea ecx, [esp + 0xb0]
call fcn.10001438
mov esi, eax
push 0x100e4650
lea ecx, [esp + 0x78]
mov byte [esp + 0x14c], 5
call fcn.10001438
mov ebx, eax
mov byte [esp + 0x148], 6
push dword [esp + 0x38]
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x124]
push eax
call fcn.1005b96c
push ebx
push eax
lea eax, [esp + 0xd0]
push eax
mov byte [esp + 0x154], 7
call fcn.1000c509
add esp, 0xc
push esi
push eax
lea eax, [esp + 0x98]
push eax
mov byte [esp + 0x154], 8
call fcn.1000c509
add esp, 0xc
push eax
lea ecx, [esp + 0x120]
mov byte [esp + 0x14c], 9
call fcn.1000909b
lea ecx, [esp + 0x90]
call fcn.100014a6
lea ecx, [esp + 0xc8]
call fcn.100014a6
lea ecx, [esp + 0x58]
call fcn.100014a6
lea ecx, [esp + 0x74]
call fcn.100014a6
lea ecx, [esp + 0xac]
call fcn.100014a6
lea ecx, [esp + 0x11c]
call fcn.100014bb
push eax
lea esi, [esp + 0x18]
call fcn.100583f6
add eax, edi
push eax
call fcn.1007d360
pop ecx
pop ecx
lea ecx, [esp + 0x11c]
call fcn.100014a6
or dword [esp + 0x148], 0xffffffff
lea esi, [esp + 0x28]
call fcn.100583dc
mov ebx, dword [esp + 0x24]
jmp 0x1005a85a
cmp eax, 0x56
jb 0x1005a85a
cmp eax, 0x57
jbe 0x1005a84c
cmp eax, 0x63
je 0x1005a84c
cmp eax, 0x64
jne 0x1005a85a
test ecx, ecx
je 0x1005a85a
lea eax, [ebx + 0x1254]
mov dword [esp + 0x2c], eax
add eax, 4
push eax
mov dword [esp + 0x2c], vtable.QQDectector::fund::lock::scoped_lock_class_QQDectector::fund::lock::critical_section_.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [esp + 0x148], 0
lea edi, [ebx + 0x11e8]
mov eax, dword [edi + 4]
push dword [eax]
lea esi, [esp + 0x18]
call fcn.1005cc59
push dword [edi + 4]
lea esi, [esp + 0x4c]
call fcn.1005cc59
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1005a76f
cmp eax, dword [esp + 0x48]
je 0x1005a774
call fcn.10077911
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x4c]
je 0x1005a839
push dword [esp + 0x20]
lea ecx, [esp + 0xe8]
call fcn.10001438
mov dword [esp + 0x38], eax
lea esi, [esp + 0x14]
mov byte [esp + 0x148], 1
call fcn.100583f6
add eax, 8
push eax
lea ecx, [esp + 0x104]
call fcn.10001438
mov byte [esp + 0x148], 2
push dword [esp + 0x38]
push eax
call fcn.10038954
pop ecx
pop ecx
lea ecx, [esp + 0x100]
mov byte [esp + 0x1f], al
call fcn.100014a6
lea ecx, [esp + 0xe4]
mov byte [esp + 0x148], 0
call fcn.100014a6
cmp byte [esp + 0x1f], 0
jne 0x1005a800
call fcn.1005ca51
jmp 0x1005a755
call fcn.100583f6
mov ecx, dword [ebp + 0xc]
lea esi, [esp + 0x14]
mov dword [eax + 4], ecx
call fcn.100583f6
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
push eax
lea eax, [ebx + 0x11f4]
lea ebx, [esp + 0x3c]
mov dword [esp + 0x54], ecx
call fcn.10057f6c
mov ebx, dword [esp + 0x24]
or dword [esp + 0x148], 0xffffffff
lea esi, [esp + 0x28]
call fcn.100583dc
jmp 0x1005a85a
cmp dword [ebx + 0x70], 0
je 0x1005a85a
lea eax, [esp + 0x44]
mov dword [esp + 0x20], eax
push dword [ebp + 0xc]
mov edx, dword [esp + 0x24]
push dword [ebp + 8]
mov ecx, dword [ebx + 0x7c]
call fcn.10057174
xor eax, eax
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.100770aa
mov esp, ebp
pop ebp
ret 0xc