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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100cd3c4
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x100f93e0]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
mov eax, dword [0x100f93e0]
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 0x1005a58d
mov eax, 0x80004005
jmp 0x1005a984
cmp dword [ebp + 8], 0x64
je 0x1005a609
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.10058485
push dword [edi + 4]
lea esi, [esp + 0x3c]
call fcn.1006a6c4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1005a5de
cmp eax, dword [esp + 0x38]
je 0x1005a5e3
call fcn.10077a21
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x3c]
je 0x1005a5fc
lea esi, [esp + 0x14]
call fcn.10058511
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
lea esi, [esp + 0x30]
call fcn.100584f7
mov ebx, dword [esp + 0x24]
mov eax, dword [ebp + 8]
cmp eax, 0x54
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
ja 0x1005a807
cmp eax, 0x53
jae 0x1005a962
cmp eax, 0x40
je 0x1005a962
cmp eax, 0x48
jbe 0x1005a970
cmp eax, 0x4a
jbe 0x1005a962
cmp eax, 0x4b
jne 0x1005a970
test ecx, ecx
je 0x1005a970
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.1005c038
push dword [edi + 4]
lea esi, [esp + 0x34]
call fcn.1006a6c4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1005a6a8
cmp eax, dword [esp + 0x30]
je 0x1005a6ad
call fcn.10077a21
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x34]
je 0x1005a7ed
lea esi, [esp + 0x14]
call fcn.10058511
mov edi, 0x100c
add eax, edi
push eax
lea ecx, [esp + 0x120]
call fcn.10001465
lea eax, [esp + 0x11c]
push eax
mov byte [esp + 0x14c], 4
call fcn.1005ba11
cmp eax, 0xffffffff
push dword [esp + 0x20]
mov dword [esp + 0x3c], eax
je 0x1005a7ce
lea ecx, [esp + 0xb0]
call fcn.10001465
mov esi, eax
push 0x100e57b0
lea ecx, [esp + 0x78]
mov byte [esp + 0x14c], 5
call fcn.10001465
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.1005ba82
push ebx
push eax
lea eax, [esp + 0xd0]
push eax
mov byte [esp + 0x154], 7
call fcn.1000c65f
add esp, 0xc
push esi
push eax
lea eax, [esp + 0x98]
push eax
mov byte [esp + 0x154], 8
call fcn.1000c65f
add esp, 0xc
push eax
lea ecx, [esp + 0x120]
mov byte [esp + 0x14c], 9
call fcn.100091dd
lea ecx, [esp + 0x90]
call fcn.100014d3
lea ecx, [esp + 0xc8]
call fcn.100014d3
lea ecx, [esp + 0x58]
call fcn.100014d3
lea ecx, [esp + 0x74]
call fcn.100014d3
lea ecx, [esp + 0xac]
call fcn.100014d3
lea ecx, [esp + 0x11c]
call fcn.100014e8
push eax
lea esi, [esp + 0x18]
call fcn.10058511
add eax, edi
push eax
call fcn.1007d7b0
pop ecx
pop ecx
lea ecx, [esp + 0x11c]
call fcn.100014d3
or dword [esp + 0x148], 0xffffffff
lea esi, [esp + 0x28]
call fcn.100584f7
mov ebx, dword [esp + 0x24]
jmp 0x1005a970
cmp eax, 0x56
jb 0x1005a970
cmp eax, 0x57
jbe 0x1005a962
cmp eax, 0x63
je 0x1005a962
cmp eax, 0x64
jne 0x1005a970
test ecx, ecx
je 0x1005a970
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.1006a6c4
push dword [edi + 4]
lea esi, [esp + 0x4c]
call fcn.1006a6c4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1005a885
cmp eax, dword [esp + 0x48]
je 0x1005a88a
call fcn.10077a21
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x4c]
je 0x1005a94f
push dword [esp + 0x20]
lea ecx, [esp + 0xe8]
call fcn.10001465
mov dword [esp + 0x38], eax
lea esi, [esp + 0x14]
mov byte [esp + 0x148], 1
call fcn.10058511
add eax, 8
push eax
lea ecx, [esp + 0x104]
call fcn.10001465
mov byte [esp + 0x148], 2
push dword [esp + 0x38]
push eax
call fcn.1003839d
pop ecx
pop ecx
lea ecx, [esp + 0x100]
mov byte [esp + 0x1f], al
call fcn.100014d3
lea ecx, [esp + 0xe4]
mov byte [esp + 0x148], 0
call fcn.100014d3
cmp byte [esp + 0x1f], 0
jne 0x1005a916
call fcn.1005cb4c
jmp 0x1005a86b
call fcn.10058511
mov ecx, dword [ebp + 0xc]
lea esi, [esp + 0x14]
mov dword [eax + 4], ecx
call fcn.10058511
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.10058087
mov ebx, dword [esp + 0x24]
or dword [esp + 0x148], 0xffffffff
lea esi, [esp + 0x28]
call fcn.100584f7
jmp 0x1005a970
cmp dword [ebx + 0x70], 0
je 0x1005a970
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.10057274
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.100771ba
mov esp, ebp
pop ebp
ret 0xc