Function at 0x10097d18
Capabilities:
Check os version

Disassembly:
push 0x74
mov eax, 0x100b7f2c
call fcn.100b4ddd
mov esi, dword [ebp + 8]
push 0x10002
push dword [0x101004d4]
mov edi, ecx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x68], esi
call sub.java.dll__JNU_GetEnv_8
mov ebx, eax
mov eax, dword [ebx]
push 4
push ebx
mov dword [ebp - 0x6c], ebx
call dword [eax + 0x68]
test eax, eax
js 0x1009815b
push dword [0x10100364]
mov eax, dword [edi + 4]
mov ecx, dword [ebx]
push eax
push ebx
mov dword [ebp - 0x80], eax
call dword [ecx + 0x17c]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x50], eax
lea eax, [esi + 0x1c]
mov esi, eax
lea edi, [ebp - 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [ebp - 4], 0
movsd dword es:[edi], dword [esi]
mov esi, eax
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x5c]
push ebx
mov ecx, edi
call fcn.1009e019
or dword [ebp - 4], 0xffffffff
push ebx
mov ecx, edi
mov dword [ebp - 0x54], eax
call fcn.10096db3
mov dword [ebp - 0x60], eax
mov eax, dword [ebx]
push ebx
call dword [eax + 0x390]
test al, al
je 0x10097dd9
push dword [ebp - 0x64]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x5c]
xor eax, eax
lea edi, [ebp - 0x55]
stosb byte es:[edi], al
mov al, byte [ebp - 0x55]
mov byte [ebp - 0x56], al
push 0x100da640
lea eax, [ebp - 0x56]
push eax
call sub.MSVCR100.dll__CxxThrowException
mov esi, dword [ebp - 0x50]
push 0
push dword [ebp - 0x60]
push dword [ebp - 0x54]
push esi
call fcn.1007051e
mov dword [ebp - 0x74], eax
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x70], edx
call dword [eax + 0x20]
test eax, eax
je 0x10097e49
push 0xf
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [ebp - 0x78], eax
jle 0x10097e49
push dword [ebp - 0x54]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x5c]
push ebx
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.1009e019
mov ecx, dword [ebx]
push eax
push ebx
call dword [ecx + 0x64]
or dword [ebp - 4], 0xffffffff
push 0
push dword [ebp - 0x60]
mov dword [ebp - 0x54], eax
push eax
push esi
call fcn.1007051e
add esp, 0x10
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
push dword [0x10100328]
mov eax, dword [ebx]
push dword [ebp - 0x64]
mov edi, dword [edi + 0x28]
push ebx
call dword [eax + 0x180]
movzx eax, al
mov dword [ebp - 0x4c], eax
test edi, edi
je 0x10097ea2
test eax, eax
je 0x10097e9e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
test eax, eax
jne 0x10097e9e
mov dword [ebp - 0x4c], 1
jmp 0x10097ea2
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x68]
test byte [eax + 0x10], 1
je 0x10097ed0
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
call edi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x4c]
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 0x11
push eax
call edi
mov edi, dword [sym.imp.kernel32.dll_GetVersion]
jmp 0x10097f23
mov edi, dword [sym.imp.kernel32.dll_GetVersion]
call edi
cmp al, 5
jb 0x10097ee5
call edi
shr eax, 8
cmp al, 1
jae 0x10097eeb
call edi
cmp al, 5
jbe 0x10097f04
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx]
call dword [eax + 0x20]
test eax, eax
je 0x10097f04
call fcn.1007d9f5
test eax, eax
je 0x10097f04
push 0x1e
jmp 0x10097f06
push 4
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x4c]
neg eax
sbb eax, eax
and eax, 0xfffffff6
add eax, 0x11
push eax
call dword [sym.imp.USER32.dll_GetSysColor]
push dword [ebp - 0x48]
mov dword [ebp - 0x6c], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp - 0x78]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x48]
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [ebp - 0x6c]
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 2
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x47
mov dword [ebp - 0x78], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x48], eax
call edi
cmp al, 6
jb 0x10097f84
lea eax, [ebp - 0x48]
push eax
call fcn.1009716d
add esp, 4
mov edi, dword [ebp - 0x5c]
cmp dword [edi + 0x30], 0
je 0x10097feb
push dword [0x1010031c]
mov eax, dword [ebx]
push dword [ebp - 0x64]
push ebx
call dword [eax + 0x180]
test al, al
je 0x10097feb
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
cmp dword [0x1010033c], 0
je 0x10097fc5
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], eax
jmp 0x10097fce
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x5c]
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x50]
lea esi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1009e019
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x5c]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
test eax, eax
jne 0x10098020
mov eax, dword [ebp - 0x48]
add dword [ebp - 0x24], eax
cmp dword [0x1010033c], 0
je 0x1009801b
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x74]
sub ecx, eax
mov dword [ebp - 0x50], ecx
jmp 0x10098036
mov eax, dword [ebp - 0x24]
jmp 0x10098031
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x24]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x24], eax
mov ecx, eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x20]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
cmp dword [ebp - 0x4c], 0
jne 0x10098098
mov eax, dword [ebp - 0x68]
test byte [eax + 0x10], 1
jne 0x10098098
push 0x14
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [0x10100344]
lea eax, [edi + 1]
push 1
push eax
mov eax, dword [ebp - 0x50]
inc eax
push eax
push dword [ebp - 0x54]
push esi
push dword [ebp - 0x60]
call fcn.10088d6e
add esp, 0x1c
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [ebp - 0x50]
push dword [0x10100344]
push 1
push edi
push ecx
push dword [ebp - 0x54]
push esi
push dword [ebp - 0x60]
call fcn.10088d6e
mov eax, dword [ebx]
add esp, 0x1c
push dword [0x1010032c]
push dword [ebp - 0x80]
push ebx
call dword [eax + 0x17c]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx]
call dword [eax + 0x20]
test eax, eax
jne 0x1009812d
cmp dword [ebp - 0x4c], eax
je 0x1009812d
cmp dword [0x1010033c], eax
je 0x100980f8
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextAlign]
push dword [0x10100344]
mov dword [ebp - 0x68], eax
push 1
push edi
push dword [ebp - 0x24]
jmp 0x10098114
push 2
push esi
call dword [sym.imp.GDI32.dll_SetTextAlign]
push dword [0x10100344]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x48]
push 1
push edi
push eax
push dword [ebp - 0x54]
push esi
push dword [ebp - 0x4c]
call fcn.10088d6e
add esp, 0x1c
push dword [ebp - 0x68]
push esi
call dword [sym.imp.GDI32.dll_SetTextAlign]
push dword [ebp - 0x78]
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebp - 0x64]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x5c]
push dword [ebp - 0x60]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x5c]
push dword [ebp - 0x54]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x5c]
push dword [ebp - 0x4c]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x5c]
call fcn.100b4e39
ret 4