Function at 0x100bcc8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 8]
cmp eax, reloc.ntdll.dll_NtQuerySystemInformation
push edi
mov edi, ecx
je reloc.ntdll.dll_NtQuerySystemInformation
cmp eax, reloc.ntdll.dll_NtQuerySystemInformation
je reloc.ntdll.dll_NtQuerySystemInformation
cmp eax, reloc.ntdll.dll_NtQuerySystemInformation
jne case.default.0x100bc54
test byte [esi + 0x1c], 8
je case.default.0x100bc54
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
xor ebx, ebx
push ebx
push ebx
push reloc.ntdll.dll_NtQuerySystemInformation
push _snwprintf
push dword [edi + 4]
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
cmp eax, ebx
setne cl
push ecx
push _snwprintf
push dword [edi + 4]
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.default.0x100bc54
mov eax, dword [esi + 0x10]
mov eax, dword [eax*4 + reloc.USER32.dll_GetClassLongW]
cmp dword [reloc.USER32.dll_GetClassLongW], eax
jne reloc.ntdll.dll_NtQuerySystemInformation
neg dword [reloc.USER32.dll_GetClassLongW]
jmp reloc.ntdll.dll_NtQuerySystemInformation
or dword [reloc.USER32.dll_GetClassLongW], 0xffffffff
mov dword [reloc.USER32.dll_GetClassLongW], eax
lea eax, [edi + 0xc]
push eax
call fcn.0100b672
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
jmp case.default.0x100bc54
test byte [esi + 0xc], 1
je case.default.0x100bc54
mov eax, dword [esi + 0x14]
mov ecx, dword [eax*4 + reloc.USER32.dll_GetClassLongW]
mov eax, dword [esi + 0x2c]
xor ebx, ebx
cmp dword [eax + 0x8c], ebx
je reloc.ntdll.dll_NtQuerySystemInformation
cmp ecx, ebx
je reloc.ntdll.dll_NtQuerySystemInformation
cmp ecx, 0xe
je reloc.ntdll.dll_NtQuerySystemInformation
cmp ecx, 0x10
je reloc.ntdll.dll_NtQuerySystemInformation
cmp ecx, 5
je reloc.ntdll.dll_NtQuerySystemInformation
cmp ecx, 2
je reloc.ntdll.dll_NtQuerySystemInformation
cmp ecx, 3
je reloc.ntdll.dll_NtQuerySystemInformation
cmp ecx, 4
je reloc.ntdll.dll_NtQuerySystemInformation
mov eax, dword [esi + 0x20]
mov word [eax], bx
jmp case.default.0x100bc54
cmp ecx, 0x18
ja case.default.0x100bc54
jmp dword [ecx*4 + 0x100be62]
push dword [eax + 8]
push reloc.USER32.dll_SetProcessWindowStation
jmp reloc.ntdll.dll_NtQuerySystemInformation
mov eax, dword [eax + 0xc]
cmp eax, ebx
je case.default.0x100bc54
jmp reloc.ntdll.dll_NtQuerySystemInformation
push dword [eax + 0x10]
jmp reloc.ntdll.dll_NtQuerySystemInformation
movzx eax, byte [eax + 0x15]
push eax
push reloc.USER32.dll_SetProcessWindowStation
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp case.default.0x100bc54
push dword [esi + 0x24]
push dword [eax + 0x88]
jmp reloc.ntdll.dll_NtQuerySystemInformation
lea ecx, [ebp - 0x10]
push ecx
add eax, 0x20
push eax
call dword [sym.imp.ntdll.dll_RtlTimeToElapsedTimeFields]
mov eax, dword [ebp - 0xc]
movsx ecx, word [ebp - 8]
lea eax, [eax + eax*2]
shl eax, 3
add word [ebp - 0xa], ax
movsx eax, word [ebp - 6]
push eax
mov eax, reloc.ntdll.dll_NtQuerySystemInformation
push eax
push ecx
push eax
movsx eax, word [ebp - 0xa]
push eax
push reloc.USER32.dll_SetProcessWindowStation
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
jmp case.default.0x100bc54
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [eax + 0x28]
jmp reloc.ntdll.dll_NtQuerySystemInformation
push dword [esi + 0x24]
mov eax, dword [eax + 0x2c]
push dword [esi + 0x20]
cdq
push edx
push eax
jmp reloc.ntdll.dll_NtQuerySystemInformation
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [eax + 0x98]
jmp reloc.ntdll.dll_NtQuerySystemInformation
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [eax + 0x30]
jmp reloc.ntdll.dll_NtQuerySystemInformation
push dword [esi + 0x24]
mov eax, dword [eax + 0x34]
push dword [esi + 0x20]
cdq
push edx
push eax
jmp reloc.ntdll.dll_NtQuerySystemInformation
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [eax + 0x38]
jmp reloc.ntdll.dll_NtQuerySystemInformation
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [eax + 0x3c]
jmp reloc.ntdll.dll_NtQuerySystemInformation
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [eax + 0x40]
mov ecx, edi
call fcn.0100a852
jmp case.default.0x100bc54
mov eax, dword [eax + 0x44]
sub eax, 0x20
je reloc.ntdll.dll_NtQuerySystemInformation
sub eax, 0x20
je reloc.ntdll.dll_NtQuerySystemInformation
sub eax, 0x40
je reloc.ntdll.dll_NtQuerySystemInformation
sub eax, 0x80
je reloc.ntdll.dll_NtQuerySystemInformation
sub eax, reloc.ntdll.dll_NtQuerySystemInformation
je reloc.ntdll.dll_NtQuerySystemInformation
sub eax, reloc.ntdll.dll_NtQuerySystemInformation
je reloc.ntdll.dll_NtQuerySystemInformation
mov eax, reloc.ntdll.dll_NtQuerySystemInformation
jmp reloc.ntdll.dll_NtQuerySystemInformation
mov eax, reloc.ntdll.dll_NtQuerySystemInformation
jmp reloc.ntdll.dll_NtQuerySystemInformation
mov eax, reloc.ntdll.dll_NtQuerySystemInformation
jmp reloc.ntdll.dll_NtQuerySystemInformation
mov eax, reloc.ntdll.dll_NtQuerySystemInformation
jmp reloc.ntdll.dll_NtQuerySystemInformation
mov eax, reloc.ntdll.dll_NtQuerySystemInformation
jmp reloc.ntdll.dll_NtQuerySystemInformation
mov eax, reloc.ntdll.dll_NtQuerySystemInformation
jmp reloc.ntdll.dll_NtQuerySystemInformation
mov eax, reloc.ntdll.dll_NtQuerySystemInformation
push dword [esi + 0x24]
push eax
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp case.default.0x100bc54
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [eax + 0x48]
jmp reloc.ntdll.dll_NtQuerySystemInformation
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [eax + 0x4c]
jmp reloc.ntdll.dll_NtQuerySystemInformation
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [eax + 0x54]
jmp reloc.ntdll.dll_NtQuerySystemInformation
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [eax + 0x50]
jmp reloc.ntdll.dll_NtQuerySystemInformation
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [eax + 0x5c]
push dword [eax + 0x58]
jmp reloc.ntdll.dll_NtQuerySystemInformation
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [eax + 0x64]
push dword [eax + 0x60]
jmp reloc.ntdll.dll_NtQuerySystemInformation
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [eax + 0x6c]
push dword [eax + 0x68]
jmp reloc.ntdll.dll_NtQuerySystemInformation
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [eax + 0x74]
push dword [eax + 0x70]
jmp reloc.ntdll.dll_NtQuerySystemInformation
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [eax + 0x7c]
push dword [eax + 0x78]
jmp reloc.ntdll.dll_NtQuerySystemInformation
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [eax + 0x84]
push dword [eax + 0x80]
mov ecx, edi
call fcn.0100a7d3
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 8