Function at 0x47a908
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x35
push 0
push 0
dec ecx
jne 0x47a910
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x47b1b4
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x47b16e
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor esi, esi
mov dword [ebp - 0x150], 0x9c
lea eax, [ebp - 0x150]
push eax
call sub.kernel32.dll_GetVersionExA_1
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x47a9a2
mov dword [ebp - 0xb4], 0x94
lea eax, [ebp - 0xb4]
push eax
call sub.kernel32.dll_GetVersionExA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x47a99c
mov ebx, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47b189
mov byte [ebp - 0x19], 0
jmp 0x47a9d8
mov byte [ebp - 0x19], 1
mov dword [ebp - 0xb4], 0x94
lea eax, [ebp - 0xb4]
push eax
call sub.kernel32.dll_GetVersionExA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x47a9d8
mov ebx, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47b189
xor edi, edi
lea eax, [ebp - 4]
mov edx, 0x47b1cc
call fcn.00404b08
mov eax, dword [ebp - 0xa4]
dec eax
je 0x47a9fc
dec eax
je 0x47ad61
jmp 0x47b0e5
mov esi, dword [ebp - 0xb0]
mov eax, esi
sub eax, 4
jne 0x47ad57
mov eax, dword [ebp - 0xac]
sub eax, 1
jb 0x47aa2f
sub eax, 9
je 0x47ab72
sub eax, 0x50
je 0x47acb5
jmp 0x47ad57
movzx eax, word [ebp - 0xa8]
sub ax, 0x3b6
je 0x47aa4b
sub ax, 0xa1
je 0x47aadc
jmp 0x47ab68
push 0x47b1ec
lea eax, [ebp - 0x154]
lea edx, [ebp - 0xa0]
mov ecx, 0x80
call fcn.00404ce0
push dword [ebp - 0x154]
push 0x47b208
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x158]
call fcn.00409050
push dword [ebp - 0x158]
push 0x47b214
mov eax, dword [ebp - 0xac]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x15c]
call fcn.00409050
push dword [ebp - 0x15c]
push 0x47b214
lea edx, [ebp - 0x160]
movzx eax, word [ebp - 0xa8]
call fcn.00408f64
push dword [ebp - 0x160]
push 0x47b220
lea eax, [ebp - 4]
mov edx, 9
call fcn.00404e20
jmp 0x47ab68
push 0x47b22c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0xa0]
mov ecx, 0x80
call fcn.00404ce0
push dword [ebp - 0x164]
push 0x47b208
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x168]
call fcn.00409050
push dword [ebp - 0x168]
push 0x47b214
mov eax, dword [ebp - 0xac]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x16c]
call fcn.00409050
push dword [ebp - 0x16c]
push 0x47b214
lea edx, [ebp - 0x170]
movzx eax, word [ebp - 0xa8]
call fcn.00408f64
push dword [ebp - 0x170]
push 0x47b220
lea eax, [ebp - 4]
mov edx, 9
call fcn.00404e20
mov edi, 1
jmp 0x47ad57
movzx eax, word [ebp - 0xa8]
sub ax, 0x7ce
je 0x47ab8e
sub ax, 0xe0
je 0x47ac1f
jmp 0x47acab
push 0x47b248
lea eax, [ebp - 0x174]
lea edx, [ebp - 0xa0]
mov ecx, 0x80
call fcn.00404ce0
push dword [ebp - 0x174]
push 0x47b208
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x178]
call fcn.00409050
push dword [ebp - 0x178]
push 0x47b214
mov eax, dword [ebp - 0xac]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x17c]
call fcn.00409050
push dword [ebp - 0x17c]
push 0x47b214
lea edx, [ebp - 0x180]
movzx eax, word [ebp - 0xa8]
call fcn.00408f64
push dword [ebp - 0x180]
push 0x47b220
lea eax, [ebp - 4]
mov edx, 9
call fcn.00404e20
jmp 0x47acab
push 0x47b25c
lea eax, [ebp - 0x184]
lea edx, [ebp - 0xa0]
mov ecx, 0x80
call fcn.00404ce0
push dword [ebp - 0x184]
push 0x47b208
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x188]
call fcn.00409050
push dword [ebp - 0x188]
push 0x47b214
mov eax, dword [ebp - 0xac]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18c]
call fcn.00409050
push dword [ebp - 0x18c]
push 0x47b214
lea edx, [ebp - 0x190]
movzx eax, word [ebp - 0xa8]
call fcn.00408f64
push dword [ebp - 0x190]
push 0x47b220
lea eax, [ebp - 4]
mov edx, 9
call fcn.00404e20
mov edi, 2
jmp 0x47ad57
movzx eax, word [ebp - 0xa8]
sub ax, 0xbb8
jne 0x47ad52
push 0x47b280
lea eax, [ebp - 0x194]
lea edx, [ebp - 0xa0]
mov ecx, 0x80
call fcn.00404ce0
push dword [ebp - 0x194]
push 0x47b208
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x198]
call fcn.00409050
push dword [ebp - 0x198]
push 0x47b214
mov eax, dword [ebp - 0xac]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x19c]
call fcn.00409050
push dword [ebp - 0x19c]
push 0x47b214
lea edx, [ebp - 0x1a0]
movzx eax, word [ebp - 0xa8]
call fcn.00408f64
push dword [ebp - 0x1a0]
push 0x47b220
lea eax, [ebp - 4]
mov edx, 9
call fcn.00404e20
mov edi, 5
mov esi, 1
jmp 0x47b0e5
cmp dword [ebp - 0xb0], 4
jne 0x47ad87
cmp dword [ebp - 0xac], 0
jne 0x47ad87
mov edi, 3
lea eax, [ebp - 4]
mov edx, 0x47b29c
call fcn.00404b08
jmp 0x47add1
cmp dword [ebp - 0xb0], 5
jne 0x47adad
cmp dword [ebp - 0xac], 0
jne 0x47adad
mov edi, 4
lea eax, [ebp - 4]
mov edx, 0x47b2b0
call fcn.00404b08
jmp 0x47add1
cmp dword [ebp - 0xb0], 6
jne 0x47add1
cmp dword [ebp - 0xac], 0
jne 0x47add1
mov edi, 0xc
lea eax, [ebp - 4]
mov edx, 0x47b2c8
call fcn.00404b08
cmp byte [ebp - 0x19], 1
jne 0x47afdd
movzx eax, byte [ebp - 0xb6]
cmp al, 1
jne 0x47ae4d
cmp dword [ebp - 0x14c], 5
jne 0x47ae0a
cmp dword [ebp - 0x148], 1
jne 0x47ae0a
mov edi, 8
lea eax, [ebp - 4]
mov edx, 0x47b2e0
call fcn.00404b08
movzx eax, word [ebp - 0xb8]
and ax, 0x200
cmp ax, 0x200
jne 0x47ae34
lea eax, [ebp - 4]
mov edx, 0x47b2f4
call fcn.00404d58
mov dword [ebp - 0x18], 0x7d0
jmp 0x47afb1
lea eax, [ebp - 4]
mov edx, 0x47b30c
call fcn.00404d58
mov dword [ebp - 0x18], 0x834
jmp 0x47afb1
cmp al, 3
jne 0x47afb1
cmp dword [ebp - 0x14c], 5
jne 0x47ae79
cmp dword [ebp - 0x148], 1
jne 0x47ae79
mov edi, 0xb
lea eax, [ebp - 4]
mov edx, 0x47b324
call fcn.00404b08
movzx eax, word [ebp - 0xb8]
mov edx, eax
and dx, 0x80
cmp dx, 0x80
jne 0x47aea7
lea eax, [ebp - 4]
mov edx, 0x47b344
call fcn.00404d58
mov dword [ebp - 0x18], 0x578
jmp 0x47af2e
mov edx, eax
and dx, 2
cmp dx, 2
jne 0x47aefa
cmp dword [ebp - 0x14c], 4
je 0x47aece
cmp dword [ebp - 0x14c], 5
jne 0x47aee4
cmp dword [ebp - 0x148], 0
jne 0x47aee4
lea eax, [ebp - 4]
mov edx, 0x47b360
call fcn.00404d58
mov dword [ebp - 0x18], 0x4b0
jmp 0x47af2e
lea eax, [ebp - 4]
mov edx, 0x47b37c
call fcn.00404d58
mov dword [ebp - 0x18], 0x514
jmp 0x47af2e
and ax, 0x400
cmp ax, 0x400
jne 0x47af1a
lea eax, [ebp - 4]
mov edx, 0x47b398
call fcn.00404d58
mov dword [ebp - 0x18], 0x3e8
jmp 0x47af2e
lea eax, [ebp - 4]
mov edx, 0x47b3ac
call fcn.00404d58
mov dword [ebp - 0x18], 0x44c
lea eax, [ebp - 4]
mov edx, 0x47b208
call fcn.00404d58
movzx esi, word [ebp - 0xb8]
mov eax, esi
and ax, 4
cmp ax, 4
jne 0x47af5b
lea eax, [ebp - 4]
mov edx, 0x47b3bc
call fcn.00404d58
mov eax, esi
and ax, 1
cmp ax, 1
jne 0x47af74
lea eax, [ebp - 4]
mov edx, 0x47b3d0
call fcn.00404d58
mov eax, esi
and ax, 0x20
cmp ax, 0x20
jne 0x47af8d
lea eax, [ebp - 4]
mov edx, 0x47b3f0
call fcn.00404d58
and si, 0x10
cmp si, 0x10
jne 0x47afa4
lea eax, [ebp - 4]
mov edx, 0x47b41c
call fcn.00404d58
lea eax, [ebp - 4]
mov edx, 0x47b220
call fcn.00404d58
lea eax, [ebp - 8]
lea edx, [ebp - 0x13c]
mov ecx, 0x80
call fcn.00404ce0
movzx eax, word [ebp - 0xbc]
mov dword [ebp - 0x10], eax
movzx eax, word [ebp - 0xba]
mov dword [ebp - 0x14], eax
jmp 0x47b0e0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x47b438
mov edx, 0x47b44c
mov eax, 0x80000002
call fcn.0047a110
test eax, eax
jne 0x47b0bc
lea edx, [ebp - 0x1a4]
mov eax, dword [ebp - 0xc]
call fcn.00408968
mov eax, dword [ebp - 0x1a4]
mov edx, 0x47b484
call fcn.00404eb4
jne 0x47b033
lea eax, [ebp - 4]
mov edx, 0x47b494
call fcn.00404d58
mov dword [ebp - 0x18], 0x898
jmp 0x47b09d
lea edx, [ebp - 0x1a8]
mov eax, dword [ebp - 0xc]
call fcn.00408968
mov eax, dword [ebp - 0x1a8]
mov edx, 0x47b4ac
call fcn.00404eb4
jne 0x47b069
lea eax, [ebp - 4]
mov edx, 0x47b4c0
call fcn.00404d58
mov dword [ebp - 0x18], 0x44c
jmp 0x47b09d
lea edx, [ebp - 0x1ac]
mov eax, dword [ebp - 0xc]
call fcn.00408968
mov eax, dword [ebp - 0x1ac]
mov edx, 0x47b4d0
call fcn.00404eb4
jne 0x47b09d
lea eax, [ebp - 4]
mov edx, 0x47b4e4
call fcn.00404d58
mov dword [ebp - 0x18], 0x4b0
lea eax, [ebp - 8]
lea edx, [ebp - 0x13c]
mov ecx, 0x80
call fcn.00404ce0
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x47b0e0
lea eax, [ebp - 4]
mov edx, 0x47b500
call fcn.00404d58
lea eax, [ebp - 8]
mov edx, 0x47b500
call fcn.00404b08
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov esi, 2
push 0x56
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0x47b0f9
mov dword [ebp - 0x20], 2
jmp 0x47b114
push 0x57
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0x47b10d
mov dword [ebp - 0x20], 3
jmp 0x47b114
mov dword [ebp - 0x20], 1
mov dword [ebx], edi
mov eax, dword [ebp - 0xb0]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0xac]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x10]
mov edx, dword [ebp - 4]
call fcn.00404ac4
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 8]
call fcn.00404ac4
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], esi
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x28], eax
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47b189
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b1bb
lea eax, [ebp - 0x1ac]
mov edx, 0x17
call fcn.00404a94
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a94
ret