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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c0043
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x100e93e0]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
mov eax, dword [0x100e93e0]
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 0x10054324
mov eax, 0x80004005
jmp 0x1005471b
cmp dword [ebp + 8], 0x64
je 0x100543a0
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.1005227a
push dword [edi + 4]
lea esi, [esp + 0x3c]
call fcn.100528be
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10054375
cmp eax, dword [esp + 0x38]
je 0x1005437a
call fcn.10070b1d
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x3c]
je 0x10054393
lea esi, [esp + 0x14]
call fcn.10052306
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
lea esi, [esp + 0x30]
call fcn.100522ec
mov ebx, dword [esp + 0x24]
mov eax, dword [ebp + 8]
cmp eax, 0x54
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
ja 0x1005459e
cmp eax, 0x53
jae 0x100546f9
cmp eax, 0x40
je 0x100546f9
cmp eax, 0x48
jbe 0x10054707
cmp eax, 0x4a
jbe 0x100546f9
cmp eax, 0x4b
jne 0x10054707
test ecx, ecx
je 0x10054707
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.10055dcf
push dword [edi + 4]
lea esi, [esp + 0x34]
call fcn.100528be
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1005443f
cmp eax, dword [esp + 0x30]
je 0x10054444
call fcn.10070b1d
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x34]
je 0x10054584
lea esi, [esp + 0x14]
call fcn.10052306
mov edi, 0x100c
add eax, edi
push eax
lea ecx, [esp + 0x120]
call fcn.10001451
lea eax, [esp + 0x11c]
push eax
mov byte [esp + 0x14c], 4
call fcn.100557a8
cmp eax, 0xffffffff
push dword [esp + 0x20]
mov dword [esp + 0x3c], eax
je 0x10054565
lea ecx, [esp + 0xb0]
call fcn.10001451
mov esi, eax
push 0x100d60f0
lea ecx, [esp + 0x78]
mov byte [esp + 0x14c], 5
call fcn.10001451
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.10055819
push ebx
push eax
lea eax, [esp + 0xd0]
push eax
mov byte [esp + 0x154], 7
call fcn.100082ff
add esp, 0xc
push esi
push eax
lea eax, [esp + 0x98]
push eax
mov byte [esp + 0x154], 8
call fcn.100082ff
add esp, 0xc
push eax
lea ecx, [esp + 0x120]
mov byte [esp + 0x14c], 9
call fcn.10004f50
lea ecx, [esp + 0x90]
call fcn.100014bf
lea ecx, [esp + 0xc8]
call fcn.100014bf
lea ecx, [esp + 0x58]
call fcn.100014bf
lea ecx, [esp + 0x74]
call fcn.100014bf
lea ecx, [esp + 0xac]
call fcn.100014bf
lea ecx, [esp + 0x11c]
call fcn.100014d4
push eax
lea esi, [esp + 0x18]
call fcn.10052306
add eax, edi
push eax
call fcn.10076db0
pop ecx
pop ecx
lea ecx, [esp + 0x11c]
call fcn.100014bf
or dword [esp + 0x148], 0xffffffff
lea esi, [esp + 0x28]
call fcn.100522ec
mov ebx, dword [esp + 0x24]
jmp 0x10054707
cmp eax, 0x56
jb 0x10054707
cmp eax, 0x57
jbe 0x100546f9
cmp eax, 0x63
je 0x100546f9
cmp eax, 0x64
jne 0x10054707
test ecx, ecx
je 0x10054707
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.100528be
push dword [edi + 4]
lea esi, [esp + 0x4c]
call fcn.100528be
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1005461c
cmp eax, dword [esp + 0x48]
je 0x10054621
call fcn.10070b1d
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x4c]
je 0x100546e6
push dword [esp + 0x20]
lea ecx, [esp + 0xe8]
call fcn.10001451
mov dword [esp + 0x38], eax
lea esi, [esp + 0x14]
mov byte [esp + 0x148], 1
call fcn.10052306
add eax, 8
push eax
lea ecx, [esp + 0x104]
call fcn.10001451
mov byte [esp + 0x148], 2
push dword [esp + 0x38]
push eax
call fcn.100330ff
pop ecx
pop ecx
lea ecx, [esp + 0x100]
mov byte [esp + 0x1f], al
call fcn.100014bf
lea ecx, [esp + 0xe4]
mov byte [esp + 0x148], 0
call fcn.100014bf
cmp byte [esp + 0x1f], 0
jne 0x100546ad
call fcn.1005681a
jmp 0x10054602
call fcn.10052306
mov ecx, dword [ebp + 0xc]
lea esi, [esp + 0x14]
mov dword [eax + 4], ecx
call fcn.10052306
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.10051e7c
mov ebx, dword [esp + 0x24]
or dword [esp + 0x148], 0xffffffff
lea esi, [esp + 0x28]
call fcn.100522ec
jmp 0x10054707
cmp dword [ebx + 0x70], 0
je 0x10054707
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.10051084
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.10070c21
mov esp, ebp
pop ebp
ret 0xc