Function at 0x1002494d
Capabilities:
Get memory capacity
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002496b
push 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x10025392
mov dword [ebp - 4], 0x44555950
mov dword [ebp - 0x28], 0x88dd0bb2
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 4], 0
jne 0x10024997
cmp dword [ebp - 4], 0
jne 0x10024997
and dword [ebp - 0xc0], 0
jmp 0x100249a1
mov dword [ebp - 0xc0], 1
mov eax, dword [ebp - 4]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 4]
cmp dword [ebp - 0xc0], eax
jne 0x100249c4
mov dword [ebp - 0x90], 1
jmp 0x100249cb
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0xe0710dd0
jne 0x100249e3
mov dword [ebp - 0xe4], 1
jmp 0x100249ea
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0xffff
jne 0x10024a02
mov dword [ebp - 0x108], 1
jmp 0x10024a09
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 4], 0x94d0
je 0x10024a24
mov dword [ebp - 0x78], 1
jmp 0x10024a28
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x78], eax
je 0x10024a3c
mov dword [ebp - 0xec], 1
jmp 0x10024a43
and dword [ebp - 0xec], 0
imul eax, dword [ebp - 0xec], 0
test eax, eax
jne 0x10024a5a
cmp dword [ebp - 4], 0
jne 0x10024a5a
and dword [ebp - 0x80], 0
jmp 0x10024a61
mov dword [ebp - 0x80], 1
mov eax, dword [ebp - 4]
cmp dword [ebp - 4], 0
je 0x10024aad
mov dword [ebp - 0x12c], 0x814b
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x50], eax
jg 0x10024a98
mov dword [ebp - 0xf4], 1
jmp 0x10024a9f
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x50], eax
jmp 0x10024c7c
mov dword [ebp - 0x40], 0xf4a1d2da
mov dword [ebp - 0xd0], 4
mov dword [ebp - 0x54], 0
jmp 0x10024ace
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 3
jge 0x10024ae4
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x190], 0xffffffff
jmp 0x10024ac7
mov dword [ebp - 4], 6
jmp 0x10024af4
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
jl 0x10024c7c
mov dword [ebp - 0x14], 0x8c84060a
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x40]
test eax, eax
je 0x10024b22
cmp dword [ebp - 4], 0
je 0x10024b22
mov dword [ebp - 0xe8], 1
jmp 0x10024b29
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x144], eax
mov eax, 0xd0c653dd
cmp eax, 0x97e65fbc
jbe 0x10024b53
mov dword [ebp - 0x88], 1
jmp 0x10024b5a
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0
jl 0x10024b6f
mov dword [ebp - 0xfc], 1
jmp 0x10024b76
and dword [ebp - 0xfc], 0
imul eax, dword [ebp - 0xfc], 0x5951
cmp eax, 0xe7ff5188
jb 0x10024b93
mov dword [ebp - 0x104], 1
jmp 0x10024b9a
and dword [ebp - 0x104], 0
imul eax, dword [ebp - 0x104], 0x7e52
imul eax, dword [ebp - 0xe8]
test eax, eax
jle 0x10024bbb
mov dword [ebp - 0x98], 1
jmp 0x10024bc2
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
inc eax
cmp eax, dword [ebp - 0x14]
je 0x10024bf8
cmp dword [ebp - 4], 0
je 0x10024bf8
mov byte [ebp - 0x1c], 0
movzx eax, byte [ebp - 0x1c]
test eax, eax
je 0x10024bef
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EndPaint]
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
jmp 0x10024c6a
mov dword [ebp - 0x14], 0
jmp 0x10024c08
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1c
jle 0x10024c24
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x10024c22
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
jmp 0x10024c01
mov dword [ebp - 0x14], 0
jmp 0x10024c34
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jg 0x10024c6a
mov dword [ebp - 0x28], 0
jmp 0x10024c4a
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jg 0x10024c68
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x10024c66
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x10024c43
jmp 0x10024c2d
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
jmp 0x10024aed
mov byte [ebp - 0x1a], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xa0], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x2c], 1
jmp 0x10024caa
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x25
jl 0x10024cd0
mov dword [ebp - 0xa0], 0xffffffff
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x10024cce
push 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x10024ca3
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10024e61
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x34], 0
jmp 0x10024cf3
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x10024d09
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x164], 0x329e
jmp 0x10024cec
cmp dword [ebp - 0x24], 0
je 0x10024d4b
mov dword [ebp - 0x48], 0
jmp 0x10024d1f
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x10024d35
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x128], 0xfb63
jmp 0x10024d18
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x128], 0xffffffff
jmp 0x10024e52
mov dword [ebp - 0x114], 0xfffffff7
mov dword [ebp - 0xb0], 0x4f934f54
mov dword [ebp - 0xa8], 0x23e93d0b
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x24], 0
jmp 0x10024d83
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x17
jg 0x10024e52
mov dword [ebp - 0x68], 2
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10024dab
push 0x720
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
cmp dword [ebp - 0x114], 0
jne 0x10024dc0
mov dword [ebp - 0xd8], 1
jmp 0x10024dc7
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x68], eax
jl 0x10024ddb
mov dword [ebp - 0xf8], 1
jmp 0x10024de2
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
jne 0x10024e06
cmp dword [ebp - 0x68], 0
jne 0x10024e06
and dword [ebp - 0x124], 0
jmp 0x10024e10
mov dword [ebp - 0x124], 1
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x68], 1
je 0x10024e3a
mov dword [ebp - 0xf0], 1
jmp 0x10024e41
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x11c], eax
jmp 0x10024d7c
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetMenu]
mov dword [ebp - 8], 0x31551da6
mov dword [ebp - 0xc], 0xfff6
mov dword [ebp - 0x10], 0xfffffff6
mov dword [ebp - 0x64], 0x71e9942c
mov dword [ebp - 0x60], 0x71e9942c
mov dword [ebp - 0x5c], 0x71e9942c
mov dword [ebp - 0x58], 0x71e9942c
mov dword [ebp - 0x30], 0x131e
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x154], eax
mov eax, 0x61e7
sub eax, dword [ebp - 8]
je 0x10024ed3
cmp dword [ebp - 0x10], 0
je 0x10024ed3
mov dword [ebp - 0xb8], 1
jmp 0x10024eda
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xb8], eax
jg 0x10024ef1
mov dword [ebp - 0xe0], 1
jmp 0x10024ef8
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
sub eax, 5
cmp eax, dword [ebp - 0xc]
jl 0x10024f0f
mov dword [ebp - 0x6c], 1
jmp 0x10024f13
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x6c]
jne 0x10024f27
mov dword [ebp - 0x100], 1
jmp 0x10024f2e
and dword [ebp - 0x100], 0
cmp dword [ebp - 0x100], 0x5d580090
jge 0x10024f46
mov dword [ebp - 0xc8], 1
jmp 0x10024f4d
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xc8], eax
jg 0x10024f64
mov dword [ebp - 0x8c], 1
jmp 0x10024f6b
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0x9e62
jge 0x10024f83
mov dword [ebp - 0x94], 1
jmp 0x10024f8a
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x94]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x10], eax
jg 0x10024fab
mov dword [ebp - 0x10c], 1
jmp 0x10024fb2
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 8]
sub eax, 0x1ef5c421
je 0x10024fe1
mov eax, 0xfc16
test eax, eax
je 0x10024fe1
push 6
pop eax
test eax, eax
je 0x10024fe1
mov dword [ebp - 0x9c], 1
jmp 0x10024fe8
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x9c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push 4
pop ecx
shl ecx, 1
sub eax, dword [ebp + ecx - 0x64]
push 4
pop ecx
shl ecx, 1
add eax, dword [ebp + ecx - 0x64]
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x64]
jge 0x10025020
mov dword [ebp - 0xa4], 1
jmp 0x10025027
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0x8c5cecce
je 0x1002503f
mov dword [ebp - 0xac], 1
jmp 0x10025046
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 3
jmp 0x1002505f
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x10025392
mov dword [ebp - 0xcc], 0xa7da9fc5
mov dword [ebp - 0x38], 0
jmp 0x10025083
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x10025099
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x134], 0xd14a
jmp 0x1002507c
mov dword [ebp - 0xc], 0
jmp 0x100250a9
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jg 0x1002538d
mov dword [ebp - 0x4c], 0x1021f5eb
mov dword [ebp - 0x3c], 0
jmp 0x100250ca
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x100250dd
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x74], 0
jmp 0x100250c3
mov dword [ebp - 0x30], 3
jmp 0x100250ed
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x10025388
cmp dword [ebp - 0x4c], 0
je 0x10025106
mov eax, 0x464f6128
test eax, eax
jne 0x10025122
mov eax, dword [ebp - 0xc]
cmp dword [ebp + eax*4 - 0x64], 0
jne 0x10025122
cmp dword [ebp - 0xcc], 0
jne 0x10025122
and dword [ebp - 0xb4], 0
jmp 0x1002512c
mov dword [ebp - 0xb4], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x134]
cmp eax, dword [ebp - 0xb4]
jle 0x1002514d
mov dword [ebp - 0xbc], 1
jmp 0x10025154
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x64]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0xbc]
add eax, ecx
cmp eax, 0xffffffff
jl 0x1002517e
push 9
pop eax
test eax, eax
jne 0x1002517e
and dword [ebp - 0xc4], 0
jmp 0x10025188
mov dword [ebp - 0xc4], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc4]
mov dword [ebp + eax*4 - 0x64], ecx
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x64]
mov dword [ebp - 0x13c], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x64]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x4c], 0x4171b3fe
jge 0x100251dc
mov dword [ebp - 0xd4], 1
jmp 0x100251e3
and dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 0xd3b05e26
ja 0x10025209
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x134], 0
je 0x10025204
jmp 0x10025388
jmp 0x10025383
mov dword [ebp - 0x18], 0x106df3f1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x74]
cmp dword [ebp - 0x18], eax
jle 0x1002522b
mov dword [ebp - 0xdc], 1
jmp 0x10025232
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x18], 0
jmp 0x1002524b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x10025383
mov dword [ebp - 0x44], 0
jmp 0x10025265
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jge 0x1002527b
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x184], 0x1b866267
jmp 0x1002525e
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x10], eax
jge 0x1002528c
mov dword [ebp - 0x70], 1
jmp 0x10025290
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 1
jb 0x100252a2
mov dword [ebp - 0x110], 1
jmp 0x100252a9
and dword [ebp - 0x110], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
add eax, dword [ebp - 0x18]
jne 0x100252cb
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x74], 0
jne 0x100252cb
and dword [ebp - 0x7c], 0
jmp 0x100252d2
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x64]
cmp dword [ebp - 0x7c], eax
jne 0x100252ee
push 0xfffffffffffffffa
pop eax
test eax, eax
jne 0x100252ee
and dword [ebp - 0x84], 0
jmp 0x100252f8
mov dword [ebp - 0x84], 1
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x84]
je 0x1002530f
mov dword [ebp - 0x118], 1
jmp 0x10025316
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x64]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x64]
mov dword [ebp - 0x158], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x184]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x64]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 8], 0
jmp 0x1002535d
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
je 0x1002537e
mov dword [ebp - 0x120], 0x237a
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x64]
neg eax
mov dword [ebp - 0x120], eax
jmp 0x10025356
jmp 0x10025244
jmp 0x100250e6
jmp 0x100250a2
jmp 0x10025058
mov esp, ebp
pop ebp
ret