Function at 0x437590
Capabilities:
Check os version
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x47dce0
push 0x40e3c0
mov eax, dword fs:[0]
push eax
add esp, 0xfffffd68
mov eax, dword [0x481398]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x94], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
jmp 0x4375fe
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x437624
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
jmp 0x4375f5
mov edx, dword [ebp - 0x1c]
add edx, 3
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x34], 0
jmp 0x43763f
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xa
jge 0x437670
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], ecx
jge 0x437658
mov edx, dword [ebp - 0x1c]
neg edx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x43766e
mov dword [ebp - 0x1c], 0
jmp 0x437636
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
jmp 0x43769e
mov edx, dword [ebp - 0x48]
add edx, 1
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x48], 0x18
jge 0x4376c4
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
jmp 0x437695
mov ecx, dword [ebp - 0x1c]
add ecx, 0x18
mov dword [ebp - 0x1c], ecx
mov edx, 1
test edx, edx
je 0x4376fe
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov ecx, 7
div ecx
test edx, edx
jne 0x4376f3
jmp 0x4376fe
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], edx
jmp 0x4376cd
mov eax, dword [ebp - 0x1c]
add eax, 0x13
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x50], 0
jmp 0x437719
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0x50], 8
jge 0x43774a
mov edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x50]
mov dword [ebp - 0x1c], edx
jge 0x437732
mov eax, dword [ebp - 0x1c]
neg eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x437748
mov dword [ebp - 0x1c], 0
jmp 0x437710
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x5c], 2
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
jmp 0x437778
mov edx, dword [ebp - 0x64]
add edx, 1
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 7
jge 0x43779e
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
jmp 0x43776f
mov ecx, dword [ebp - 0x1c]
add ecx, 7
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x68], 0
mov edx, 1
test edx, edx
je 0x4377e9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
xor edx, edx
mov ecx, 3
div ecx
test edx, edx
jne 0x4377d4
jmp 0x4377e9
mov edx, dword [ebp - 0x1c]
imul edx, dword [ebp - 0x68]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
jmp 0x4377ae
mov ecx, dword [ebp - 0x1c]
add ecx, 8
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x70], 0
jmp 0x43780b
mov edx, dword [ebp - 0x70]
add edx, 1
mov dword [ebp - 0x70], edx
cmp dword [ebp - 0x70], 1
jge 0x43783d
mov eax, dword [ebp - 0x70]
cdq
mov ecx, 7
idiv ecx
cmp edx, 5
je 0x437831
mov eax, dword [ebp - 0x70]
cdq
mov ecx, 0xb
idiv ecx
cmp edx, 7
jne 0x437838
and eax, 0xbc614e
jmp 0x43783b
mov dword [ebp - 0x1c], eax
jmp 0x437802
mov dword [ebp - 4], 0xfffffffe
call fcn.0043784b
jmp 0x437853
mov dword [ebp - 0x74], 0
jmp 0x437865
mov edx, dword [ebp - 0x74]
add edx, 1
mov dword [ebp - 0x74], edx
cmp dword [ebp - 0x74], 0xe
jge 0x437896
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x74]
mov dword [ebp - 0x1c], eax
jge 0x43787e
mov ecx, dword [ebp - 0x1c]
neg ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x437894
mov dword [ebp - 0x1c], 0
jmp 0x43785c
mov edx, 1
test edx, edx
je 0x4378c7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
xor edx, edx
mov ecx, 7
div ecx
test edx, edx
jne 0x4378bc
jmp 0x4378c7
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x78]
mov dword [ebp - 0x1c], edx
jmp 0x437896
mov eax, dword [ebp - 0x1c]
add eax, 6
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x7c], 0
jmp 0x4378e2
mov ecx, dword [ebp - 0x7c]
add ecx, 1
mov dword [ebp - 0x7c], ecx
cmp dword [ebp - 0x7c], 9
jge 0x4378f3
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x7c]
mov dword [ebp - 0x1c], edx
jmp 0x4378d9
cmp dword [ebp - 0x1c], 0xffff0001
jge 0x437905
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0xfffffffb
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
je 0x43791d
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x80], 0
jmp 0x43792f
mov edx, dword [ebp - 0x80]
add edx, 1
mov dword [ebp - 0x80], edx
cmp dword [ebp - 0x80], 5
jge 0x437960
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x80]
mov dword [ebp - 0x1c], eax
jge 0x437948
mov ecx, dword [ebp - 0x1c]
neg ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x43795e
mov dword [ebp - 0x1c], 0
jmp 0x437926
mov dword [ebp - 0x84], 0
jmp 0x43797b
mov edx, dword [ebp - 0x84]
add edx, 1
mov dword [ebp - 0x84], edx
cmp dword [ebp - 0x84], 7
jge 0x4379b2
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x84]
mov dword [ebp - 0x1c], eax
jge 0x43799a
mov ecx, dword [ebp - 0x1c]
neg ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x4379b0
mov dword [ebp - 0x1c], 0
jmp 0x43796c
mov dword [ebp - 4], 1
mov dword [ebp - 0x88], 0
jmp 0x4379d4
mov edx, dword [ebp - 0x88]
add edx, 1
mov dword [ebp - 0x88], edx
cmp dword [ebp - 0x88], 4
jge 0x437a0f
mov eax, dword [ebp - 0x88]
cdq
mov ecx, 7
idiv ecx
cmp edx, 5
je 0x437a03
mov eax, dword [ebp - 0x88]
cdq
mov ecx, 0xb
idiv ecx
cmp edx, 7
jne 0x437a0a
and eax, 0xbc614e
jmp 0x437a0d
mov dword [ebp - 0x1c], eax
jmp 0x4379c5
mov dword [ebp - 4], 0xfffffffe
call fcn.00437a1d
jmp 0x437a25
mov dword [ebp - 0x8c], 0
jmp 0x437a40
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x8c], edx
cmp dword [ebp - 0x8c], 4
jge 0x437a8d
cmp dword [ebp - 0x1c], 0
jge 0x437a57
mov eax, dword [ebp - 0x1c]
neg eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x437a6d
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x90], 0xfa
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
jmp 0x437a31
mov ecx, 1
test ecx, ecx
je 0x437ac7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x294]
xor edx, edx
mov ecx, 7
div ecx
test edx, edx
jne 0x437ab9
jmp 0x437ac7
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x294]
mov dword [ebp - 0x1c], edx
jmp 0x437a8d
mov eax, dword [ebp - 0x1c]
add eax, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x298], 0
jmp 0x437aeb
mov ecx, dword [ebp - 0x298]
add ecx, 1
mov dword [ebp - 0x298], ecx
cmp dword [ebp - 0x298], 3
jge 0x437b22
mov edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x298]
mov dword [ebp - 0x1c], edx
jge 0x437b0a
mov eax, dword [ebp - 0x1c]
neg eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x437b20
mov dword [ebp - 0x1c], 0
jmp 0x437adc
mov dword [ebp - 0x29c], 0
jmp 0x437b3d
mov edx, dword [ebp - 0x29c]
add edx, 1
mov dword [ebp - 0x29c], edx
cmp dword [ebp - 0x29c], 1
jge 0x437b74
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x29c]
mov dword [ebp - 0x1c], eax
jge 0x437b5c
mov ecx, dword [ebp - 0x1c]
neg ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x437b72
mov dword [ebp - 0x1c], 0
jmp 0x437b2e
mov edx, 1
test edx, edx
je 0x437bae
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x2a0]
xor edx, edx
mov ecx, 7
div ecx
test edx, edx
jne 0x437ba0
jmp 0x437bae
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x2a0]
mov dword [ebp - 0x1c], edx
jmp 0x437b74
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2a4], 0
jmp 0x437bcf
mov ecx, dword [ebp - 0x2a4]
add ecx, 1
mov dword [ebp - 0x2a4], ecx
cmp dword [ebp - 0x2a4], 3
jge 0x437c06
mov edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x2a4]
mov dword [ebp - 0x1c], edx
jge 0x437bee
mov eax, dword [ebp - 0x1c]
neg eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x437c04
mov dword [ebp - 0x1c], 0
jmp 0x437bc0
mov dword [ebp - 0x2a8], 0
jmp 0x437c21
mov edx, dword [ebp - 0x2a8]
add edx, 1
mov dword [ebp - 0x2a8], edx
cmp dword [ebp - 0x2a8], 4
jge 0x437c38
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x1c], eax
jmp 0x437c12
cmp dword [ebp - 0x1c], 0xffff0001
jge 0x437c4a
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0xfffffffb
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
je 0x437c62
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x94]
xor ecx, ebp
call fcn.00408b45
mov esp, ebp
pop ebp
ret