Function at 0x436e34
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47269e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xdc
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
add ecx, 4
mov dword [ebp - 0x14], eax
call fcn.0043a098
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x62c
call fcn.0043d800
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
add ecx, 0x660
call fcn.00432a98
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
add ecx, 0x664
call fcn.00436784
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x24]
xor edx, edx
mov dword [eax + 0x7d8], edx
mov dword [eax + 0x7ec], edx
push edx
call dword [sym.imp.ole32.dll_CoInitialize]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
add edx, 0x6cc
push 0x101
push edx
call fcn.00444670
add esp, 8
mov dword [ebp - 0xe8], 0x30
xor edx, edx
mov eax, dword [0x494b0c]
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xe0], 0x4377b8
mov dword [ebp - 0xdc], edx
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0xd4], eax
push 0x7f00
push edx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0xd0], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0xcc], eax
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0xc8], eax
xor edx, edx
mov eax, dword [0x47e44c]
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xc0], eax
push 0x7f00
push edx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xe8]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov ecx, dword [0x47e44c]
xor ebx, ebx
mov edx, accept
mov eax, 0xc8
push ebx
push dword [0x494b0c]
push ebx
push ebx
push eax
push eax
push edx
push edx
push 0xcf0000
push ecx
push ecx
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, dword [ebp - 0x24]
test eax, eax
mov dword [edx + 0x66c], eax
je 0x43741d
mov eax, dword [edx + 0x7d8]
test eax, eax
je 0x437404
test eax, eax
je 0x436ff6
push 0x49faa4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x436ff3
mov edx, dword [ebp - 0x24]
push 0
push dword [edx + 0x66c]
call eax
mov edx, dword [ebp - 0x24]
jmp 0x436ff6
mov edx, dword [ebp - 0x24]
push edx
push 0xffffffffffffffeb
push dword [edx + 0x66c]
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push dword [eax + 0x66c]
call dword [edx + 0x60]
mov eax, dword [ebp - 0x24]
lea ecx, [eax + 4]
push dword [eax]
call fcn.0043d60c
test eax, eax
jne 0x437045
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x24]
lea ecx, [eax + 0x62c]
push dword [eax]
call fcn.0043e810
test eax, eax
jne 0x437077
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 0x138]
test eax, eax
jne 0x43709e
mov eax, dword [ebp - 0x24]
push 0
push 0x1388
push 1
push dword [eax + 0x66c]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [ebp - 0x24]
lea ecx, [eax + 0x664]
push dword [eax]
call fcn.00436a1c
test eax, eax
jne 0x4370d0
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 0xb8], 0x94
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0xa8]
cmp eax, 2
jne 0x4371ff
mov eax, dword [ebp - 0xb4]
cmp eax, 5
jne 0x437186
mov eax, dword [ebp - 0xb0]
cmp eax, 1
jb 0x437186
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
push eax
push ebx
push 1
push 0x49fac4
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x7d0], eax
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
push eax
push ebx
push 1
push 0x49fad0
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x7d0], 0
mov dword [edx + 0x7d4], eax
je 0x4372dc
test eax, eax
je 0x4372a8
jmp 0x437276
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x90
push eax
push ebx
push 1
push 0x49fac4
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x7d0], eax
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x90
push eax
push ebx
push 1
push 0x49fad0
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x7d0], 0
mov dword [edx + 0x7d4], eax
je 0x437350
test eax, eax
je 0x437316
jmp 0x437276
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x90
push eax
push ebx
push 1
push 0x49fac4
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x7d0], eax
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x90
push eax
push ebx
push 1
push 0x49fad0
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x7d0], 0
mov dword [edx + 0x7d4], eax
je 0x4373c7
test eax, eax
je 0x43738d
push 0x68
push dword [0x494b0c]
call dword [sym.imp.USER32.dll_LoadMenuA]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x670], eax
call fcn.00438200
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push eax
push ebx
push 1
push 0x86
push dword [0x494b0c]
call dword [sym.imp.USER32.dll_LoadImageA]
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x7d4], eax
jmp 0x437276
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push eax
push ebx
push 1
push 0x66
push dword [0x494b0c]
call dword [sym.imp.USER32.dll_LoadImageA]
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x7d0], eax
mov eax, dword [edx + 0x7d4]
jmp 0x437179
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x80
push eax
push ebx
push 1
push 0x86
push dword [0x494b0c]
call dword [sym.imp.USER32.dll_LoadImageA]
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x7d4], eax
jmp 0x437276
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x80
push eax
push ebx
push 1
push 0x66
push dword [0x494b0c]
call dword [sym.imp.USER32.dll_LoadImageA]
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x7d0], eax
mov eax, dword [edx + 0x7d4]
jmp 0x4371f5
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x80
push eax
push ebx
push 1
push 0x86
push dword [0x494b0c]
call dword [sym.imp.USER32.dll_LoadImageA]
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x7d4], eax
jmp 0x437276
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x80
push eax
push ebx
push 1
push 0x66
push dword [0x494b0c]
call dword [sym.imp.USER32.dll_LoadImageA]
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x7d0], eax
mov eax, dword [edx + 0x7d4]
jmp 0x43726e
push 0x49fa94
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x7d8], eax
jmp 0x436fcd
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4