Function at 0x4167d0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x459d88
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
call fcn.0042bf20
cmp dword [0x474f04], 0
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebp, eax
lea esi, [ebp + 1]
je 0x41687d
mov eax, dword [0x473cfc]
mov edx, dword [eax + 0xc]
mov ecx, 0x473cfc
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
push esi
push 0x16
push str._QTSvcStat__idx___lu__value___lu
lea edi, [esp + 0x20]
mov dword [esp + 0x2c], 0
call fcn.004073c0
mov edi, dword [esp + 0x20]
add esp, 0xc
push edi
call ebx
lea eax, [edi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41686b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x474f04]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push esi
push 0x16
push 0x41
call eax
xor esi, esi
test ebp, ebp
jle 0x416896
mov esi, 2
call fcn.0042c000
test eax, eax
je 0x416896
mov esi, 1
cmp dword [0x474f04], 0
je 0x416989
mov edx, dword [0x473cfc]
mov eax, dword [edx + 0xc]
mov ecx, 0x473cfc
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push esi
push 0x17
push str._QTSvcStat__idx___lu__value___lu
lea edi, [esp + 0x20]
mov dword [esp + 0x2c], 2
call fcn.004073c0
mov edi, dword [esp + 0x20]
add esp, 0xc
push edi
call ebx
or ebp, 0xffffffff
lea eax, [edi - 0x10]
mov dword [esp + 0x20], ebp
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4168ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x474f04]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push esi
push 0x17
push 0x41
call eax
cmp dword [0x474f04], 0
je 0x41698c
mov edx, dword [0x473cfc]
mov eax, dword [edx + 0xc]
mov ecx, 0x473cfc
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 1
push 0x18
push str._QTSvcStat__idx___lu__value___lu
lea edi, [esp + 0x20]
mov dword [esp + 0x2c], 4
call fcn.004073c0
mov esi, dword [esp + 0x20]
add esp, 0xc
push esi
call ebx
lea eax, [esi - 0x10]
mov dword [esp + 0x20], ebp
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416974
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x474f04]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 1
push 0x18
push 0x41
call eax
jmp 0x41698c
or ebp, 0xffffffff
lea ecx, [esp + 0x14]
xor esi, esi
push ecx
mov dword [esp + 0x18], esi
call fcn.0042c0e0
add esp, 4
test eax, eax
je 0x4169b4
cmp dword [esp + 0x14], 0
mov esi, 2
je 0x4169b4
mov esi, 1
cmp dword [0x474f04], 0
je 0x416a28
mov edx, dword [0x473cfc]
mov eax, dword [edx + 0xc]
mov ecx, 0x473cfc
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push esi
push 0x23
push str._QTSvcStat__idx___lu__value___lu
lea edi, [esp + 0x20]
mov dword [esp + 0x2c], 6
call fcn.004073c0
mov edi, dword [esp + 0x20]
add esp, 0xc
push edi
call ebx
lea eax, [edi - 0x10]
mov dword [esp + 0x20], ebp
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416a16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x474f04]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push esi
push 0x23
push 0x41
call eax
lea ecx, [esp + 0x14]
xor esi, esi
push ecx
mov dword [esp + 0x18], esi
call fcn.0042c070
add esp, 4
test eax, eax
je 0x416a50
cmp dword [esp + 0x14], 0
mov esi, 2
je 0x416a50
mov esi, 1
cmp dword [0x474f04], 0
je 0x416ac2
mov edx, dword [0x473cfc]
mov eax, dword [edx + 0xc]
mov ecx, 0x473cfc
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push esi
push 0x24
push str._QTSvcStat__idx___lu__value___lu
lea edi, [esp + 0x20]
mov dword [esp + 0x2c], 8
call fcn.004073c0
mov edi, dword [esp + 0x20]
add esp, 0xc
push edi
call ebx
lea eax, [edi - 0x10]
mov dword [esp + 0x20], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x416ab0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x474f04]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push esi
push 0x24
push 0x41
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret