Function at 0x436dd0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609257
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
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
call fcn.00408570
xorps xmm0, xmm0
push 0x40
mov eax, dword [eax + 0x57c]
mov esi, dword [eax + 0xb0]
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], eax
call fcn.00486cd6
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
lea eax, [esi + 0xdc]
push eax
lea ecx, [ebp - 0x18]
call fcn.00417800
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 4], 2
xorps xmm0, xmm0
push 8
push str.adm_name
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x16c], 0
movups xmmword [ebp - 0x17c], xmm0
mov dword [ebp - 0x168], 0
call fcn.0040c3f0
mov byte [ebp - 4], 3
call fcn.00408570
add edi, 4
mov ecx, edi
mov dword [ebp - 0x1b4], edi
lea esi, [eax + 0x284]
lea eax, [ebp - 0x17c]
push eax
call fcn.0040b940
cmp eax, esi
je 0x436ee6
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x436edb
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.0040be20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x17c]
call fcn.0040bd90
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x1a0], 0
push str.adm_vers
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0x19c], 0
movups xmmword [ebp - 0x1b0], xmm0
call fcn.0040c3f0
mov byte [ebp - 4], 4
call fcn.00408570
mov ecx, edi
lea esi, [eax + 0x20c]
lea eax, [ebp - 0x1b0]
push eax
call fcn.0040b940
cmp eax, esi
je 0x436f5b
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x436f50
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.0040be20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1b0]
call fcn.0040bd90
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x16c], 0
push 0x6681c0
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x168], 0
movups xmmword [ebp - 0x17c], xmm0
call fcn.0040c3f0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x17c]
push eax
mov ecx, edi
call fcn.0040b940
push 3
push 0x668194
mov ecx, eax
call fcn.0040be20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x17c]
call fcn.0040bd90
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x184], 0
push str.os_loc
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x180], 0
movups xmmword [ebp - 0x194], xmm0
call fcn.0040c3f0
mov byte [ebp - 4], 6
call fcn.00408570
mov ecx, edi
lea esi, [eax + 0x4c8]
lea eax, [ebp - 0x194]
push eax
call fcn.0040b940
cmp eax, esi
je 0x43702f
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x437024
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.0040be20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x194]
call fcn.0040bd90
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x1a0], 0
push str.site
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0x19c], 0
movups xmmword [ebp - 0x1b0], xmm0
call fcn.0040c3f0
mov byte [ebp - 4], 7
xorps xmm0, xmm0
push 4
push str.site
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x184], 0
movups xmmword [ebp - 0x194], xmm0
mov dword [ebp - 0x180], 0
call fcn.0040c3f0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040b940
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x194]
push eax
call fcn.0040b940
cmp eax, esi
je 0x4370de
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4370d3
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.0040be20
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x194]
call fcn.0040bd90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1b0]
call fcn.0040bd90
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x16c], 0
push 0x668204
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x168], 0
movups xmmword [ebp - 0x17c], xmm0
call fcn.0040c3f0
mov byte [ebp - 4], 9
xorps xmm0, xmm0
push 4
push 0x668204
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x184], 0
movups xmmword [ebp - 0x194], xmm0
mov dword [ebp - 0x180], 0
call fcn.0040c3f0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040b940
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x194]
push eax
call fcn.0040b940
cmp eax, esi
je 0x43719c
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x437191
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.0040be20
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x194]
call fcn.0040bd90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x17c]
call fcn.0040bd90
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 0xb
push 0x118
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.005d5480
add esp, 0xc
mov dword [ebp - 0x164], 0x11c
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x437247
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x170], eax
movzx eax, word [ebp - 0x50]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x168], eax
jmp 0x437253
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x174]
cmp eax, 0x55f0
jl 0x43727d
cmp ecx, 0xa
jne 0x43727d
mov dword [ebp - 0x174], 0xb
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x174]
call fcn.0046e500
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x184], 0
push str.os_ver
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x180], 0
movups xmmword [ebp - 0x194], xmm0
call fcn.0040c3f0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x194]
push eax
mov ecx, edi
call fcn.0040b940
lea ecx, [ebp - 0x30]
cmp eax, ecx
je 0x4372e7
cmp dword [ebp - 0x1c], 8
push dword [ebp - 0x20]
cmovae ecx, dword [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.0040be20
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x194]
call fcn.0040bd90
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x1a0], 0
push str.currentFilename
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0x19c], 0
movups xmmword [ebp - 0x1b0], xmm0
call fcn.0040c3f0
mov byte [ebp - 4], 0xd
call fcn.00408570
mov ecx, edi
lea esi, [eax + 0x4f8]
lea eax, [ebp - 0x1b0]
push eax
call fcn.0040b940
cmp eax, esi
je 0x43735c
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x437351
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.0040be20
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1b0]
call fcn.0040bd90
call fcn.00408570
cmp byte [eax + 0x32c], 0
je 0x43750a
call fcn.00408570
add eax, 0x4f8
lea ecx, [ebp - 0x48]
push eax
call fcn.0040bb80
mov byte [ebp - 4], 0xe
xorps xmm0, xmm0
push 0xa
push str.readerdc64
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x16c], 0
movups xmmword [ebp - 0x17c], xmm0
mov dword [ebp - 0x168], 0
call fcn.0040c3f0
mov byte [ebp - 4], 0xf
xorps xmm0, xmm0
push 8
push str.readerdc
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x1c8], 0
movups xmmword [ebp - 0x1d8], xmm0
mov dword [ebp - 0x1c4], 0
call fcn.0040c3f0
mov byte [ebp - 4], 0x10
xor esi, esi
cmp dword [ebp - 0x1c4], 8
lea edi, [ebp - 0x1d8]
mov edx, dword [ebp - 0x1c8]
lea ecx, [ebp - 0x48]
cmovae edi, dword [ebp - 0x1d8]
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x38]
cmovae ecx, dword [ebp - 0x48]
mov dword [ebp - 0x198], edi
mov dword [ebp - 0x1c0], ecx
cmp edx, eax
ja 0x437471
sub eax, edx
cmp esi, eax
ja 0x437471
test edx, edx
je 0x43758f
inc eax
lea esi, [ecx + esi*2]
lea eax, [ecx + eax*2]
mov dword [ebp - 0x1bc], eax
sub eax, esi
sar eax, 1
je 0x437471
movzx ecx, word [edi]
nop word [eax + eax]
cmp word [esi], cx
je 0x437556
add esi, 2
sub eax, 1
jne 0x437460
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1d8]
call fcn.0040bd90
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x17c]
call fcn.0040bd90
push 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x184], 0
push str.currentFilename
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x180], 0
movups xmmword [ebp - 0x194], xmm0
call fcn.0040c3f0
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x194]
mov ecx, dword [ebp - 0x1b4]
push eax
call fcn.0040b940
lea ecx, [ebp - 0x48]
cmp eax, ecx
je 0x4374ef
cmp dword [ebp - 0x34], 8
push dword [ebp - 0x38]
cmovae ecx, dword [ebp - 0x48]
push ecx
mov ecx, eax
call fcn.0040be20
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x194]
call fcn.0040bd90
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x48]
call fcn.0040bd90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.0040bd90
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
mov ecx, eax
call fcn.0040c930
push 0x40
push dword [ebp - 0x18]
call fcn.005d0cf8
add esp, 8
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
test esi, esi
je 0x437471
mov ecx, edi
test edx, edx
je 0x437581
mov edi, esi
sub edi, dword [ebp - 0x198]
nop dword [eax]
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x4375c8
add ecx, 2
sub edx, 1
jne 0x437570
sub esi, dword [ebp - 0x1c0]
mov edx, dword [ebp - 0x1c8]
sar esi, 1
cmp esi, 0xffffffff
je 0x437471
cmp dword [ebp - 0x168], 8
lea eax, [ebp - 0x17c]
push dword [ebp - 0x16c]
cmovae eax, dword [ebp - 0x17c]
lea ecx, [ebp - 0x48]
push eax
push edx
push esi
call fcn.00429360
add esi, dword [ebp - 0x16c]
jmp 0x4373fe
mov edi, dword [ebp - 0x198]
add esi, 2
mov edx, dword [ebp - 0x1c8]
mov eax, dword [ebp - 0x1bc]
jmp 0x437451