Function at 0x40c1a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5131b0
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x563524]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x130], esi
mov eax, dword [section..data]
test eax, eax
js 0x40c1f0
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x144], ecx
jmp 0x40c2bc
push 0x118
xorps xmm0, xmm0
mov dword [section..data], 0
lea eax, [ebp - 0x128]
mov dword [ebp - 0x1a8], 0
push 0
push eax
movups xmmword [ebp - 0x1c8], xmm0
movups xmmword [ebp - 0x1b8], xmm0
call fcn.0049ff20
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x12c]
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
push eax
call esi
test eax, eax
jne 0x40c25f
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x114
push eax
call esi
test eax, eax
je 0x40c2ac
push 0x522f38
push 0x522d98
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c2ac
lea ecx, [ebp - 0x1c8]
push ecx
call eax
mov ax, word [ebp - 0x1c8]
cmp ax, 9
je 0x40c296
cmp ax, 6
jne 0x40c2ac
mov dword [section..data], 1
mov dword [ebp - 0x144], 1
jmp 0x40c2b6
mov dword [ebp - 0x144], 0
mov esi, dword [ebp - 0x130]
call fcn.00405300
mov ecx, eax
test ecx, ecx
je 0x40cecc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x138], eax
push str.main
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], 0
call fcn.004046d0
test al, al
jne 0x40c308
push 4
push str.main
lea ecx, [ebp - 0x138]
call fcn.00405ac0
lea eax, [ebp - 0x138]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00408de0
mov edx, dword [ebp - 0x138]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40c344
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x40c72c
call fcn.00405300
mov ecx, eax
test ecx, ecx
je 0x40ced6
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x134], eax
push str.lite_show_checkbox
lea ecx, [ebp - 0x134]
mov dword [ebp - 4], 2
call fcn.004046d0
test al, al
jne 0x40c398
push 0x12
push str.lite_show_checkbox
lea ecx, [ebp - 0x134]
call fcn.00405ac0
lea eax, [ebp - 0x134]
mov dword [ebp - 4], 3
push eax
mov ecx, esi
call fcn.00409030
mov edx, dword [ebp - 0x134]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40c3d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x40c3ec
push dword [edi + 4]
call fcn.004be3b8
mov ecx, dword [ebp - 0x130]
add esp, 4
mov dword [ecx + 0x40], eax
call fcn.00405300
mov ecx, eax
test ecx, ecx
je 0x40cee0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x134], eax
push str.lite_default_check
lea ecx, [ebp - 0x134]
mov dword [ebp - 4], 4
call fcn.004046d0
test al, al
jne 0x40c438
push 0x12
push str.lite_default_check
lea ecx, [ebp - 0x134]
call fcn.00405ac0
lea eax, [ebp - 0x134]
mov dword [ebp - 4], 5
push eax
mov ecx, esi
call fcn.00409030
mov edx, dword [ebp - 0x134]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40c474
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x40c48e
push dword [edi + 4]
call fcn.004be3b8
mov edi, dword [ebp - 0x130]
add esp, 4
mov dword [edi + 0x44], eax
jmp 0x40c494
mov edi, dword [ebp - 0x130]
call fcn.00405300
mov ecx, eax
test ecx, ecx
je 0x40ceea
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x134], eax
push 0x522e34
lea ecx, [ebp - 0x134]
mov dword [ebp - 4], 6
call fcn.004046d0
test al, al
jne 0x40c4e0
push 5
push 0x522e34
lea ecx, [ebp - 0x134]
call fcn.00405ac0
lea eax, [ebp - 0x134]
mov dword [ebp - 4], 7
push eax
mov ecx, esi
call fcn.00409030
mov edx, dword [ebp - 0x134]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40c51c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x40c72c
push dword [esi + 4]
call fcn.004be3b8
xor esi, esi
mov dword [ebp - 0x1a4], eax
add esp, 4
mov dword [ebp - 0x174], esi
test eax, eax
jle 0x40c72c
call fcn.00405300
mov ecx, eax
test ecx, ecx
je 0x40cecc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x140], eax
push esi
lea eax, [ebp - 0x140]
mov dword [ebp - 4], 8
push 0x522e40
push eax
call fcn.0040b3a0
add esp, 0xc
lea eax, [ebp - 0x140]
mov ecx, edi
push eax
call fcn.00408de0
mov esi, eax
mov dword [ebp - 0x138], esi
test esi, esi
jne 0x40c5c8
mov edx, dword [ebp - 0x140]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c713
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40c713
call fcn.00405300
mov ecx, eax
test ecx, ecx
je 0x40cecc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x134], eax
push str.softids
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 9
call fcn.004046d0
test al, al
jne 0x40c611
push 7
push str.softids
lea ecx, [ebp - 0x134]
call fcn.00405ac0
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 0xa
push eax
push esi
lea eax, [ebp - 0x13c]
mov ecx, edi
push eax
call fcn.0040b550
mov edx, dword [ebp - 0x134]
or eax, 0xffffffff
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c64d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x13c]
cmp dword [eax - 0xc], 0
jne 0x40c67e
lea edx, [eax - 0x10]
mov byte [ebp - 4], 8
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c59a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40c59a
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x17c]
push eax
lea ecx, [edi + 0x30]
call fcn.0040d1c0
mov eax, dword [edi + 0x30]
mov esi, dword [ebp - 0x17c]
cmp esi, eax
je 0x40c6bb
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x13c]
push eax
lea ecx, [edi + 0x30]
call fcn.00408990
test al, al
je 0x40c6bd
mov eax, dword [edi + 0x30]
mov esi, eax
cmp esi, dword [edi + 0x30]
jne 0x40c747
mov edx, dword [ebp - 0x13c]
or eax, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c6e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x140]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c70d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x130]
mov esi, dword [ebp - 0x174]
inc esi
mov dword [ebp - 0x174], esi
cmp esi, dword [ebp - 0x1a4]
jl 0x40c545
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004734f8
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 0
je 0x40c6c6
push 0x34
call fcn.0042e570
mov esi, eax
add esp, 4
mov dword [ebp - 0x178], esi
test esi, esi
je 0x40c899
call fcn.00405300
mov ecx, eax
test ecx, ecx
je 0x40cecc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
call fcn.00405300
mov ecx, eax
test ecx, ecx
je 0x40cecc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi + 4], eax
call fcn.00405300
mov ecx, eax
test ecx, ecx
je 0x40cecc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi + 8], eax
mov dword [esi + 0xc], reloc.OLEAUT32.dll_SysReAllocString
call fcn.00405300
mov ecx, eax
test ecx, ecx
je 0x40cecc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
call fcn.00405300
mov ecx, eax
test ecx, ecx
je 0x40cecc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
call fcn.00405300
mov ecx, eax
test ecx, ecx
je 0x40cecc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x18], eax
call fcn.00405300
mov ecx, eax
test ecx, ecx
je 0x40cecc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0
call fcn.00405300
mov ecx, eax
test ecx, ecx
je 0x40cecc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x24], eax
call fcn.00405300
mov ecx, eax
test ecx, ecx
je 0x40cecc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x28], eax
call fcn.00405300
mov ecx, eax
test ecx, ecx
je 0x40cecc
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 1
jmp 0x40c89b
xor esi, esi
push 0x522e58
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x178], esi
call fcn.004043a0
mov edi, dword [ebp - 0x138]
lea eax, [ebp - 0x148]
mov ecx, dword [ebp - 0x130]
push eax
push edi
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 0xd
push eax
call fcn.0040b550
push eax
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.0040b020
mov edx, dword [ebp - 0x180]
or eax, 0xffffffff
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c903
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x148]
or eax, 0xffffffff
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c925
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x144], 0
mov ecx, str.urls_x86
mov eax, str.urls_x64
cmove eax, ecx
lea ecx, [ebp - 0x14c]
push eax
call fcn.004043a0
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x14c]
push eax
push edi
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 0xf
push eax
call fcn.0040b550
lea ecx, [esi + 4]
mov byte [ebp - 4], 0x10
push eax
call fcn.0040b020
mov edx, dword [ebp - 0x184]
or eax, 0xffffffff
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c992
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14c]
or eax, 0xffffffff
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c9b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x144], 0
mov ecx, str.md5_x86
mov eax, str.md5_x64
cmove eax, ecx
lea ecx, [ebp - 0x150]
push eax
call fcn.004043a0
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x150]
push eax
push edi
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 0x11
push eax
call fcn.0040b550
push eax
lea ecx, [esi + 8]
mov byte [ebp - 4], 0x12
call fcn.0040b020
mov edx, dword [ebp - 0x188]
or eax, 0xffffffff
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ca21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x150]
or eax, 0xffffffff
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ca43
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.hkey
lea ecx, [ebp - 0x154]
call fcn.004043a0
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x154]
push eax
push edi
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0x13
push eax
call fcn.0040b550
push eax
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 0x14
call fcn.0040b020
mov edx, dword [ebp - 0x18c]
or eax, 0xffffffff
mov byte [ebp - 4], 0x13
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40caa0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x154]
or eax, 0xffffffff
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40cac2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esi + 0x28]
call fcn.00432d80
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [ebp - 0x158]
push str.subkey
call fcn.004043a0
mov edi, dword [ebp - 0x138]
lea eax, [ebp - 0x158]
mov ecx, dword [ebp - 0x130]
push eax
push edi
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0x15
push eax
call fcn.0040b550
push eax
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 0x16
call fcn.0040b020
mov edx, dword [ebp - 0x190]
or eax, 0xffffffff
mov byte [ebp - 4], 0x15
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40cb33
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x158]
or eax, 0xffffffff
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40cb55
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x522ec8
lea ecx, [ebp - 0x15c]
call fcn.004043a0
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x15c]
push eax
push edi
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 0x17
push eax
call fcn.0040b550
push eax
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 0x18
call fcn.0040b020
mov edx, dword [ebp - 0x194]
or eax, 0xffffffff
mov byte [ebp - 4], 0x17
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40cbb2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x15c]
or eax, 0xffffffff
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40cbd4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x522ed4
lea ecx, [ebp - 0x160]
call fcn.004043a0
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x160]
push eax
push edi
lea eax, [ebp - 0x198]
mov byte [ebp - 4], 0x19
push eax
call fcn.0040b550
push eax
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 0x1a
call fcn.0040b020
mov edx, dword [ebp - 0x198]
or eax, 0xffffffff
mov byte [ebp - 4], 0x19
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40cc31
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x160]
or eax, 0xffffffff
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40cc53
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.param
lea ecx, [ebp - 0x164]
call fcn.004043a0
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x164]
push eax
push edi
lea eax, [ebp - 0x19c]
mov byte [ebp - 4], 0x1b
push eax
call fcn.0040b550
push eax
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 0x1c
call fcn.0040b020
mov edx, dword [ebp - 0x19c]
or eax, 0xffffffff
mov byte [ebp - 4], 0x1b
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ccb0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x164]
or eax, 0xffffffff
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ccd2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.percent
lea ecx, [ebp - 0x168]
call fcn.004043a0
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 0x1d
push eax
mov ecx, edi
call fcn.00409030
test eax, eax
je 0x40cd03
push dword [eax + 4]
call fcn.004be3b8
add esp, 4
mov dword [esi + 0x20], eax
or eax, 0xffffffff
mov edx, dword [ebp - 0x168]
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40cd28
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x13c]
push eax
lea ecx, [esi + 0x24]
call fcn.0040b020
push str.signer
lea ecx, [ebp - 0x16c]
call fcn.004043a0
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x16c]
push eax
push dword [ebp - 0x138]
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 0x1e
push eax
call fcn.0040b550
push eax
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 0x1f
call fcn.0040b020
mov edx, dword [ebp - 0x1a0]
or eax, 0xffffffff
mov byte [ebp - 4], 0x1e
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40cd99
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x16c]
or eax, 0xffffffff
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40cdbb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.check
lea ecx, [ebp - 0x170]
call fcn.004043a0
mov ecx, dword [ebp - 0x138]
lea eax, [ebp - 0x170]
push eax
mov byte [ebp - 4], 0x20
call fcn.00409030
test eax, eax
je 0x40cdf0
push dword [eax + 4]
call fcn.004be3b8
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 0xc
test eax, eax
setg cl
or eax, 0xffffffff
mov dword [esi + 0x30], ecx
mov edx, dword [ebp - 0x170]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ce1c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, esi
call fcn.0040b6a0
test eax, eax
jne 0x40ce97
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x40ce97
mov eax, dword [esi + 4]
cmp dword [eax - 0xc], 0
je 0x40ce97
mov eax, dword [esi + 0x24]
cmp dword [eax - 0xc], 0
je 0x40ce97
mov edi, dword [ebp - 0x130]
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
cmp eax, ecx
je 0x40ce60
cmp dword [eax], esi
je 0x40ce5c
add eax, 4
cmp eax, ecx
jne 0x40ce51
cmp eax, ecx
jne 0x40cebe
cmp dword [edi + 0x14], ecx
je 0x40ce79
mov dword [ecx], esi
mov edx, dword [ebp - 0x13c]
add dword [edi + 0x10], 4
add edx, 0xfffffff0
jmp 0x40c65c
lea eax, [ebp - 0x178]
push eax
push ecx
lea ecx, [edi + 0xc]
call fcn.0040a290
mov edx, dword [ebp - 0x13c]
add edx, 0xfffffff0
jmp 0x40c65c
push dword [esi]
push str._s_has_installed
call fcn.004268e0
add esp, 8
mov ecx, esi
call fcn.0040aed0
push 0x34
push esi
call fcn.00473509
mov edi, dword [ebp - 0x130]
add esp, 8
mov edx, dword [ebp - 0x13c]
add edx, 0xfffffff0
jmp 0x40c65c
push 0x80004005
call fcn.004046b0
push 0x80004005
call fcn.004046b0
push 0x80004005
call fcn.004046b0
push 0x80004005
call fcn.004046b0
int3