Function at 0x401000
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x41e236
push eax
mov eax, 0x3408
mov dword fs:[0], esp
call fcn.00411f90
mov eax, dword [esp + 0x3420]
push ebx
push ebp
mov ebp, ecx
push esi
lea ecx, [esp + 0x280]
push edi
xor ebx, ebx
push ecx
mov dword [ebp], 0x420224
mov dword [ebp + 0x2aa8], ebx
mov dword [ebp + 0x2894], ebx
mov dword [ebp + 0x7c], eax
call fcn.004034c0
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x308]
add esp, 4
rep stosd dword es:[edi], eax
or ecx, 0xffffffff
mov edi, str.web6.irngd.com
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x304]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x304]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._c.aspx_mac
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x304]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x284]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x304]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.os
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x41
lea edi, [esp + 0x180]
mov esi, dword [sym.imp.KERNEL32.DLL_GetVersionExA]
rep stosd dword es:[edi], eax
mov ecx, 0x27
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x64], 0x9c
push eax
call esi
cmp eax, ebx
jne 0x40116b
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], 0x94
push ecx
call esi
cmp eax, ebx
je 0x4012ea
mov eax, dword [esp + 0x74]
dec eax
je 0x401231
dec eax
je 0x401198
push str.WIN32
lea edx, [esp + 0x184]
push 0x4250c4
push edx
call fcn.00411c52
add esp, 0xc
jmp 0x4012ea
mov eax, dword [esp + 0x68]
cmp eax, 4
ja 0x4011c0
push 0x4250c0
lea eax, [esp + 0x184]
push 0x4250c4
push eax
call fcn.00411c52
add esp, 0xc
jmp 0x4012ea
cmp eax, 5
jne 0x401209
cmp dword [esp + 0x6c], ebx
jne 0x4011ea
push 0x4250bc
lea ecx, [esp + 0x184]
push 0x4250c4
push ecx
call fcn.00411c52
add esp, 0xc
jmp 0x4012ea
push 0x4250b8
lea edx, [esp + 0x184]
push 0x4250c4
push edx
call fcn.00411c52
add esp, 0xc
jmp 0x4012ea
cmp eax, 6
jne 0x4012c4
push str.WIN7
lea eax, [esp + 0x184]
push 0x4250c4
push eax
call fcn.00411c52
add esp, 0xc
jmp 0x4012ea
mov eax, dword [esp + 0x68]
cmp eax, 4
jne 0x4012c4
mov eax, dword [esp + 0x6c]
cmp eax, ebx
jne 0x401265
push 0x4250ac
lea ecx, [esp + 0x184]
push 0x4250c4
push ecx
call fcn.00411c52
add esp, 0xc
jmp 0x4012ea
cmp eax, 0xa
jne 0x401286
push 0x4250a8
lea edx, [esp + 0x184]
push 0x4250c4
push edx
call fcn.00411c52
add esp, 0xc
jmp 0x4012ea
cmp eax, 0x5a
jne 0x4012a7
push 0x4250a4
lea eax, [esp + 0x184]
push 0x4250c4
push eax
call fcn.00411c52
add esp, 0xc
jmp 0x4012ea
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x180]
and ecx, 0xffff
push ecx
push eax
push 4
push str._d._d._d
push edx
jmp 0x4012e2
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
and ecx, 0xffff
push ecx
push edx
push eax
lea eax, [esp + 0x18c]
push str._d._d._d
push eax
call fcn.00411c52
add esp, 0x14
lea edi, [esp + 0x180]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x304]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, eax
push 8
push esi
call edi
push 0xa
push esi
mov dword [ebp + 4], eax
call edi
push esi
push ebx
mov dword [ebp + 8], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x100]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x100]
push eax
push 0x425094
push ecx
call fcn.00411c52
mov edi, str.ow
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x304]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x304]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x100]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x20
lea edi, [esp + 0x100]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x100]
push eax
push 0x425094
push ecx
call fcn.00411c52
or ecx, 0xffffffff
mov edi, str.oh
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x304]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x304]
and ecx, 3
push 0x104
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x104]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x308]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.ex
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x708]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
mov cl, byte [esp + 0x13]
lea edi, [esp + 0x704]
mov byte [esp + 0x14], cl
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x18], ebx
repne scasb al, byte es:[edi]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x18]
push ebx
call fcn.004028f0
test al, al
je 0x4014f9
mov edi, dword [esp + 0x18]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x704]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov byte [eax + ebx], 0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x54]
xor ebx, ebx
push ecx
push edx
mov dword [esp + 0x3428], ebx
call fcn.00401860
add esp, 8
mov eax, dword [esp + 0x18]
mov byte [esp + 0x3420], 2
cmp eax, ebx
je 0x401541
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x401538
cmp al, 0xff
je 0x401538
dec al
mov byte [ecx], al
jmp 0x401541
push ecx
call fcn.00405432
add esp, 4
mov edi, dword [esp + 0x58]
mov dword [esp + 0x18], ebx
cmp edi, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
jne 0x40155a
mov edi, 0x420220
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x304]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x304]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x425078
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x20
lea edi, [esp + 0x100]
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
lea eax, [esp + 0x104]
push 0x425094
push eax
call fcn.00411c52
lea edi, [esp + 0x10c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x304]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0xc18]
and ecx, 3
push 0x2800
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x308]
push eax
push ecx
mov ecx, dword [esp + 0x343c]
call fcn.00403140
lea edx, [esp + 0xc18]
push 0xa
lea eax, [esp + 0x80c]
push edx
push eax
mov ecx, ebp
call fcn.004024c0
cmp eax, 6
jne 0x401812
lea edx, [ebp + 0x80]
mov esi, dword [esp + 0x808]
mov ecx, 0x100
xor eax, eax
mov edi, edx
push 0x66
rep stosd dword es:[edi], eax
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x342c]
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push esi
mov dword [ebp + 0x10], str.aiti
call edi
push 0x67
push esi
mov dword [ebp + 0x70], eax
call edi
push 0x68
push esi
mov dword [ebp + 0x74], eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov ecx, dword [ebp + 0x70]
mov dword [ebp + 0x78], eax
mov eax, dword [esp + 0x342c]
push 0x7f00
push ebx
mov dword [esp + 0x2c], 0x30
mov dword [esp + 0x30], 0x200
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ecx
call dword [sym.imp.USER32.dll_LoadCursorA]
mov edx, dword [ebp + 0x70]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x44], 6
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x50], edx
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
push ebx
mov ecx, dword [ebp + 0x10]
push esi
push ebx
push ebx
push 0xa0
push 0x101
push ebx
push connect
push connect
push str.aiti
push ecx
push ebx
mov dword [ebp + 0xc], esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x80
push 0xffffffffffffffec
push eax
mov dword [ebp + 0x2aa8], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [ebp + 0x2aa8]
push ebx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x2aa8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0x818]
mov eax, 0x429238
cmp ecx, eax
je 0x401819
cmp dword [esp + 0x81c], eax
je 0x401819
mov ecx, dword [esp + 0x814]
push ecx
call fcn.00411c47
lea edx, [ebp + 0x29a4]
mov dword [ebp + 0x289c], eax
mov ecx, 0x41
xor eax, eax
mov edi, edx
lea ebx, [ebp + 0x28a0]
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x81c]
mov ecx, 0x41
mov edi, ebx
add esp, 4
rep stosd dword es:[edi], eax
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x81c]
or ecx, 0xffffffff
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor ebx, ebx
rep movsb byte es:[edi], byte [esi]
jmp 0x401819
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [esp + 0x58]
cmp ecx, ebx
je 0x40183d
mov al, byte [ecx - 1]
test al, al
je 0x401833
cmp al, 0xff
je 0x401833
dec al
mov byte [ecx - 1], al
jmp 0x40183d
dec ecx
push ecx
call fcn.00405432
add esp, 4
mov ecx, dword [esp + 0x3418]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3414
ret 0xc