Function at 0x4378a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609395
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x69f000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 8
mov edx, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
push 0x20
push str.Application_Initialization_Error
push 0
call fcn.0040c360
add esp, 0xc
test eax, eax
jne 0x437905
call fcn.00408570
mov byte [eax + 0x1d8], 1
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x164], 0
push str.currentFilename
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x160], 0
movups xmmword [ebp - 0x174], xmm0
call fcn.0040c3f0
mov byte [ebp - 4], 1
call fcn.00408570
add edi, 4
mov ecx, edi
mov dword [ebp - 0x19c], edi
lea esi, [eax + 0x4f8]
lea eax, [ebp - 0x174]
push eax
call fcn.0040b940
cmp eax, esi
je 0x437974
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x437969
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.0040be20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x174]
call fcn.0040bd90
call fcn.00408570
cmp byte [eax + 0x32c], 0
je 0x437b2c
call fcn.00408570
add eax, 0x4f8
lea ecx, [ebp - 0x40]
push eax
call fcn.0040bb80
mov byte [ebp - 4], 2
xorps xmm0, xmm0
push 0xa
push str.readerdc64
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x164], 0
movups xmmword [ebp - 0x174], xmm0
mov dword [ebp - 0x160], 0
call fcn.0040c3f0
mov byte [ebp - 4], 3
xorps xmm0, xmm0
push 8
push str.readerdc
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0x1a4], 0
movups xmmword [ebp - 0x1b4], xmm0
mov dword [ebp - 0x1a0], 0
call fcn.0040c3f0
mov byte [ebp - 4], 4
xor esi, esi
cmp dword [ebp - 0x1a0], 8
lea edi, [ebp - 0x1b4]
mov edx, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x40]
cmovae edi, dword [ebp - 0x1b4]
cmp dword [ebp - 0x2c], 8
mov eax, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
mov dword [ebp - 0x178], edi
mov dword [ebp - 0x198], ecx
cmp edx, eax
ja 0x437a91
sub eax, edx
cmp esi, eax
ja 0x437a91
test edx, edx
je 0x437cdf
inc eax
lea esi, [ecx + esi*2]
lea eax, [ecx + eax*2]
mov dword [ebp - 0x194], eax
nop dword [eax]
sub eax, esi
sar eax, 1
je 0x437a91
movzx ecx, word [edi]
nop dword [eax]
cmp word [esi], cx
je 0x437caa
add esi, 2
sub eax, 1
jne 0x437a80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1b4]
call fcn.0040bd90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x174]
call fcn.0040bd90
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x180], 0
push str.currentFilename
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x17c], 0
movups xmmword [ebp - 0x190], xmm0
call fcn.0040c3f0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x190]
mov edi, dword [ebp - 0x19c]
mov ecx, edi
push eax
call fcn.0040b940
lea ecx, [ebp - 0x40]
cmp eax, ecx
je 0x437b11
cmp dword [ebp - 0x2c], 8
push dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.0040be20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x190]
call fcn.0040bd90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040bd90
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x180], 0
push 0x668204
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x17c], 0
movups xmmword [ebp - 0x190], xmm0
call fcn.0040c3f0
mov byte [ebp - 4], 6
call fcn.00408570
mov ecx, edi
lea esi, [eax + 0x2cc]
lea eax, [ebp - 0x190]
push eax
call fcn.0040b940
cmp eax, esi
je 0x437b92
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x437b87
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.0040be20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x190]
call fcn.0040bd90
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x164], 0
push str.site
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x160], 0
movups xmmword [ebp - 0x174], xmm0
call fcn.0040c3f0
mov byte [ebp - 4], 7
call fcn.00408570
mov ecx, edi
lea esi, [eax + 0x2b4]
lea eax, [ebp - 0x174]
push eax
call fcn.0040b940
cmp eax, esi
je 0x437c07
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x437bfc
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.0040be20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x174]
call fcn.0040bd90
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 8
push 0x118
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.005d5480
add esp, 0xc
mov dword [ebp - 0x15c], 0x11c
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x437d32
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x168], eax
movzx eax, word [ebp - 0x48]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x160], eax
jmp 0x437d3e
test esi, esi
je 0x437a91
mov ecx, edi
test edx, edx
je 0x437cd1
mov edi, esi
sub edi, dword [ebp - 0x178]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x437d18
add ecx, 2
sub edx, 1
jne 0x437cc0
sub esi, dword [ebp - 0x198]
mov edx, dword [ebp - 0x1a4]
sar esi, 1
cmp esi, 0xffffffff
je 0x437a91
cmp dword [ebp - 0x160], 8
lea eax, [ebp - 0x174]
push dword [ebp - 0x164]
cmovae eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x40]
push eax
push edx
push esi
call fcn.00429360
add esi, dword [ebp - 0x164]
jmp 0x437a16
mov edi, dword [ebp - 0x178]
add esi, 2
mov edx, dword [ebp - 0x1a4]
mov eax, dword [ebp - 0x194]
jmp 0x437a70
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x16c]
cmp eax, 0x55f0
jl 0x437d68
cmp ecx, 0xa
jne 0x437d68
mov dword [ebp - 0x16c], 0xb
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x16c]
call fcn.0046e500
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x180], 0
push str.os_ver
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x17c], 0
movups xmmword [ebp - 0x190], xmm0
call fcn.0040c3f0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x190]
push eax
mov ecx, edi
call fcn.0040b940
lea ecx, [ebp - 0x28]
cmp eax, ecx
je 0x437dd2
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0040be20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x190]
call fcn.0040bd90
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x164], 0
push str.admErrorReason
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x160], 0
movups xmmword [ebp - 0x174], xmm0
call fcn.0040c3f0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x174]
push eax
mov ecx, edi
call fcn.0040b940
lea ecx, [ebp + 8]
cmp eax, ecx
je 0x437e3d
cmp dword [ebp + 0x1c], 8
push dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
push ecx
mov ecx, eax
call fcn.0040be20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x174]
call fcn.0040bd90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040bd90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040bd90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005d077b
mov esp, ebp
pop ebp
ret 0x18