Function at 0x41b740
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x5517a6
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
or ebp, 0xffffffff
push ebp
xor ebx, ebx
push ebx
lea ecx, [esp + 0x28]
call fcn.0049eff0
mov eax, dword [str.PatternPathes.json]
push ebx
push 2
push ebx
push eax
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0xb8], ebx
call fcn.004bae40
add esp, 0x14
test al, al
je 0x41b873
mov edx, dword [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
call fcn.0041a300
mov eax, dword [esp + 0x1c]
cmp eax, 1
jne 0x41b7e1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41bcbc
cmp dword [eax], ebx
je 0x41bcbc
mov eax, dword [eax]
push eax
call fcn.004fd3b0
mov ecx, dword [esp + 0x18]
mov dword [ecx], ebx
jmp 0x41bcb5
cmp eax, ebx
je 0x41b827
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41b808
cmp dword [eax], ebx
je 0x41b808
mov edx, dword [eax]
push edx
call fcn.004fd3b0
mov eax, dword [esp + 0x18]
mov dword [eax], ebx
add esp, 4
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0xa4], ebp
mov dword [esp + 0x20], vtable.cWCS.0
call fcn.0049ee80
mov eax, esi
jmp 0x41bcd6
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x40], 1
mov byte [esp + 0x44], 1
mov ecx, dword [esp + 0x18]
push str.users
mov byte [esp + 0xa8], 2
call fcn.00417cd0
cmp dword [eax + 4], 2
mov dword [esp + 0x54], eax
je 0x41b892
lea ecx, [esp + 0x38]
mov byte [esp + 0xa4], 1
call fcn.0041a1f0
lea ecx, [esp + 0x14]
call fcn.00418ea0
lea ecx, [esp + 0x20]
mov dword [esp + 0xa4], ebp
mov dword [esp + 0x20], vtable.cWCS.0
call fcn.0049ee80
mov eax, ebp
jmp 0x41bcd6
mov dword [esp + 0x34], ebx
cmp dword [eax + 0x10], ebx
jbe 0x41bc19
nop
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x34]
mov esi, dword [ecx + edx*4]
push 0x56eb44
mov ecx, esi
call fcn.00417cd0
push str.elements
mov ecx, esi
mov edi, eax
call fcn.00417cd0
cmp dword [edi + 4], 5
mov ebp, eax
mov dword [esp + 0x4c], ebp
jne 0x41bbc0
cmp dword [ebp + 4], 2
jne 0x41bbc0
push 0xc
call fcn.0051a2f5
mov esi, eax
add esp, 4
mov dword [esp + 0x48], esi
cmp esi, ebx
je 0x41bb41
push 0xffffffffffffffff
push ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov byte [esi + 8], 1
mov eax, dword [edi + 0x14]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x8c]
call fcn.00402f20
mov ecx, dword [eax + 4]
push ecx
push esi
lea edi, [esp + 0x40]
mov byte [esp + 0xac], 3
call fcn.0041a360
add esp, 8
test al, al
mov edi, vtable.cWCS.0
lea ecx, [esp + 0x7c]
sete bl
mov byte [esp + 0xa4], 2
mov dword [esp + 0x7c], edi
call fcn.0049ee80
test bl, bl
jne 0x41bb60
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x30], 0
jbe 0x41bb22
jmp 0x41b974
mov ebp, dword [esp + 0x4c]
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x30]
mov esi, dword [edx + eax*4]
push 0x56eb44
mov ecx, esi
call fcn.00417cd0
push str.real
mov ecx, esi
mov ebp, eax
call fcn.00417cd0
push 0x56eb34
mov ecx, esi
mov ebx, eax
call fcn.00417cd0
push str.patternXml
mov ecx, esi
mov dword [esp + 0x54], eax
call fcn.00417cd0
cmp dword [esi + 4], 1
mov edi, eax
jne 0x41bb41
cmp dword [ebp + 4], 3
jne 0x41bb41
mov eax, 5
cmp dword [ebx + 4], eax
jne 0x41bb41
mov ecx, dword [esp + 0x50]
cmp dword [ecx + 4], eax
jne 0x41bb41
push 0x10
call fcn.0051a2f5
add esp, 4
test eax, eax
je 0x41ba00
mov ecx, eax
call fcn.004180e0
mov esi, eax
jmp 0x41ba02
xor esi, esi
mov dword [esp + 0x58], esi
test esi, esi
je 0x41bb41
mov edx, dword [ebp + 0x10]
push 0xffffffffffffffff
push 0
mov dword [esi], edx
mov eax, dword [ebx + 0x14]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x6c]
call fcn.00402f20
mov ecx, dword [eax + 4]
push 0
push 0xffffffffffffffff
push ecx
mov byte [esp + 0xb0], 4
call fcn.00402e30
mov dword [esi + 4], eax
mov ebx, vtable.cWCS.0
add esp, 0xc
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa4], 2
mov dword [esp + 0x5c], ebx
call fcn.0049ee80
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 0x14]
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x7c]
call fcn.00402f20
mov ecx, dword [eax + 4]
push 0
push 0xffffffffffffffff
push ecx
mov byte [esp + 0xb0], 5
call fcn.00402e30
mov dword [esi + 8], eax
add esp, 0xc
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa4], 2
mov dword [esp + 0x6c], ebx
call fcn.0049ee80
cmp dword [edi + 4], 5
jne 0x41baf4
mov edx, dword [edi + 0x14]
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x9c]
call fcn.00402f20
mov eax, dword [eax + 4]
push 0
push 0xffffffffffffffff
push eax
mov byte [esp + 0xb0], 6
call fcn.00402e30
mov dword [esi + 0xc], eax
add esp, 0xc
lea ecx, [esp + 0x8c]
mov byte [esp + 0xa4], 2
mov dword [esp + 0x8c], ebx
call fcn.0049ee80
push 1
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x50]
call fcn.00419660
test eax, eax
je 0x41bb90
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [edx + 0x10]
jb 0x41b970
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x54]
inc eax
xor ebx, ebx
mov dword [esp + 0x34], eax
cmp eax, dword [ecx + 0x10]
jae 0x41bc16
mov eax, ecx
jmp 0x41b8a0
lea ecx, [esp + 0x38]
mov byte [esp + 0xa4], 1
call fcn.0041a1f0
lea ecx, [esp + 0x14]
call fcn.00418ea0
jmp 0x41bbf2
mov ecx, esi
call fcn.00419600
push esi
call fcn.0051964d
add esp, 4
lea ecx, [esp + 0x38]
mov byte [esp + 0xa4], 1
call fcn.0041a1f0
lea ecx, [esp + 0x14]
call fcn.00418ea0
mov dword [esp + 0x20], edi
jmp 0x41bbfa
mov ecx, esi
call fcn.00418100
push esi
call fcn.0051964d
add esp, 4
lea ecx, [esp + 0x38]
mov byte [esp + 0xa4], 1
call fcn.0041a1f0
lea ecx, [esp + 0x14]
call fcn.00418ea0
mov dword [esp + 0x20], ebx
jmp 0x41bbfa
lea ecx, [esp + 0x38]
mov byte [esp + 0xa4], 1
call fcn.0041a1f0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41bbf2
cmp dword [eax], ebx
je 0x41bbf2
mov edx, dword [eax]
push edx
call fcn.004fd3b0
mov eax, dword [esp + 0x18]
mov dword [eax], ebx
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], vtable.cWCS.0
lea ecx, [esp + 0x20]
mov dword [esp + 0xa4], 0xffffffff
call fcn.0049ee80
or eax, 0xffffffff
jmp 0x41bcd6
or ebp, 0xffffffff
call fcn.004189f0
mov esi, eax
lea edi, [esi + 0x18]
push 1
mov ecx, edi
call fcn.004017c0
push 1
mov ecx, edi
mov dword [esp + 0x4c], esi
call fcn.004017c0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [esi + 0x20]
mov dword [esi + 0x24], str.pathPatterns_readFromJson
mov dword [esi + 0x28], 0x4da
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x2c], eax
mov byte [esp + 0xa4], 7
call fcn.0041a4a0
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00419150
add dword [esi + 0x20], ebp
add esp, 8
cmp dword [esi + 0x20], ebx
jg 0x41bc83
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x38]
mov byte [esp + 0xa4], 1
call fcn.0041a1f0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41bcbc
cmp dword [eax], ebx
je 0x41bcbc
mov edx, dword [eax]
push edx
call fcn.004fd3b0
mov eax, dword [esp + 0x18]
mov dword [eax], ebx
add esp, 4
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0xa4], ebp
mov dword [esp + 0x20], vtable.cWCS.0
call fcn.0049ee80
xor eax, eax
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret