Function at 0x41d1b0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x5a55af
mov eax, dword fs:[0]
push eax
mov eax, 0x8444
call fcn.00515150
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x8440], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x8458]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8468]
mov esi, ecx
mov edi, edx
push str._mobileloader_entry_SilentLinkInstDrv
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
call fcn.0049d036
push 0x41d0
lea eax, [esi + 0x8b0]
push eax
lea ecx, [esp + 0x4290]
push ecx
call fcn.00500790
add esp, 0x10
push ebp
mov ecx, esi
call fcn.00422d70
test eax, eax
jne 0x41d23f
mov dword [edi], 1
jmp 0x41d842
mov eax, ebp
lea esi, [esp + 0x24]
call fcn.0041a480
xor esi, esi
mov dword [esp + 0x8460], esi
cmp dword [esp + 0x28], esi
je 0x41d25e
call fcn.00423120
mov dword [esp + 0x8460], 0xffffffff
mov eax, dword [0x660898]
cmp eax, esi
jne 0x41d297
call fcn.00410d40
cmp eax, esi
je 0x41d28e
push str.CheckCurrentThreadId
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x660898], eax
jmp 0x41d293
mov eax, dword [0x660898]
cmp eax, esi
je 0x41d29b
push 1
call eax
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], esi
mov edi, edi
cmp dword [0x6608a8], 0
jne 0x41d2ea
mov dword [esp + 0x24], 0x6603b0
mov edi, 1
push 0x6603b0
mov dword [esp + 0x8464], edi
call fcn.0041b8f0
mov dword [esp + 0x8460], 0xffffffff
mov dword [0x6608a8], edi
jmp 0x41d2ef
mov edi, 1
cmp dword [0x6603cc], 0
je 0x41d35f
cmp dword [0x6603b4], 0
je 0x41d35f
cmp dword [0x6603bc], 0
jne 0x41d35f
cmp dword [0x6603d4], 0
jne 0x41d35f
cmp dword [0x6608a4], 0
jne 0x41d34a
mov dword [esp + 0x24], 0x660290
push 0x660290
mov dword [esp + 0x8464], 2
call fcn.0041b7a0
mov dword [esp + 0x8460], 0xffffffff
mov dword [0x6608a4], edi
push 3
push ebp
lea ecx, [esp + 0x428c]
push ecx
mov ecx, 0x660290
call fcn.004bbe60
mov ebx, dword [esp + 0x1c]
cmp dword [ebx + 0x41cc], 2
je 0x41d401
xor ecx, ecx
push ebp
mov dword [esp + 0x44], ecx
lea edx, [esp + 0x4288]
mov eax, 0x41c320
push edx
sub esp, 8
cmp dword [0x6608a4], 0
mov dword [esp + 0x4c], eax
mov ecx, 8
lea esi, [esp + 0x4c]
lea edi, [esp + 0x8c]
mov dword [esp + 0x54], ebx
rep movsd dword es:[edi], dword [esi]
mov eax, esp
lea ecx, [esp + 0x8c]
mov dword [esp + 0x34], esp
mov dword [eax], 0x431fb0
mov dword [eax + 4], ecx
jne 0x41d3f2
mov dword [esp + 0x34], 0x660290
push 0x660290
mov dword [esp + 0x8474], 3
call fcn.0041b7a0
mov dword [esp + 0x8470], 0xffffffff
mov dword [0x6608a4], 1
push 0x660290
call fcn.004bacb0
mov edi, 1
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x8038]
call fcn.004066b0
mov dword [esp + 0x8460], 4
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jne 0x41d4bc
cmp dword [0x6608a4], 0
jne 0x41d45c
mov dword [esp + 0x24], 0x660290
push 0x660290
mov byte [esp + 0x8464], 5
call fcn.0041b7a0
mov byte [esp + 0x8460], 4
mov dword [0x6608a4], edi
push 0
push ebp
lea eax, [esp + 0x428c]
push eax
mov ecx, 0x660290
call fcn.004bbe60
test eax, eax
je 0x41d6fc
lea eax, [esp + 0x8034]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41d483
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x8034]
mov ebx, eax
push ecx
lea eax, [esp + 0x18]
call fcn.004072f0
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
mov ebx, dword [esp + 0x1c]
mov edi, 1
je 0x41d811
push 0x5d9a4c
push eax
call fcn.004f69f9
add esp, 8
test eax, eax
jne 0x41d80d
cmp dword [esp + 0x18], eax
jne 0x41d57e
cmp dword [0x65e100], eax
jne 0x41d4f5
push 0x623830
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [0x65e100], edi
mov eax, 2
cmp dword [0x623840], eax
jne 0x41d57e
cmp dword [0x623834], 6
jb 0x41d57e
cmp dword [0x623838], eax
jb 0x41d57e
mov eax, ebp
lea esi, [esp + 0x34]
call fcn.0041a480
mov byte [esp + 0x8460], 6
cmp dword [esp + 0x38], 0
je 0x41d53a
call fcn.0047b6b0
mov dword [esp + 0x38], 0
mov byte [esp + 0x8460], 4
mov eax, dword [0x660898]
test eax, eax
jne 0x41d570
call fcn.00410d40
test eax, eax
je 0x41d567
push str.CheckCurrentThreadId
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x660898], eax
jmp 0x41d56c
mov eax, dword [0x660898]
test eax, eax
je 0x41d573
push edi
call eax
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
lea ecx, [esp + 0x4284]
push ecx
push ebx
mov ecx, ebp
call fcn.0041cb60
test eax, eax
je 0x41d6fc
mov eax, 0x41d0
mov edx, 0x423dd0
xor ebx, ebx
lea esi, [esp + 0x4284]
call fcn.00515150
mov eax, dword [esp + 0x41ec]
mov edi, esp
push eax
mov ecx, 0x1074
push ebx
rep movsd dword es:[edi], dword [esi]
push edx
lea ecx, [esp + 0x4278]
push ecx
call fcn.00431130
add esp, 0x41e0
push eax
lea edi, [esp + 0x34]
call fcn.004311e0
mov byte [esp + 0x8460], 7
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 8]
mov ebx, dword [esp + 0x30]
test eax, eax
jne 0x41d637
mov eax, dword [0x660278]
test eax, eax
jne 0x41d623
call fcn.00410d40
test eax, eax
je 0x41d61a
push str.GetWorkFlowMsg
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x660278], eax
jmp 0x41d61f
mov eax, dword [0x660278]
test eax, eax
je 0x41d627
call eax
jmp 0x41d629
xor eax, eax
mov edx, dword [ebp]
push 0
push ebx
push eax
mov eax, dword [edx + 0x20]
mov ecx, ebp
call eax
cmp dword [ebx + 0xc], 0
je 0x41d710
call fcn.0042d250
lea ecx, [esp + 0x5c]
call fcn.004bf710
mov edi, dword [eax + 0x1c]
lea esi, [esp + 0x5c]
mov byte [esp + 0x8460], 8
call fcn.0042dca0
mov byte [esp + 0x8460], 7
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004f6734
add esp, 4
test edi, edi
jne 0x41d7b1
inc dword [esp + 0x18]
call fcn.0042d250
mov edi, ebp
call fcn.004bdf80
lea esi, [ebx + 4]
mov byte [esp + 0x8460], 4
push esi
test eax, eax
je 0x41d803
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41d6c1
test esi, esi
je 0x41d6c1
lea ecx, [esi - 4]
test ecx, ecx
je 0x41d6c1
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esp + 0x8460], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d6ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x18], 2
jl 0x41d2b0
jmp 0x41d83e
mov dword [esp + 0x8460], 0xffffffff
mov eax, dword [esp + 0x14]
jmp 0x41d81c
cmp dword [esp + 0x18], 0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [ecx + 0x8a4], 0
mov dword [edx], 1
jne 0x41d764
cmp dword [0x65e100], 0
jne 0x41d74d
push 0x623830
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [0x65e100], 1
cmp dword [0x623840], 2
jne 0x41d764
cmp dword [0x623834], 6
jne 0x41d764
call fcn.0047b710
lea esi, [ebx + 4]
push esi
mov byte [esp + 0x8464], 4
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41d78d
test esi, esi
je 0x41d78d
lea ecx, [esi - 4]
test ecx, ecx
je 0x41d78d
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esp + 0x8460], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41d832
lea esi, [ebx + 4]
mov dword [esp + 0x2c], 1
mov byte [esp + 0x8460], 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41d7e2
test esi, esi
je 0x41d7e2
lea ecx, [esi - 4]
test ecx, ecx
je 0x41d7e2
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esp + 0x8460], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41d832
mov dword [esp + 0x30], 0
jmp 0x41d7c5
mov eax, dword [esp + 0x14]
mov dword [esp + 0x8460], 0xffffffff
mov ecx, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [ecx], edi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d83e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x8458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8440]
xor ecx, esp
call fcn.004f673f
add esp, 0x8450
ret 4