Function at 0x10098189
Capabilities:
Check os version

Disassembly:
push 0x30
mov eax, 0x100b7f54
call fcn.100b4d71
mov ebx, ecx
push 0x10002
push dword [0x101004d4]
call sub.java.dll__JNU_GetEnv_8
mov esi, eax
mov eax, dword [esi]
push 4
push esi
mov dword [ebp - 0x20], esi
call dword [eax + 0x68]
test eax, eax
js 0x10098445
mov eax, dword [ebx + 4]
push esi
mov ecx, ebx
mov dword [ebp - 0x24], eax
call fcn.1009e019
push esi
mov ecx, ebx
mov dword [ebp - 0x18], eax
call fcn.10096db3
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x390]
test al, al
je 0x10098208
push dword [ebp - 0x18]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
xor eax, eax
lea edi, [ebp + 0xb]
stosb byte es:[edi], al
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x11], al
push 0x100da640
lea eax, [ebp - 0x11]
push eax
call sub.MSVCR100.dll__CxxThrowException
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.1007051e
mov edi, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
mov dword [ebp - 0x28], edi
call dword [eax + 0x20]
test eax, eax
je 0x10098276
push 0xf
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp edi, eax
jle 0x10098276
and dword [ebp - 4], 0
push esi
mov ecx, ebx
call fcn.1009e019
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
mov edi, eax
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x64]
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
push eax
push dword [ebp + 8]
call fcn.1007051e
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov edi, dword [ebp - 0x18]
push str.__Ljava_lang_String_
push str.getName
push edi
push 0
push esi
call sub.java.dll_JNU_CallMethodByName
add esp, 0x14
mov dword [ebp - 0x34], eax
mov eax, dword [esi]
push esi
mov dword [ebp - 0x30], edx
call dword [eax + 0x390]
test al, al
je 0x100982e9
push dword [ebp - 0x1c]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x5c]
xor eax, eax
lea edi, [ebp + 0xb]
stosb byte es:[edi], al
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x12], al
push 0x100da640
lea eax, [ebp - 0x12]
jmp 0x10098202
push edi
push esi
mov ecx, ebx
call fcn.1009717d
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x390]
test al, al
je 0x10098334
push dword [ebp - 0x1c]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x5c]
push dword [ebp - 0x34]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
xor eax, eax
lea edi, [ebp + 0xb]
stosb byte es:[edi], al
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x13], al
push 0x100da640
lea eax, [ebp - 0x13]
jmp 0x10098202
push 0x100cbe9c
push str.getHeight
push dword [ebp - 0x20]
push 0
push esi
call sub.java.dll_JNU_CallMethodByName
add esp, 0x14
mov edi, eax
mov eax, dword [esi]
push esi
mov dword [ebp - 0x38], edx
call dword [eax + 0x390]
test al, al
je 0x1009839b
push dword [ebp - 0x1c]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
push dword [ebp - 0x18]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
push dword [ebp - 0x34]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
push dword [ebp - 0x20]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
xor eax, eax
lea edi, [ebp + 0xb]
stosb byte es:[edi], al
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x14], al
push 0x100da640
lea eax, [ebp - 0x14]
jmp 0x10098202
push 3
pop ecx
mov eax, edi
xor edx, edx
div ecx
mov ecx, ebx
add eax, edi
mov edi, dword [ebp + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0xc], eax
mov eax, dword [ebx]
call dword [eax + 0x20]
test eax, eax
jne 0x10098421
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov dword [ebp + 0xc], ebx
call dword [sym.imp.kernel32.dll_GetVersion]
cmp al, 6
jb 0x100983e3
lea eax, [ebp + 0xc]
push eax
call fcn.1009716d
mov ebx, dword [ebp + 0xc]
add esp, 4
add dword [edi + 0xc], ebx
push dword [0x1010032c]
mov eax, dword [esi]
push dword [ebp - 0x24]
push esi
call dword [eax + 0x17c]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x10098421
push 0
push eax
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.1007051e
add esp, 0x10
push dword [ebp + 0xc]
add eax, ebx
add dword [edi + 0xc], eax
mov eax, dword [esi]
push esi
mov dword [ebp - 0x38], edx
call dword [eax + 0x5c]
push dword [ebp - 0x1c]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
push dword [ebp - 0x18]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
push dword [ebp - 0x34]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
push dword [ebp - 0x20]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
call fcn.100b4e16
ret 8