Function at 0x10028390
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013a4fc
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x1019bc84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x130], edi
mov eax, dword [0x1019a1b8]
test eax, eax
js 0x100283e0
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x144], ecx
jmp 0x100284a6
push 0x118
xorps xmm0, xmm0
mov dword [0x1019a1b8], 0
lea eax, [ebp - 0x128]
mov dword [ebp - 0x1b4], 0
push 0
push eax
movups xmmword [ebp - 0x1d4], xmm0
movups xmmword [ebp - 0x1c4], xmm0
call fcn.100e3030
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 0x1002844f
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x114
push eax
call esi
test eax, eax
je 0x1002849c
push str.GetNativeSystemInfo
push 0x10151e80
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1002849c
lea ecx, [ebp - 0x1d4]
push ecx
call eax
mov ax, word [ebp - 0x1d4]
cmp ax, 9
je 0x10028486
cmp ax, 6
jne 0x1002849c
mov dword [0x1019a1b8], 1
mov dword [ebp - 0x144], 1
jmp 0x100284a6
mov dword [ebp - 0x144], 0
call fcn.1000ca70
mov ecx, eax
test ecx, ecx
je 0x10029047
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x134], eax
push str.main
lea ecx, [ebp - 0x134]
mov dword [ebp - 4], 0
call fcn.1000df70
test al, al
jne 0x100284f2
push 4
push str.main
lea ecx, [ebp - 0x134]
call fcn.1000d5b0
lea eax, [ebp - 0x134]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.10019180
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 0x1002852e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x100287ce
call fcn.1000ca70
mov ecx, eax
test ecx, ecx
je 0x10029051
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x138], eax
push str.count
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], 2
call fcn.1000df70
test al, al
jne 0x10028582
push 5
push str.count
lea ecx, [ebp - 0x138]
call fcn.1000d5b0
lea eax, [ebp - 0x138]
mov dword [ebp - 4], 3
push eax
mov ecx, esi
call fcn.100193d0
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 0x100285be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x100287ce
push dword [esi + 4]
call fcn.101101f1
xor esi, esi
mov dword [ebp - 0x1a4], eax
add esp, 4
mov dword [ebp - 0x174], esi
test eax, eax
jle 0x100287ce
call fcn.1000ca70
mov ecx, eax
test ecx, ecx
je 0x10029047
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], 4
push 0x10154518
push eax
call fcn.1000ade0
add esp, 0xc
lea eax, [ebp - 0x140]
mov ecx, edi
push eax
call fcn.10019180
mov esi, eax
mov dword [ebp - 0x134], esi
test esi, esi
jne 0x1002866a
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 0x100287b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100287b5
call fcn.1000ca70
mov ecx, eax
test ecx, ecx
je 0x10029047
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x138], eax
push str.softids
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 5
call fcn.1000df70
test al, al
jne 0x100286b3
push 7
push str.softids
lea ecx, [ebp - 0x138]
call fcn.1000d5b0
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 6
push eax
push esi
lea eax, [ebp - 0x13c]
mov ecx, edi
push eax
call fcn.10027650
mov edx, dword [ebp - 0x138]
or eax, 0xffffffff
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100286ef
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 0x10028720
lea edx, [eax - 0x10]
mov byte [ebp - 4], 4
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002863c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1002863c
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [edi + 0x30]
call fcn.10029310
mov eax, dword [edi + 0x30]
mov esi, dword [ebp - 0x1a0]
cmp esi, eax
je 0x1002875d
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x13c]
push eax
lea ecx, [edi + 0x30]
call fcn.10018d30
test al, al
je 0x1002875f
mov eax, dword [edi + 0x30]
mov esi, eax
cmp esi, dword [edi + 0x30]
jne 0x100287e9
mov edx, dword [ebp - 0x13c]
or eax, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002878a
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 0x100287af
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 0x100285e7
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.1009de58
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 0
je 0x10028768
push 0x34
call fcn.1009e3f9
mov esi, eax
add esp, 4
mov dword [ebp - 0x14c], esi
test esi, esi
je 0x1002893b
call fcn.1000ca70
mov ecx, eax
test ecx, ecx
je 0x10029047
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
call fcn.1000ca70
mov ecx, eax
test ecx, ecx
je 0x10029047
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi + 4], eax
call fcn.1000ca70
mov ecx, eax
test ecx, ecx
je 0x10029047
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.1000ca70
mov ecx, eax
test ecx, ecx
je 0x10029047
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
call fcn.1000ca70
mov ecx, eax
test ecx, ecx
je 0x10029047
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
call fcn.1000ca70
mov ecx, eax
test ecx, ecx
je 0x10029047
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x18], eax
call fcn.1000ca70
mov ecx, eax
test ecx, ecx
je 0x10029047
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.1000ca70
mov ecx, eax
test ecx, ecx
je 0x10029047
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x24], eax
call fcn.1000ca70
mov ecx, eax
test ecx, ecx
je 0x10029047
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x28], eax
call fcn.1000ca70
mov ecx, eax
test ecx, ecx
je 0x10029047
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 0x1002893d
xor esi, esi
push str.name
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x14c], esi
call fcn.1000dd80
mov edi, dword [ebp - 0x134]
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 0x130]
push eax
push edi
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 9
push eax
call fcn.10027650
push eax
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.1001cb00
mov edx, dword [ebp - 0x1a8]
or eax, 0xffffffff
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100289a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x178]
or eax, 0xffffffff
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100289c7
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 - 0x150]
push eax
call fcn.1000dd80
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x150]
push eax
push edi
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 0xb
push eax
call fcn.10027650
lea ecx, [esi + 4]
mov byte [ebp - 4], 0xc
push eax
call fcn.1001cb00
mov edx, dword [ebp - 0x180]
or eax, 0xffffffff
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10028a34
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], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10028a56
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 - 0x154]
push eax
call fcn.1000dd80
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x154]
push eax
push edi
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 0xd
push eax
call fcn.10027650
push eax
lea ecx, [esi + 8]
mov byte [ebp - 4], 0xe
call fcn.1001cb00
mov edx, dword [ebp - 0x184]
or eax, 0xffffffff
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10028ac3
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], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10028ae5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.hkey
lea ecx, [ebp - 0x158]
call fcn.1000dd80
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x158]
push eax
push edi
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 0xf
push eax
call fcn.10027650
push eax
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 0x10
call fcn.1001cb00
mov edx, dword [ebp - 0x188]
or eax, 0xffffffff
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10028b42
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], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10028b64
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esi + 0x28]
call fcn.1000ee40
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [ebp - 0x15c]
push str.subkey
call fcn.1000dd80
mov edi, dword [ebp - 0x134]
lea eax, [ebp - 0x15c]
mov ecx, dword [ebp - 0x130]
push eax
push edi
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 0x11
push eax
call fcn.10027650
push eax
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 0x12
call fcn.1001cb00
mov edx, dword [ebp - 0x18c]
or eax, 0xffffffff
mov byte [ebp - 4], 0x11
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10028bd5
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], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10028bf7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.value
lea ecx, [ebp - 0x160]
call fcn.1000dd80
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x160]
push eax
push edi
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0x13
push eax
call fcn.10027650
push eax
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 0x14
call fcn.1001cb00
mov edx, dword [ebp - 0x190]
or eax, 0xffffffff
mov byte [ebp - 4], 0x13
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10028c54
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], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10028c76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x101545ac
lea ecx, [ebp - 0x164]
call fcn.1000dd80
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x164]
push eax
push edi
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 0x15
push eax
call fcn.10027650
push eax
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 0x16
call fcn.1001cb00
mov edx, dword [ebp - 0x194]
or eax, 0xffffffff
mov byte [ebp - 4], 0x15
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10028cd3
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], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10028cf5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.param
lea ecx, [ebp - 0x168]
call fcn.1000dd80
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x168]
push eax
push edi
lea eax, [ebp - 0x198]
mov byte [ebp - 4], 0x17
push eax
call fcn.10027650
push eax
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 0x18
call fcn.1001cb00
mov edx, dword [ebp - 0x198]
or eax, 0xffffffff
mov byte [ebp - 4], 0x17
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10028d52
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x168]
or eax, 0xffffffff
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10028d74
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.percent
lea ecx, [ebp - 0x16c]
call fcn.1000dd80
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 0x19
push eax
mov ecx, edi
call fcn.100193d0
test eax, eax
je 0x10028da5
push dword [eax + 4]
call fcn.101101f1
add esp, 4
mov dword [esi + 0x20], eax
or eax, 0xffffffff
mov edx, dword [ebp - 0x16c]
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10028dca
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.1001cb00
push str.signer
lea ecx, [ebp - 0x170]
call fcn.1000dd80
mov ecx, dword [ebp - 0x130]
lea eax, [ebp - 0x170]
push eax
push dword [ebp - 0x134]
lea eax, [ebp - 0x19c]
mov byte [ebp - 4], 0x1a
push eax
call fcn.10027650
push eax
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 0x1b
call fcn.1001cb00
mov edx, dword [ebp - 0x19c]
or eax, 0xffffffff
mov byte [ebp - 4], 0x1a
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10028e3b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x170]
or eax, 0xffffffff
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10028e5d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.check
lea ecx, [ebp - 0x17c]
call fcn.1000dd80
mov ecx, dword [ebp - 0x134]
lea eax, [ebp - 0x17c]
push eax
mov byte [ebp - 4], 0x1c
call fcn.100193d0
test eax, eax
je 0x10028e92
push dword [eax + 4]
call fcn.101101f1
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 8
test eax, eax
setg cl
or eax, 0xffffffff
mov dword [esi + 0x30], ecx
mov edx, dword [ebp - 0x17c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10028ebe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, esi
call fcn.100277a0
test eax, eax
jne 0x10028f3d
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x10028f3d
mov eax, dword [esi + 4]
cmp dword [eax - 0xc], 0
je 0x10028f3d
mov eax, dword [esi + 0x24]
cmp dword [eax - 0xc], 0
je 0x10028f3d
mov edi, dword [ebp - 0x130]
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
cmp eax, ecx
je 0x10028f06
cmp dword [eax], esi
je 0x10028efe
add eax, 4
cmp eax, ecx
jne 0x10028ef3
cmp eax, ecx
jne 0x10029039
cmp dword [edi + 0x14], ecx
je 0x10028f1f
mov dword [ecx], esi
mov edx, dword [ebp - 0x13c]
add dword [edi + 0x10], 4
add edx, 0xfffffff0
jmp 0x100286fe
lea eax, [ebp - 0x14c]
push eax
push ecx
lea ecx, [edi + 0xc]
call fcn.10026700
mov edx, dword [ebp - 0x13c]
add edx, 0xfffffff0
jmp 0x100286fe
mov ecx, esi
call fcn.100277a0
test eax, eax
je 0x10029012
lea ecx, [ebp - 0x148]
call fcn.1000a880
push dword [esi + 0x24]
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0x1d
push str._s_installed
push eax
call fcn.1000ade0
add esp, 0xc
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x14c], esp
mov dword [eax + 0x24], 0
mov ecx, dword [0x101a0920]
mov byte [ebp - 4], 0x1e
test ecx, ecx
jne 0x10028ff0
push 0x1019a1a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x101a0920], 0
jne 0x10028fdf
push 0x34
call fcn.1009e3f9
add esp, 4
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x10028fc9
mov ecx, eax
call fcn.1002e460
jmp 0x10028fcb
xor eax, eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x1b0]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x101a0920], eax
push 0x1019a1a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x101a0920]
push 0
push 0
push dword [ebp - 0x148]
mov byte [ebp - 4], 0x1d
call fcn.10030840
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 8
call fcn.1000a960
push dword [esi]
push str._s_has_installed
call fcn.1004d170
add esp, 8
mov ecx, esi
call fcn.10027160
push 0x34
push esi
call fcn.1009de6e
mov edi, dword [ebp - 0x130]
add esp, 8
mov edx, dword [ebp - 0x13c]
add edx, 0xfffffff0
jmp 0x100286fe
push 0x80004005
call fcn.1000aab0
push 0x80004005
call fcn.1000aab0
int3