Function at 0x436e90
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5ef1
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x4dbe18]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
mov dword [eax], ebx
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x130], edi
call edx
mov esi, dword [edi + 0x64]
sub esi, dword [edi + 0x60]
mov edx, dword [ebp - 0x130]
sar esi, 2
xor edi, edi
cmp esi, ebx
jbe 0x436f24
lea esp, [esp]
mov eax, dword [edx + 0x64]
sub eax, dword [edx + 0x60]
sar eax, 2
cmp edi, eax
jb 0x436f08
call fcn.0048b3f2
mov edx, dword [ebp - 0x130]
mov ecx, dword [edx + 0x60]
mov ecx, dword [ecx + edi*4]
cmp ecx, ebx
je 0x436f1f
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
mov edx, dword [ebp - 0x130]
inc edi
cmp edi, esi
jb 0x436ef0
mov eax, dword [edx + 0x7c]
sub eax, dword [edx + 0x78]
xor edi, edi
sar eax, 2
mov dword [ebp - 0x13c], eax
cmp eax, ebx
jbe 0x436f86
lea esp, [esp]
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + 0x7c]
sub ecx, dword [eax + 0x78]
sar ecx, 2
cmp edi, ecx
jb 0x436f58
call fcn.0048b3f2
mov edx, dword [ebp - 0x130]
mov eax, dword [edx + 0x78]
mov esi, dword [eax + edi*4]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x436f7d
push ebx
push ebx
push 0x785
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
inc edi
cmp edi, dword [ebp - 0x13c]
jb 0x436f40
mov esi, dword [ebp - 0x130]
lea eax, [esi + 0x10c]
push eax
lea ecx, [ebp - 0x1d0]
push ecx
mov dword [ebp - 0x13c], eax
call fcn.00438060
mov eax, esi
mov dword [ebp - 4], ebx
call fcn.004358e0
mov dword [ebp - 0x158], ebx
jmp 0x436fc0
mov eax, dword [ebp - 0x158]
lea edx, [eax + eax*2]
mov eax, dword [ebp - 0x130]
lea esi, [eax + edx*8 + 0xbc]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x17c], eax
cmp dword [esi + 0xc], eax
jbe 0x436fe9
call fcn.0048b3f2
mov edi, dword [esi + 0xc]
mov ecx, dword [esi]
mov dword [ebp - 0x1b0], ecx
cmp edi, dword [esi + 0x10]
jbe 0x436ffe
call fcn.0048b3f2
mov esi, dword [esi]
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x140], edi
lea esp, [esp]
cmp esi, ebx
je 0x43701c
cmp esi, dword [ebp - 0x1b0]
je 0x437021
call fcn.0048b3f2
cmp edi, dword [ebp - 0x17c]
je 0x437555
cmp esi, ebx
jne 0x437214
call fcn.0048b3f2
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x437046
call fcn.0048b3f2
mov edi, dword [edi]
mov dword [ebp - 0x180], edi
cmp edi, ebx
je 0x43705a
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
call eax
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x437515
lea ecx, [ebp - 0x170]
push ecx
push ecx
mov eax, esp
mov dword [eax], edi
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov dword [ebp - 0x138], esp
push edi
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x16c], ebx
call eax
call fcn.00433cc0
add esp, 8
cmp al, 1
jne 0x4374fd
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 0x131], bl
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], ebx
push ecx
lea ebx, [ebp - 0x170]
lea esi, [ebp - 0x1d0]
call fcn.00438160
mov esi, dword [eax]
mov edx, dword [ebp - 0x1b8]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x1a4], edx
test esi, esi
je 0x4370ef
cmp esi, dword [ebp - 0x1d0]
je 0x4370f4
call fcn.0048b3f2
cmp ebx, dword [ebp - 0x1a4]
je 0x43735d
test esi, esi
jne 0x43721b
call fcn.0048b3f2
cmp ebx, dword [esi + 0x18]
jne 0x437117
call fcn.0048b3f2
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea ecx, [ebp - 0x154]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x437356
push edi
lea edi, [ebp - 0x190]
call fcn.004282a0
test byte [0x4e44d0], 1
mov esi, 1
jne 0x437222
or dword [0x4e44d0], esi
push 0x110
lea edx, [ebp - 0x128]
mov ebx, 0x60
push 0
push edx
mov dword [0x4e44d4], 0x64
mov dword [0x4e44d8], ebx
mov dword [0x4e44dc], ebx
mov byte [0x4e44e0], 0
call fcn.0048f0a0
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 0x12c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x128], 5
jne 0x4371c1
cmp dword [ebp - 0x124], esi
je 0x437222
push 0
mov byte [0x4e44e0], 1
mov edi, ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x4371ec
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebx
push 0x64
mov dword [0x4e44dc], edi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
call edi
mov ecx, eax
mov dword [0x4e44d4], ecx
cmp ecx, 0x64
jne 0x43722e
mov byte [0x4e44e0], 0
jmp 0x43722e
mov eax, dword [esi]
jmp 0x43703c
mov esi, dword [esi]
jmp 0x43710d
mov ecx, dword [0x4e44d4]
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov ebx, dword [ebp - 0x14c]
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x148]
mov esi, dword [ebp - 0x150]
sub eax, esi
sub ebx, edx
cmp byte [0x4e44e0], 0
mov dword [ebp - 0x138], eax
je 0x4372c8
cmp ecx, 0x64
je 0x437278
push 0x64
push ecx
push edx
call edi
mov ecx, dword [0x4e44d4]
mov esi, dword [ebp - 0x150]
mov edx, eax
mov dword [ebp - 0x154], edx
cmp byte [0x4e44e0], 0
je 0x4372c8
cmp ecx, 0x64
je 0x4372a0
push 0x64
push ecx
push esi
call edi
mov ecx, dword [0x4e44d4]
mov edx, dword [ebp - 0x154]
mov esi, eax
mov dword [ebp - 0x150], esi
cmp byte [0x4e44e0], 0
je 0x4372c8
cmp ecx, 0x64
je 0x4372c8
push 0x64
push ecx
push ebx
call edi
mov ecx, dword [0x4e44d4]
mov esi, dword [ebp - 0x150]
mov edx, dword [ebp - 0x154]
jmp 0x4372ca
mov eax, ebx
add eax, edx
cmp byte [0x4e44e0], 0
mov dword [ebp - 0x14c], eax
je 0x4372fa
cmp ecx, 0x64
je 0x4372fa
push 0x64
push ecx
mov ecx, dword [ebp - 0x138]
push ecx
call edi
mov esi, dword [ebp - 0x150]
mov edx, dword [ebp - 0x154]
jmp 0x437300
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x190]
mov edi, ecx
sub edi, edx
mov dword [ebp - 0x160], edi
mov edi, dword [ebp - 0x18c]
mov ebx, edi
sub ebx, esi
mov dword [ebp - 0x15c], ebx
mov ebx, dword [ebp - 0x188]
sub ebx, dword [ebp - 0x14c]
add eax, esi
sub ebx, ecx
add ebx, edx
mov edx, dword [ebp - 0x184]
sub edx, eax
sub edx, edi
mov edi, dword [ebp - 0x180]
add edx, esi
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], edx
mov byte [ebp - 0x131], 1
mov esi, dword [ebp - 0x13c]
lea eax, [ebp - 0x1d8]
push eax
lea ebx, [ebp - 0x170]
call fcn.00438160
mov esi, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 0x13c]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x19c], ecx
test esi, esi
je 0x437393
cmp esi, eax
je 0x437398
call fcn.0048b3f2
cmp ebx, dword [ebp - 0x19c]
je 0x437416
lea edx, [ebp - 0x168]
push edx
lea eax, [ebp - 0x160]
push eax
test esi, esi
jne 0x43740e
call fcn.0048b3f2
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x4373c3
call fcn.0048b3f2
lea ecx, [ebx + 0x14]
push ecx
push ecx
mov eax, esp
mov dword [eax], edi
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov dword [ebp - 0x138], esp
push edi
call eax
call fcn.00435b30
test esi, esi
jne 0x437412
call fcn.0048b3f2
cmp ebx, dword [esi + 0x18]
jne 0x4373f2
call fcn.0048b3f2
mov ecx, dword [ebp - 0x130]
mov edx, dword [ecx + 0x4c]
add ebx, 0x24
push ebx
push edx
mov eax, edi
call fcn.00428cb0
xor ebx, ebx
jmp 0x43750f
mov eax, dword [esi]
jmp 0x4373b9
mov esi, dword [esi]
jmp 0x4373e8
cmp byte [ebp - 0x131], 1
jne 0x4374fb
mov esi, dword [ebp - 0x130]
lea eax, [ebp - 0x1e8]
add esi, 0xec
push eax
lea ebx, [ebp - 0x170]
call fcn.00438160
mov ebx, dword [eax]
mov edx, dword [esi + 0x18]
mov ecx, dword [eax + 4]
mov esi, dword [esi]
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x194], edx
test ebx, ebx
je 0x43745f
cmp ebx, esi
je 0x437464
call fcn.0048b3f2
mov eax, dword [ebp - 0x194]
cmp dword [ebp - 0x174], eax
je 0x4374fb
lea ecx, [ebp - 0x168]
push ecx
lea edx, [ebp - 0x160]
push edx
test ebx, ebx
jne 0x4374f3
call fcn.0048b3f2
xor eax, eax
mov ecx, dword [ebp - 0x174]
cmp ecx, dword [eax + 0x18]
jne 0x43749f
call fcn.0048b3f2
mov edx, dword [ebp - 0x174]
add edx, 0x14
push edx
push ecx
mov eax, esp
mov dword [eax], edi
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x138], esp
push edi
call ecx
call fcn.00435b30
test ebx, ebx
jne 0x4374f7
call fcn.0048b3f2
mov esi, dword [ebp - 0x174]
cmp esi, dword [ebx + 0x18]
jne 0x4374da
call fcn.0048b3f2
mov edx, dword [ebp - 0x130]
mov eax, dword [edx + 0x4c]
add esi, 0x24
push esi
push eax
mov eax, edi
call fcn.00428cb0
xor ebx, ebx
jmp 0x43750f
mov eax, dword [ebx]
jmp 0x43748f
mov ebx, dword [ebx]
jmp 0x4374ca
xor ebx, ebx
mov ecx, dword [ebp - 0x130]
mov edx, dword [ecx + 0x4c]
push ebx
push edx
mov eax, edi
call fcn.00428cb0
mov esi, dword [ebp - 0x144]
mov byte [ebp - 4], bl
cmp edi, ebx
je 0x437524
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
cmp esi, ebx
jne 0x437551
call fcn.0048b3f2
xor eax, eax
mov edx, dword [ebp - 0x140]
cmp edx, dword [eax + 0x10]
jb 0x43753f
call fcn.0048b3f2
add dword [ebp - 0x140], 4
mov edi, dword [ebp - 0x140]
jmp 0x437010
mov eax, dword [esi]
jmp 0x43752f
mov eax, dword [ebp - 0x158]
inc eax
cmp eax, 2
mov dword [ebp - 0x158], eax
jl 0x436fc0
mov ecx, dword [ebp - 0x130]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
lea esi, [ebp - 0x1d0]
mov dword [ebp - 4], 2
call fcn.00438ff0
mov eax, dword [ebp - 0x1d0]
push eax
call fcn.00480ff0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret 4