Function at 0x100250cc
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
cmp byte [ebp + 0x44], 0
push ebx
push esi
push edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
je 0x10025268
mov dword [esp + 0x1c], 0x6209
cmp dword [esp + 0x1c], 0x6265
push 0
pop ebx
jle 0x10025177
mov esi, ebx
mov dword [esp + 0x18], ebx
mov edi, ebx
mov dword [esp + 0x14], ebx
mov eax, esi
mov esi, ebx
cdq
idiv edi
mov edi, 0xeeb
mov dword [esp + 0x24], edx
mov eax, esi
lea ecx, [esp + 0x28]
cdq
push edx
push eax
call fcn.10003a70
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10025133
mov eax, dword [eax]
push eax
call fcn.1004bc39
pop ecx
push ebx
push 1
lea ecx, [esp + 0x30]
call fcn.10003049
add esi, dword [esp + 0x24]
dec edi
jne 0x1002511b
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
inc edi
mov dword [esp + 0x14], edi
cmp edi, 0x5580
jl 0x1002510b
inc esi
mov dword [esp + 0x18], esi
cmp esi, 0x1d9a
jl 0x10025105
push ebx
push ebx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [ebp + 0x38], 0
je 0x1002523d
mov dword [esp + 0x18], 0x329b
cmp dword [esp + 0x18], 0x34b5
jle 0x100251dd
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
mov esi, ebx
mov edi, ebx
lea eax, [edi + esi]
cdq
lea ecx, [esp + 0x40]
push edx
push eax
call fcn.10003a70
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100251b8
mov eax, dword [eax]
push eax
call fcn.1004bc39
pop ecx
push ebx
push 1
lea ecx, [esp + 0x48]
call fcn.10003049
inc edi
cmp edi, 0x3b7c
jl 0x1002519f
inc esi
cmp esi, 0x294
jl 0x1002519d
push 0x18ee
push 0x752
push 0x60e2
push 0x2595
push 0x6db1
push 0x44a5
push 0x74cc
push 1
lea eax, [esp + 0x33]
mov byte [esp + 0x33], bl
push eax
push 0x6647
push 1
push 0x3e42
xor dl, dl
mov ecx, 0x239c
call fcn.10024d5e
add esp, 0x30
cmp dword [esp + 0x18], 0x328e
jge 0x1002524a
push str.tqhx_ghztn_almiy_jkbwftk_nynfc_unjy
call fcn.1004bc39
pop ecx
jmp 0x1002524a
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0x34]
mov dword [eax], ecx
cmp dword [esp + 0x1c], 0x5fb3
jge 0x10025332
push str.msx_jqgegh_umzop_oqmkc_zehew_durafw
call fcn.1004bc39
pop ecx
jmp 0x10025332
cmp byte [ebp + 0x18], 0
je 0x10025282
push 1
push 0
push 0x1b11
call dword [sym.imp.USER32.dll_SetWindowRgn]
jmp 0x10025332
mov edi, dword [ebp + 0x40]
mov esi, dword [ebp + 0x30]
mov ebx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x10]
mov eax, dword [edi]
mov eax, dword [edi]
mov eax, dword [esi]
dec dword [esi]
test eax, eax
je 0x100252c2
mov eax, dword [edx]
mov ecx, 0xffff0005
sub ecx, eax
mov eax, dword [ebp + 0x24]
neg ecx
sbb ecx, ecx
mov eax, dword [eax]
neg ecx
add eax, ecx
je 0x100252b4
mov eax, dword [ebx]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov eax, dword [edx]
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov eax, dword [edx]
mov eax, dword [edx]
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
imul eax, dword [ebx]
xor ebx, ebx
mov dword [ecx], eax
mov eax, dword [ecx]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
cmp dword [ecx], ebx
je 0x100252ff
mov eax, dword [ebp + 0x1c]
cmp dword [eax], ebx
je 0x100252ff
xor edx, edx
inc edx
jmp 0x10025301
mov edx, ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [edi]
mov eax, dword [eax]
sub edx, dword [eax + ecx*4]
jne 0x10025312
cmp dword [esi], ebx
je 0x10025315
xor ebx, ebx
inc ebx
mov eax, dword [ebp + 0x2c]
xor edx, edx
mov eax, dword [eax]
cmp ebx, eax
mov eax, dword [ebp + 0x20]
setge dl
xor ecx, ecx
mov eax, dword [eax]
cmp edx, eax
mov eax, dword [ebp + 0x3c]
setne cl
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret