Function at 0x451360
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x5a0456
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xdc]
mov eax, dword [0x6285c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x6285c4
call edx
add eax, 0x10
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x6c]
push eax
mov ecx, 0x5dee94
mov dword [esp + 0xd4], 0
call fcn.004066b0
lea ecx, [esp + 0x70]
push ecx
mov ecx, 0x5de640
mov byte [esp + 0xd4], 1
call fcn.004066b0
lea edx, [esp + 0x20]
push edx
mov ecx, str._tg_gl
mov byte [esp + 0xd4], 2
call fcn.004066b0
lea eax, [esp + 0x48]
push eax
mov ecx, 0x5e00d8
mov byte [esp + 0xd4], 3
call fcn.004066b0
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0xd4], 4
call fcn.0048dda0
lea ebx, [esp + 0x20]
lea edi, [esp + 0x54]
mov byte [esp + 0xd0], 5
call fcn.0042d130
mov edi, dword [esp + 0xd8]
mov eax, dword [edi + 4]
lea edx, [esp + 0xa8]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp]
test eax, eax
je 0x45146c
mov esi, dword [edi + 0xb4]
test esi, esi
je 0x45146c
push 0
push 0x12
push eax
mov ebx, 0x32
call fcn.004460b0
mov eax, dword [esp + 0x20]
mov ebx, dword [0x6610b8]
push eax
mov dword [esp + 0x28], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x451497
lea ecx, [esp + 0x4c]
push ecx
push esi
or ecx, 0xffffffff
mov eax, ebx
call fcn.00446f40
mov esi, dword [edi + 0xb4]
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov esi, dword [esi + 0xc]
mov ecx, dword [esp + 0x4c]
lea edi, [esi + 0x1c]
add ecx, edi
cmp dword [0x65e100], 0
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], ecx
mov ebx, 0x3f
jne 0x4514dd
push 0x623830
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [0x65e100], 1
cmp dword [0x623840], 2
jne 0x4514fd
cmp dword [0x623834], 5
jne 0x4514fd
cmp dword [0x623838], 1
jne 0x4514fd
mov ebx, 0x44
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x30]
sub esp, 0x10
mov eax, esp
sub esp, 0x18
mov dword [eax], edi
lea esi, [edx + ebx]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov edx, esp
mov dword [esp + 0x40], esp
push edx
lea ecx, [esp + 0x80]
mov dword [eax + 0xc], esi
call fcn.0042d030
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x100]
push 0x1c1c1c
push eax
push 0
push ecx
mov ecx, ebp
call fcn.0044c940
push 0x5e0108
mov ebx, 5
lea eax, [esp + 0x24]
call fcn.004072f0
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
add esi, ebx
add edx, esi
mov dword [esp + 0x34], edx
mov edi, eax
cmp ecx, eax
jbe 0x451583
call fcn.004f825e
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x18], ecx
cmp ecx, eax
jbe 0x451594
call fcn.004f825e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x54]
push edi
push ebx
push eax
push ecx
lea edx, [esp + 0x64]
push edx
lea ebx, [esp + 0x2c]
call fcn.0040db20
lea ebx, [esp + 0x20]
lea edi, [esp + 0x54]
call fcn.0042d130
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
sub esp, 0x18
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov edx, esp
mov dword [eax + 0xc], ecx
mov dword [esp + 0x40], esp
push edx
mov ecx, edi
call fcn.0042d030
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x100]
push 0x1c1c1c
push eax
xor ebx, ebx
push ebx
push edi
mov ecx, ebp
call fcn.0044c940
mov eax, dword [esp + 0x48]
mov ecx, dword [0x66109c]
push eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x451637
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x4c]
push edx
push eax
mov eax, dword [esp + 0x2c]
or ecx, 0xffffffff
call fcn.00446f40
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push 0x26
mov dword [esp + 0x78], ecx
push ebx
lea ecx, [esp + 0x7c]
push ecx
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x50]
add eax, edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 4]
add edx, ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x28], ebp
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
push 0x7c7c7c
push eax
mov eax, dword [esp + 0x50]
push ecx
mov dword [esp + 0x24], esp
add eax, 0xfffffff0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 1
mov esi, 0x2010
mov dword [esp + 0x24], esp
call fcn.004073f0
mov ecx, esp
add eax, 0x10
lea edx, [esp + 0x80]
mov dword [ecx], eax
push edx
mov edx, esi
lea ecx, [esp + 0x38]
call fcn.004c5f0c
mov eax, dword [ebp + 4]
mov dword [esp + 0x38], ebp
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
add esp, 0x10
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x38], ecx
add eax, 0xffffffdf
push eax
mov eax, dword [0x66109c]
mov ecx, 0x1a
push ecx
push ebx
push 1
push eax
push 0xec8060
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push ecx
mov ecx, 0x5e0114
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], 1
call fcn.004066b0
lea edx, [esp + 0x44]
push edx
call fcn.004c664b
add esp, 0x20
cmp eax, ebx
je 0x451773
push str.http:__bbs.360safe.com_forum.php_modviewthreadtid21396
call fcn.0049d495
add esp, 4
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov esi, dword [edi + 0xb8]
mov edx, dword [esi]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x30], eax
add eax, 0xffffffec
sub ecx, 0xe
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, esi
call eax
mov eax, dword [esi + 0xc]
mov ecx, dword [edi + 0xb8]
mov esi, dword [esp + 0x30]
mov edx, dword [ecx]
sub esi, eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], ecx
call eax
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x10]
mov eax, dword [esp + 0x34]
sub eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x84], ebp
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
sub esp, 0x10
mov dword [esp + 0xa4], ecx
xor ecx, ecx
mov dword [esp + 0xa0], eax
mov eax, esp
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x80]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0xb8]
push 1
push edx
push eax
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], 1
call fcn.004c6331
add esp, 0x20
test eax, eax
je 0x451875
mov edx, dword [edi + 4]
push 2
push edx
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xb8], esi
sub esi, eax
push ebx
sub esi, 0xa
push esi
lea edx, [esp + 0xc0]
push edx
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov dword [esp + 0x84], ebp
mov ebp, dword [ebp + 4]
mov eax, dword [ebp + 0x10]
mov ebp, dword [ebp + 0xc]
sub esp, 0x10
mov dword [esp + 0xa4], eax
mov eax, esp
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [edi + 0xb8]
xor edx, edx
mov dword [eax + 4], edx
xor esi, esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x7c]
push 1
push eax
push ecx
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0xd8]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], 1
call fcn.004c6331
add esp, 0x20
test eax, eax
je 0x451942
mov eax, dword [edi + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x451960
mov edi, dword [esp + 0x64]
call fcn.004075a0
mov ecx, dword [esp + 0x60]
push ecx
call fcn.004f6734
add esp, 4
mov edx, dword [esp + 0x54]
push edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
call fcn.004f6734
mov byte [esp + 0xd4], 3
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4519a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xd0], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4519c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xd0], 1
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4519f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xd0], bl
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x451a18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xd0], 0xffffffff
mov eax, dword [esp + 0xa4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x451a46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret 8