Function at 0x474130
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x54389b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2cc
push ebx
push esi
push edi
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x28]
xor ebx, ebx
cmp eax, 2
mov dword [0x5b0cec], ebx
jne 0x474190
cmp dword [esp + 0x1c], 5
jae 0x4741ad
mov eax, 0xfffff7fe
jmp 0x4743af
cmp eax, 1
jne 0x4741ad
cmp dword [esp + 0x1c], 4
ja 0x4741ad
cmp dword [esp + 0x20], 0xa
jae 0x4741ad
mov eax, 0xfffff7fd
jmp 0x4743af
lea ecx, [esp + 0xc]
push ecx
call fcn.00477fb0
add esp, 4
test eax, eax
jne 0x47425f
push ebx
xor edi, edi
call fcn.0043d870
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x4741dd
mov eax, 0xfffff830
jmp 0x4743af
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
test eax, eax
je 0x4741ef
mov edi, 0xfffff82f
jmp 0x474231
mov eax, dword [esi]
push ebx
push ebx
push 2
push str.WINDRVR
push str.WinDriver
mov ecx, esi
call dword [eax + 4]
test eax, eax
jne 0x47420f
mov edi, 0xfffff82e
jmp 0x474231
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
test eax, eax
jne 0x474221
mov edi, 0xfffff82d
jmp 0x474231
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
jne 0x474231
mov edi, 0xfffff82c
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
cmp edi, ebx
je 0x474244
mov eax, edi
jmp 0x4743af
lea eax, [esp + 0xc]
push eax
call fcn.00477fb0
add esp, 4
test eax, eax
jne 0x47425f
mov eax, 0xfffff827
jmp 0x4743af
mov ecx, 0x22
xor eax, eax
lea edi, [esp + 0xac]
lea edx, [esp + 0xac]
rep stosd dword es:[edi], eax
mov edi, str.6f1ea7e369bc92835210e605f10c61bd9a35eaa690cc17.Eisenworld
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x88
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xb4]
push ecx
push edx
push 0x9538254b
call fcn.004743d0
mov eax, dword [esp + 0x20]
push ebx
push 0x84
push 0x5b0c60
push eax
push 0x95382443
call fcn.004743d0
mov ecx, dword [esp + 0x34]
add esp, 0x28
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x12c], ebx
je 0x4743aa
cmp dword [esp + 0x130], ebx
je 0x4743aa
mov esi, 1
push ebx
lea ecx, [esp + 0x138]
mov dword [0x5b0cec], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
call fcn.0042c900
push ebx
lea ecx, [esp + 0x138]
mov dword [esp + 0x2e4], ebx
call fcn.0042cdf0
push str.Initializing...
lea ecx, [esp + 0x138]
call fcn.0042cf40
push ebx
push str.Scanning_for_a_USB_Data_Transfer_Cable...
lea ecx, [esp + 0x13c]
call fcn.0042cff0
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.00478060
add esp, 8
cmp eax, ebx
je 0x47438c
push eax
mov dword [0x5b0cf0], esi
call fcn.00478470
add esp, 4
lea ecx, [esp + 0x134]
mov dword [esp + 0x2e0], 0xffffffff
call fcn.0042caf0
mov eax, esi
jmp 0x4743af
lea ecx, [esp + 0x134]
mov dword [esp + 0x2e0], 0xffffffff
call fcn.0042caf0
mov eax, 0xfffff7f4
jmp 0x4743af
mov eax, 0xfffffffd
mov ecx, dword [esp + 0x2d8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2d8
ret