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

Disassembly:
push 0xffffffffffffffff
push 0x40dcc6
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51f580]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x34], ebp
mov eax, dword [esp + 0x5c]
push eax
call dword [0x40f448]
mov ecx, dword [esp + 0x60]
lea edi, [ebp + 8]
push ecx
mov ecx, edi
mov dword [esp + 0x58], 0
mov dword [ebp], 0x40fd6c
call dword [0x40f55c]
mov edx, dword [0x40f548]
lea ebx, [ebp + 0xc]
mov dword [ebx], edx
mov eax, edx
mov ecx, 1
lock xadd dword [eax], ecx
lea ecx, [ebp + 0x14]
mov byte [esp + 0x54], 2
call dword [0x40f48c]
mov dword [ebp + 0x14], 0x40fc44
mov edx, dword [0x40f4b0]
mov dword [ebp + 0x24], edx
mov eax, edx
mov ecx, 1
lock xadd dword [eax], ecx
mov edx, dword [0x40f548]
mov dword [ebp + 0x28], edx
mov eax, edx
mov ecx, 1
lock xadd dword [eax], ecx
xor eax, eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x2c], eax
push edi
lea ecx, [esp + 0x60]
mov byte [esp + 0x58], 3
call dword [0x40f55c]
mov edx, dword [edi]
cmp dword [edx + 8], 0
mov byte [esp + 0x54], 4
jne 0x401dd2
lea eax, [esp + 0x60]
push eax
call dword [0x40f5ec]
add esp, 4
push eax
mov ecx, edi
mov byte [esp + 0x58], 5
call dword [0x40f5e8]
mov ecx, dword [esp + 0x60]
mov byte [esp + 0x54], 4
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x401d32
mov eax, dword [esp + 0x60]
push eax
call dword [0x40f54c]
add esp, 4
lea ecx, [esp + 0x60]
push ecx
mov ecx, edi
call dword [0x40f4fc]
push eax
mov ecx, edi
mov byte [esp + 0x58], 6
call dword [0x40f5e8]
mov edx, dword [esp + 0x60]
mov byte [esp + 0x54], 4
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x401d6d
mov ecx, dword [esp + 0x60]
push ecx
call dword [0x40f54c]
add esp, 4
push ecx
mov dword [esp + 0x64], esp
mov eax, esp
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
mov byte [esp + 0x38], 0x2f
mov edx, dword [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov dword [eax], 0
call dword [0x40f5e4]
lea eax, [esp + 0x70]
push eax
mov ecx, edi
call dword [0x40f5e0]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x58], 7
call dword [0x40f5e8]
mov ecx, dword [esp + 0x60]
mov byte [esp + 0x54], 4
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x401dd2
mov eax, dword [esp + 0x60]
push eax
call dword [0x40f54c]
add esp, 4
push 0xffffffffffffffff
push str._a_zA_Z_
call dword [0x40f5dc]
add esp, 8
mov dword [esp + 0x60], eax
push 0
push 1
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x60], 8
call dword [0x40f5d8]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x58], 9
call dword [0x40f5d4]
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 8
call dword [0x40f5d0]
mov edx, dword [esp + 0x60]
mov byte [esp + 0x54], 4
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x401e3d
mov ecx, dword [esp + 0x60]
push ecx
call dword [0x40f54c]
add esp, 4
push 6
lea ecx, [esp + 0x60]
call dword [0x40f5cc]
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call dword [0x40f5c8]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push ecx
push eax
mov byte [esp + 0x5c], 0xa
call dword [0x40f5c4]
push 0xffffffffffffffff
push str.qtsingleapp_
movzx edi, ax
call dword [0x40f5c0]
mov dword [esp + 0x70], eax
push 0x10
lea ecx, [esp + 0x3c]
push edi
push ecx
mov byte [esp + 0x70], 0xb
call dword [0x40f50c]
mov edi, eax
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x7c], 0xc
call fcn.00401190
mov dword [esp + 0x58], eax
add esp, 0x24
mov byte [esp + 0x30], 0x2d
mov edx, dword [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x5c], 0xd
call dword [0x40f5e4]
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00401210
push edi
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x6c], 0xe
call fcn.00401190
add esp, 0x18
push eax
mov ecx, ebx
mov byte [esp + 0x58], 0xf
call dword [0x40f504]
mov eax, dword [esp + 0x1c]
mov edi, dword [0x40f54c]
mov byte [esp + 0x54], 0xe
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x401f27
mov edx, dword [esp + 0x1c]
push edx
call edi
add esp, 4
mov eax, dword [esp + 0x20]
mov byte [esp + 0x54], 0xd
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x401f43
mov edx, dword [esp + 0x20]
push edx
call edi
add esp, 4
mov eax, dword [esp + 0x24]
mov byte [esp + 0x54], 0xc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x401f5f
mov edx, dword [esp + 0x24]
push edx
call edi
add esp, 4
mov eax, dword [esp + 0x28]
mov byte [esp + 0x54], 0xb
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x401f7b
mov edx, dword [esp + 0x28]
push edx
call edi
add esp, 4
mov eax, dword [esp + 0x60]
mov byte [esp + 0x54], 0xa
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x401f97
mov edx, dword [esp + 0x60]
push edx
call edi
add esp, 4
cmp dword [0x51f5b0], 0
jne 0x402016
push 0xffffffffffffffff
push str.kernel32
call dword [0x40f5dc]
add esp, 8
mov dword [esp + 0x60], eax
push 0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x5c], 0x10
call dword [0x40f5bc]
mov ecx, dword [esp + 0x60]
mov byte [esp + 0x54], 0x12
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x401fe6
mov eax, dword [esp + 0x60]
push eax
call edi
add esp, 4
push str.ProcessIdToSessionId
lea ecx, [esp + 0x40]
call dword [0x40f5b8]
lea ecx, [esp + 0x3c]
mov dword [0x51f5b0], eax
mov byte [esp + 0x54], 0xa
call dword [0x40f5b4]
cmp dword [0x51f5b0], 0
je 0x4020b5
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x64], 0
call dword [0x40f180]
push eax
call dword [0x51f5b0]
mov edx, dword [esp + 0x60]
push 0x10
push edx
lea eax, [esp + 0x2c]
push eax
call dword [0x40f5b0]
add esp, 0xc
push eax
push ecx
mov byte [esp + 0x38], 0x2d
mov edx, dword [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x60], 0x13
call dword [0x40f5e4]
lea eax, [esp + 0x30]
push eax
call fcn.00401290
add esp, 0xc
push eax
mov ecx, ebx
mov byte [esp + 0x58], 0x14
call dword [0x40f520]
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x54], 0x13
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x402099
mov eax, dword [esp + 0x28]
push eax
call edi
add esp, 4
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x54], 0xa
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4020b5
mov eax, dword [esp + 0x24]
push eax
call edi
add esp, 4
push 8
call fcn.0040cd5a
mov edi, eax
add esp, 4
mov dword [esp + 0x60], edi
mov byte [esp + 0x54], 0x15
test edi, edi
je 0x4020e1
push ebp
mov ecx, edi
call dword [0x40f890]
mov dword [edi], 0x40fcf0
mov eax, edi
jmp 0x4020e3
xor eax, eax
push 0xffffffffffffffff
push str._lockfile
mov byte [esp + 0x5c], 0xa
mov dword [ebp + 0x10], eax
call dword [0x40f5c0]
mov dword [esp + 0x68], eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x60], 0x16
call dword [0x40f5ac]
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 0x17
call dword [0x40f5a8]
lea edx, [esp + 0x20]
push edx
mov ecx, eax
mov byte [esp + 0x58], 0x18
call dword [0x40f5a4]
mov edi, eax
push ecx
mov byte [esp + 0x34], 0x2f
mov eax, dword [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x5c], 0x19
call dword [0x40f5e4]
lea ecx, [esp + 0x28]
push edi
push ecx
call fcn.00401210
push ebx
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x6c], 0x1a
call fcn.00401190
lea ecx, [esp + 0x78]
push ecx
push eax
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x78], 0x1b
call fcn.00401190
add esp, 0x24
mov eax, dword [esp + 0x28]
mov edi, dword [0x40f54c]
mov byte [esp + 0x54], 0x1d
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4021a5
mov edx, dword [esp + 0x28]
push edx
call edi
add esp, 4
mov eax, dword [esp + 0x24]
mov byte [esp + 0x54], 0x1e
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4021c1
mov edx, dword [esp + 0x24]
push edx
call edi
add esp, 4
mov eax, dword [esp + 0x20]
mov byte [esp + 0x54], 0x1f
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4021dd
mov edx, dword [esp + 0x20]
push edx
call edi
add esp, 4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 0x20
call dword [0x40f5a0]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x54], 0x21
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x402208
mov edx, dword [esp + 0x1c]
push edx
call edi
add esp, 4
mov eax, dword [esp + 0x60]
mov byte [esp + 0x54], 0x22
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x402224
mov edx, dword [esp + 0x60]
push edx
call edi
add esp, 4
lea eax, [esp + 0x14]
push eax
lea ecx, [ebp + 0x14]
call dword [0x40f59c]
push ecx
mov eax, esp
mov dword [eax], 3
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x30]
lea ecx, [ebp + 0x14]
mov dword [esp + 0x3c], esp
call eax
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x54], 0xa
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x402266
mov eax, dword [esp + 0x14]
push eax
call edi
add esp, 4
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x54], 4
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x402286
mov eax, dword [esp + 0x18]
push eax
call dword [0x40f4e8]
add esp, 4
mov ecx, dword [esp + 0x5c]
mov byte [esp + 0x54], 3
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4022a2
mov eax, dword [esp + 0x5c]
push eax
call edi
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 8