Function at 0x4bb040
Capabilities:
Access peb ldr_data
Get graphical window text
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x504b61
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x460], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x47c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x48c]
xor eax, eax
xor ebp, ebp
push ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x484], ebp
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esp + 0x40], eax
push 0x40e
lea ecx, [esp + 0x6a]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x70], ax
call fcn.004e8fe0
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x208
lea eax, [esp + 0x68]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], ebp
call fcn.00420bb0
xor edx, edx
mov esi, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebp
mov word [esp + 0x4c], dx
mov byte [esp + 0x484], 2
cmp esi, ebp
je 0x4bb16e
cmp dword [esi + 4], ebp
jne 0x4bb169
mov eax, 0x190
xor ecx, ecx
call fcn.00420c60
mov dword [esi + 4], eax
mov edx, dword [esi + 4]
jmp 0x4bb170
xor edx, edx
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
lea ecx, [esp + 0x68]
push ecx
push eax
mov ecx, ebx
call fcn.004c6460
add esp, 0xc
test al, al
je 0x4bb1ec
cmp dword [esp + 0x60], 8
mov edi, dword [esp + 0x4c]
jae 0x4bb1a0
lea edi, [esp + 0x4c]
lea eax, [esp + 0x64]
mov ecx, eax
mov edx, 0x208
sub edi, ecx
lea ecx, [ecx]
lea ecx, [edx + 0x7ffffdf6]
test ecx, ecx
je 0x4bb1d0
movzx ecx, word [edi + eax]
cmp cx, bp
je 0x4bb1d0
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4bb1b0
jmp 0x4bb1d4
cmp edx, ebp
jne 0x4bb1d7
sub eax, 2
xor edx, edx
mov word [eax], dx
lea eax, [esp + 0x64]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [esp + 0x2c]
cmp esi, ebp
je 0x4bb213
cmp dword [esi + 4], ebp
jne 0x4bb204
mov eax, 0x190
xor ecx, ecx
call fcn.00420c60
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x64]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4bb220
push 0x2410
sub eax, edx
lea ecx, [esp + 0x34]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x70]
push edx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x4bb256
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x20]
sub edi, dword [esp + 0x34]
sub ebp, dword [esp + 0x18]
sub ecx, eax
sub esi, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x4c], esi
call dword [sym.imp.USER32.dll_ReleaseDC]
lea edx, [esp + 0x14]
push edx
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [0x56610c]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x4bb2ae
mov eax, 0x1e
jmp 0x4bb2e9
cmp eax, 1
jne 0x4bb2d2
mov eax, dword [ecx + 4]
mov edx, eax
shl edx, 4
sub edx, eax
add edx, edx
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x4bb2e9
mov eax, dword [ecx]
mov edx, eax
shl edx, 4
sub edx, eax
add edx, edx
mov eax, 0x51eb851f
mul edx
mov eax, edx
shr eax, 5
sub eax, ebp
add eax, edi
add dword [esp + 0x20], eax
mov eax, dword [ecx + 8]
test eax, eax
jne 0x4bb2ff
mov eax, 0x22
jmp 0x4bb33a
cmp eax, 1
jne 0x4bb323
mov eax, dword [ecx + 4]
mov edx, eax
shl edx, 4
add edx, eax
add edx, edx
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x4bb33a
mov eax, dword [ecx]
mov edx, eax
shl edx, 4
add edx, eax
add edx, edx
mov eax, 0x51eb851f
mul edx
mov eax, edx
shr eax, 5
sub eax, esi
add eax, dword [esp + 0x24]
add dword [esp + 0x1c], eax
mov esi, dword [ecx + 8]
test esi, esi
jne 0x4bb350
lea eax, [esi + 0x14]
jmp 0x4bb387
cmp esi, 1
jne 0x4bb372
mov eax, dword [ecx + 4]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x4bb387
mov eax, dword [ecx]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov eax, 0x51eb851f
mul edx
mov eax, edx
shr eax, 5
cmp edi, eax
jge 0x4bb3c6
test esi, esi
jne 0x4bb394
lea eax, [esi + 0xa]
jmp 0x4bb3c2
mov eax, 0x51eb851f
cmp esi, 1
jne 0x4bb3b4
mov ecx, dword [ecx + 4]
lea ecx, [ecx + ecx*4]
add ecx, ecx
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x4bb3c2
mov ecx, dword [ecx]
lea ecx, [ecx + ecx*4]
add ecx, ecx
mul ecx
mov eax, edx
shr eax, 5
add dword [esp + 0x18], eax
mov esi, dword [esp + 0x28]
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x4bb3e6
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 0x4000
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
push edx
push eax
push ecx
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [0x56610c]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x4bb42c
mov eax, 0x28
jmp 0x4bb467
cmp eax, 1
jne 0x4bb450
mov eax, dword [ecx + 4]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
add edx, edx
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x4bb467
mov eax, dword [ecx]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
add edx, edx
mov eax, 0x51eb851f
mul edx
mov eax, edx
shr eax, 5
mov ebx, dword [esp + 0x20]
sub eax, ebp
add eax, edi
add ebx, eax
mov dword [esp + 0x20], ebx
mov eax, dword [ecx + 8]
test eax, eax
jne 0x4bb483
mov eax, 0x14
jmp 0x4bb4ba
cmp eax, 1
jne 0x4bb4a5
mov eax, dword [ecx + 4]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x4bb4ba
mov eax, dword [ecx]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov eax, 0x51eb851f
mul edx
mov eax, edx
shr eax, 5
sub eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x1c]
add eax, dword [esp + 0x24]
add ebp, eax
mov dword [esp + 0x1c], ebp
mov esi, dword [ecx + 8]
test esi, esi
jne 0x4bb4d8
lea eax, [esi + 0x64]
jmp 0x4bb502
mov eax, 0x51eb851f
cmp esi, 1
jne 0x4bb4f6
mov edx, dword [ecx + 4]
imul edx, edx, 0x64
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x4bb502
mov edx, dword [ecx]
imul edx, edx, 0x64
mul edx
mov eax, edx
shr eax, 5
mov edi, dword [esp + 0x18]
mov edx, ebx
sub edx, edi
cmp edx, eax
jge 0x4bb548
test esi, esi
jne 0x4bb517
lea eax, [esi + 0x64]
jmp 0x4bb541
mov eax, 0x51eb851f
cmp esi, 1
jne 0x4bb535
mov edx, dword [ecx + 4]
imul edx, edx, 0x64
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x4bb541
mov edx, dword [ecx]
imul edx, edx, 0x64
mul edx
mov eax, edx
shr eax, 5
lea ebx, [eax + edi]
mov dword [esp + 0x20], ebx
mov esi, dword [ecx + 8]
test esi, esi
jne 0x4bb556
mov eax, 0x12c
jmp 0x4bb586
mov eax, 0x51eb851f
cmp esi, 1
jne 0x4bb577
mov edx, dword [ecx + 4]
imul edx, edx, 0x12c
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x4bb586
mov edx, dword [ecx]
imul edx, edx, 0x12c
mul edx
mov eax, edx
shr eax, 5
mov edi, dword [esp + 0x14]
mov edx, ebp
sub edx, edi
cmp edx, eax
jge 0x4bb5d4
test esi, esi
jne 0x4bb59d
mov eax, 0x12c
jmp 0x4bb5cd
mov eax, 0x51eb851f
cmp esi, 1
jne 0x4bb5be
mov ecx, dword [ecx + 4]
imul ecx, ecx, 0x12c
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x4bb5cd
mov ecx, dword [ecx]
imul ecx, ecx, 0x12c
mul ecx
mov eax, edx
shr eax, 5
lea ebp, [eax + edi]
mov dword [esp + 0x1c], ebp
sub ebp, edi
mov ecx, ebp
cmp ecx, 0x1cc
jge 0x4bb5e5
mov ecx, 0x1cc
sub ebx, dword [esp + 0x18]
mov eax, ebx
cmp eax, 0xd2
jge 0x4bb5f7
mov eax, 0xd2
mov edx, dword [esp + 0x28]
push 0x4002
push eax
push ecx
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x60], 8
jb 0x4bb623
mov eax, dword [esp + 0x4c]
push eax
call fcn.004e3ed0
add esp, 4
xor ecx, ecx
mov byte [esp + 0x484], cl
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov word [esp + 0x4c], cx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4bb661
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4bb670
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x47c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x460]
xor ecx, esp
call fcn.004e3edb
add esp, 0x474
ret