Function at 0x434080
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440c28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [ebp + 8]
push ebx
push esi
cmp eax, 0x111
push edi
mov ebx, ecx
mov dword [ebp - 0x10], 0
jne 0x4340d4
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx]
push ecx
push edx
mov ecx, ebx
call dword [eax + 0x78]
test eax, eax
je 0x434240
mov dword [ebp - 0x10], 1
jmp case.0x434294.38
cmp eax, 0x4e
jne 0x434102
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x434240
mov edx, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
push eax
mov eax, dword [ebp + 0xc]
mov ecx, ebx
push eax
call dword [edx + 0x7c]
test eax, eax
jne case.0x434294.38
jmp 0x434240
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
cmp eax, 6
jne 0x43411d
push esi
call fcn.00432f80
push eax
push edi
push ebx
call fcn.00432c40
jmp 0x43413a
cmp eax, 0x20
jne 0x43413a
mov ecx, esi
movsx edx, si
shr ecx, 0x10
push ecx
push edx
push ebx
call fcn.00432cb0
test eax, eax
jne 0x4345db
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x28]
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], eax
and eax, 0x1ff
and ecx, 0x1ff
xor eax, ecx
push 7
mov dword [ebp + 0x10], eax
call fcn.0043d090
mov eax, dword [ebp + 0x10]
lea edx, [eax + eax*2]
mov eax, dword [edx*4 + 0x488c50]
lea ecx, [edx*4 + 0x488c50]
mov edx, dword [ebp + 8]
cmp edx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
jne 0x4341ae
cmp eax, dword [ecx + 8]
jne 0x4341ae
mov eax, dword [ecx + 4]
push 7
mov dword [ebp + 0x10], eax
call fcn.0043d110
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x434240
cmp dword [ebp + 8], 0xc000
jb 0x434265
jmp 0x43461e
test eax, eax
mov dword [ecx], edx
mov dword [ecx + 8], eax
je 0x434232
jmp 0x4341bf
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
cmp edx, 0xc000
jae 0x4341de
mov ecx, dword [eax + 4]
push 0
push 0
push edx
push ecx
call fcn.00433fe0
test eax, eax
mov dword [ebp + 0x10], eax
jne 0x434255
jmp 0x434223
mov eax, dword [eax + 4]
push 0
push 0
push 0xc000
push eax
call fcn.00433fe0
test eax, eax
mov dword [ebp + 0x10], eax
je 0x434223
jmp 0x4341fc
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 0x10]
mov ecx, dword [ebp + 8]
cmp dword [edx], ecx
je 0x43460e
push 0
push 0
add eax, 0x18
push 0xc000
push eax
call fcn.00433fe0
test eax, eax
mov dword [ebp + 0x10], eax
jne 0x4341f9
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x4341b9
mov ecx, dword [ebp - 0x14]
push 7
mov dword [ecx + 4], 0
call fcn.0043d110
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0x14]
push 7
mov dword [ecx + 4], eax
call fcn.0043d110
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x14]
cmp dword [ecx + 8], 0x1a
mov edx, dword [ecx + 0x10]
mov dword [ebp + 8], eax
jne 0x43428a
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, dword [ebp + 0x10]
cmp al, 4
mov eax, dword [ebp + 8]
sbb edx, edx
and edx, 0xfffffff0
add edx, 0x2f
dec edx
cmp edx, 0x30
ja case.0x434294.38
jmp dword [edx*4 + 0x434650]
push edi
call fcn.004395d0
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp 0x434627
push edi
mov ecx, ebx
call eax
jmp 0x434627
push esi
push edi
call fcn.00432f80
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp 0x434627
lea ecx, [ebp - 0x24]
call fcn.004394f0
mov ecx, dword [esi + 4]
xor edi, edi
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], edi
call fcn.00432a80
mov eax, dword [esi]
mov esi, dword [esi + 8]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x44], eax
call fcn.00432fc0
cmp eax, edi
jne 0x434316
mov eax, dword [ebx + 0x34]
cmp eax, edi
je 0x434313
mov edx, dword [ebp - 0x44]
lea ecx, [eax + 0x20]
push edx
call fcn.00431ce0
cmp eax, edi
je 0x434313
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x60]
push esi
push eax
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call dword [ebp + 8]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0
call fcn.00433770
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.004396a0
jmp case.0x434294.38
lea ecx, [ebp - 0x24]
call fcn.004394f0
mov ecx, dword [esi + 4]
mov esi, dword [esi + 8]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x20], ecx
push esi
push edx
mov ecx, ebx
mov dword [ebp - 4], 2
call dword [ebp + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
call fcn.004396a0
jmp case.0x434294.38
mov eax, edi
shr eax, 0x10
push eax
push esi
call fcn.00432f80
and edi, 0xffff
push eax
push edi
mov ecx, ebx
call dword [ebp + 8]
jmp 0x434627
mov ecx, edi
shr ecx, 0x10
push ecx
and edi, 0xffff
jmp 0x434622
mov edx, esi
movsx eax, si
shr edx, 0x10
push edx
push eax
push edi
call fcn.00432f80
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp 0x434627
push esi
mov ecx, ebx
call eax
jmp 0x434627
push esi
call fcn.004391a0
mov ecx, edi
push eax
shr ecx, 0x10
and edi, 0xffff
push ecx
push edi
mov ecx, ebx
call dword [ebp + 8]
jmp 0x434627
mov ecx, ebx
call eax
jmp case.0x434294.38
push edi
mov ecx, ebx
call eax
jmp case.0x434294.38
mov edx, esi
shr edx, 0x10
movsx ecx, dx
movsx edx, si
push ecx
push edx
mov ecx, ebx
call eax
jmp case.0x434294.38
mov ecx, esi
and esi, 0xffff
shr ecx, 0x10
push ecx
push esi
push edi
mov ecx, ebx
call eax
jmp case.0x434294.38
mov edx, esi
and esi, 0xffff
shr edx, 0x10
push edx
push esi
push edi
mov ecx, ebx
call eax
jmp case.0x434294.38
push edi
call fcn.00432f80
push eax
push esi
call fcn.00432f80
mov edx, dword [ebx + 0x1c]
push eax
xor eax, eax
cmp edx, esi
sete al
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x434294.38
push edi
call fcn.004395d0
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x434294.38
push edi
call fcn.004391a0
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x434294.38
mov ecx, esi
and esi, 0xffff
shr ecx, 0x10
push ecx
push esi
push edi
call fcn.004391a0
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x434294.38
push edi
call fcn.00432f80
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x434294.38
push esi
call fcn.00432f80
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x434294.38
mov edx, esi
and esi, 0xffff
shr edx, 0x10
push edx
push esi
push edi
call fcn.00432f80
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x434294.38
movsx eax, si
shr esi, 0x10
movsx ecx, si
push ecx
push eax
push edi
call fcn.00432f80
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x434294.38
push esi
push edi
call fcn.00432f80
push eax
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x434294.38
push esi
call fcn.00432f80
push eax
push edi
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x434294.38
mov eax, edi
shr eax, 0x10
push eax
push esi
call fcn.00432f80
and edi, 0xffff
push eax
push edi
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x434294.38
movsx edx, di
shr edi, 0x10
cmp dword [ecx + 0x10], 0x1d
mov dword [ebp + 0x10], edx
movsx edi, di
jne 0x43457c
push esi
call fcn.00432f80
mov ecx, dword [ebp + 0x10]
push eax
push edi
push ecx
mov ecx, ebx
call dword [ebp + 8]
jmp case.0x434294.38
push edi
push edx
mov ecx, ebx
call eax
jmp case.0x434294.38
push esi
push edi
mov ecx, ebx
call eax
jmp case.0x434294.38
movsx ecx, si
shr esi, 0x10
movsx edx, si
push edx
push ecx
jmp 0x434623
mov ecx, ebx
call eax
jmp 0x434627
push esi
mov ecx, ebx
call eax
jmp case.0x434294.38
mov edx, edi
push esi
shr edx, 0x10
and edi, 0xffff
push edx
push edi
mov ecx, ebx
call eax
jmp case.0x434294.38
movsx ecx, si
shr esi, 0x10
movsx edx, si
push edx
push ecx
push edi
mov ecx, ebx
call eax
jmp case.0x434294.38
push esi
push edi
mov ecx, ebx
call eax
mov dword [ebp - 0x10], 1
jmp case.0x434294.38
mov ecx, esi
shr esi, 0x10
and ecx, 0xffff
push esi
push ecx
mov ecx, edi
shr ecx, 0x10
and edi, 0xffff
push ecx
push edi
mov ecx, ebx
call eax
test eax, eax
mov dword [ebp - 0x10], eax
jne case.0x434294.38
jmp 0x434240
mov edx, dword [ebp - 0x14]
push 7
mov dword [edx + 4], eax
call fcn.0043d110
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x14]
push esi
push edi
mov ecx, ebx
call eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x434636
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10