Function at 0x10023346
Capabilities:
Enumerate gui resources
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f0
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10023438
mov dword [ebp - 0x194], 0x75c9
mov dword [ebp - 0x1b8], 0xe87df2f4
mov dword [ebp - 0x1c0], 0xfffffff8
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1d0], 0xfc3eee2f
mov dword [ebp - 0x1e4], 1
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x184], 0xfffffff6
mov dword [ebp - 0x1dc], 7
mov dword [ebp - 0x18c], 1
mov dword [ebp - 0x1bc], 6
mov dword [ebp - 0x17c], 0xfffffffa
mov dword [ebp - 0xc0], 0xfffffffb
mov dword [ebp - 0x38], 0
jmp 0x100233ed
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x10023403
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x1d4], 0xc63c4078
jmp 0x100233e6
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x1002341c
push 0x10df
push 0
call dword [sym.imp.USER32.dll_GetSubMenu]
mov eax, dword [ebp - 0xc0]
dec eax
mov dword [ebp - 0xc0], eax
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x10023ea8
mov dword [ebp - 0x14], 0x3ae35568
mov dword [ebp - 0x5c], 0
jmp 0x1002344f
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 2
jge 0x10023462
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x34], 0xeb90
jmp 0x10023448
mov dword [ebp - 0x14], 0
jmp 0x10023472
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffea
je 0x100238d4
mov dword [ebp - 0xf4], 0x3063d62a
mov dword [ebp - 0x10c], 0xb3333db9
mov dword [ebp - 0x54], 0
jmp 0x100234a0
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 4
jge 0x100234b3
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x74], 7
jmp 0x10023499
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x100234d0
push 0
push 0x2049
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 4
pop eax
imul eax, eax, 3
mov dword [ebp + eax - 0x74], 1
jmp 0x100234f5
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x74]
dec eax
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0x74], eax
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x74], 0
jl 0x100238cf
mov dword [ebp - 0x10], 1
mov dword [ebp - 8], 0x8f2ba167
mov dword [ebp - 0x104], 0xfffffff7
mov dword [ebp - 0x138], 0x3aa4807c
mov dword [ebp - 0xc], 0
jmp 0x10023538
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x1002354e
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x178], 0x7747bb7a
jmp 0x10023531
mov dword [ebp - 0xc], 0
jmp 0x1002355e
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jge 0x10023574
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x144], 0x8d11
jmp 0x10023557
mov dword [ebp - 0x10], 0
jmp 0x10023584
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x100236ea
mov dword [ebp - 0xec], 0x207182b4
mov dword [ebp - 0x44], 0
jmp 0x100235a8
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x100235be
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x124], 0xfffffffd
jmp 0x100235a1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x178]
inc eax
mov dword [ebp - 0x110], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x110]
mov dword [ebp + eax - 0x178], ecx
cmp dword [ebp - 0x110], 0
jne 0x1002368a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10023663
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0xec], 0xabac
jl 0x10023634
cmp dword [ebp - 0x14], 0
jne 0x10023634
and dword [ebp - 0x64], 0
jmp 0x1002363b
mov dword [ebp - 0x64], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x64]
mov dword [ebp + eax - 0x124], ecx
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x64]
cmp dword [ebp - 0xec], eax
jle 0x10023663
and dword [ebp - 0x108], 0
jmp 0x1002366d
mov dword [ebp - 0x108], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x178]
sub eax, dword [ebp - 0x108]
jne 0x1002368a
and dword [ebp - 0xcc], 0
jmp 0x10023694
mov dword [ebp - 0xcc], 1
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x74]
mov eax, dword [ebp + eax*4 - 0x34]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x84]
mov dword [ebp + eax*4 - 0x34], ecx
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0xcc]
imul eax, dword [ebp - 0x10]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1d8], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + eax - 0x34]
mov dword [ebp + ecx*4 - 0x34], eax
jmp 0x1002357d
mov dword [ebp - 8], 0
jmp 0x100236fa
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jg 0x100238ca
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x114], 0x48b7
mov dword [ebp - 0x58], 0
jmp 0x10023728
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jge 0x1002373e
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x1f0], 1
jmp 0x10023721
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x74]
mov eax, dword [ebp + eax*4 - 0x34]
mov dword [ebp - 0x1ac], eax
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x74]
cmp dword [ebp + eax*4 - 0x34], 1
jl 0x10023778
mov eax, 0x2560
test eax, eax
je 0x10023778
mov dword [ebp - 0x8c], 1
jmp 0x1002377f
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x94], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x94]
mov dword [ebp + eax - 0x1f0], ecx
cmp dword [ebp - 0x94], 2
jge 0x100237bf
mov dword [ebp - 0xd4], 1
jmp 0x100237c6
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x100237f4
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x74], 0
je 0x100237f4
mov dword [ebp - 0x140], 1
jmp 0x100237fb
and dword [ebp - 0x140], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x74]
mov dword [ebp - 0x1cc], eax
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x74]
mov eax, dword [ebp + eax*4 - 0x34]
add eax, dword [ebp - 0xf4]
mov dword [ebp - 0xa4], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xa4]
mov dword [ebp + eax - 0x144], ecx
imul eax, dword [ebp - 0xa4], 0xa543
cmp eax, dword [ebp - 0x138]
jle 0x10023856
mov dword [ebp - 0x120], 1
jmp 0x1002385d
and dword [ebp - 0x120], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x74]
mov eax, dword [ebp + eax*4 - 0x34]
sub eax, dword [ebp - 0x14]
jne 0x1002387c
mov dword [ebp - 0xdc], 1
jmp 0x10023883
and dword [ebp - 0xdc], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x74]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp + ecx*4 - 0x34]
add ecx, dword [ebp - 0xdc]
add ecx, dword [ebp - 0x114]
cmp dword [ebp + eax*4 - 0x34], ecx
jg 0x100238b2
mov dword [ebp - 0xac], 1
jmp 0x100238b9
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x104], eax
jmp 0x100236f3
jmp 0x100234e0
jmp 0x1002346b
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x3c], 0x80e3580d
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x18], 9
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x4c], 0
jmp 0x10023913
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x10023929
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x15c], 0xd9532bb1
jmp 0x1002390c
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x15c]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x188], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x3c]
cmp dword [ebp + eax - 0x15c], ecx
jle 0x10023962
mov dword [ebp - 0xb4], 1
jmp 0x10023969
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0xb4]
cmp eax, 0x223fa3a9
je 0x10023985
mov dword [ebp - 0xe4], 1
jmp 0x1002398c
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xe4], eax
jge 0x100239a3
mov dword [ebp - 0xbc], 1
jmp 0x100239aa
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x28], 2
jmp 0x100239c3
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x10023bcd
mov dword [ebp - 0x16c], 0xffffffff
mov dword [ebp - 0x168], 0xffffffff
mov dword [ebp - 0x164], 0xffffffff
mov dword [ebp - 0x160], 0xffffffff
mov dword [ebp - 0x60], 0x1b07fb07
mov dword [ebp - 0x40], 0xfffffff8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x18], 0xbb7a1405
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x13c], eax
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x13c]
mov dword [ebp + eax - 0x16c], ecx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1a0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x15c]
cmp dword [ebp - 0x18], eax
jge 0x10023a5f
mov dword [ebp - 0x12c], 1
jmp 0x10023a66
and dword [ebp - 0x12c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x15c]
mov dword [ebp - 0x1a8], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x16c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x60], 0x9b3a
jne 0x10023aa6
mov dword [ebp - 0xfc], 1
jmp 0x10023aad
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xfc], eax
jne 0x10023ad1
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x16c], 0
jne 0x10023ad1
and dword [ebp - 0xc4], 0
jmp 0x10023adb
mov dword [ebp - 0xc4], 1
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x18], 0
jmp 0x10023af4
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jg 0x10023bc8
mov dword [ebp - 0x150], 0xb974
xor eax, eax
inc eax
je 0x10023b27
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x15c]
cmp dword [ebp - 0x40], eax
je 0x10023b27
mov dword [ebp - 0x7c], 1
jmp 0x10023b2b
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x7c]
jge 0x10023b3c
mov dword [ebp - 0x80], 1
jmp 0x10023b40
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x150]
jge 0x10023b5a
mov dword [ebp - 0x88], 1
jmp 0x10023b61
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 0
jmp 0x10023b7a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jg 0x10023bc3
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10023bc1
push 0x2638
push 0x17dc
push 0x1d75
push 0x1284
push 0x10bb
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawStateW]
jmp 0x10023b73
jmp 0x10023aed
jmp 0x100239bc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x130], eax
mov dword [ebp - 4], 0xf9b3198a
mov dword [ebp - 4], 0xd
jmp 0x10023bf9
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffe3
jl 0x10023e5d
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x2c], 0x4f2a6ca0
mov dword [ebp - 0x48], 0
jmp 0x10023c21
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jge 0x10023c37
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x14c], 1
jmp 0x10023c1a
cmp dword [ebp - 4], 0xffffffff
jbe 0x10023c49
mov dword [ebp - 0x98], 1
jmp 0x10023c50
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x10023c6e
cmp dword [ebp - 0x50], 0
je 0x10023c6e
mov dword [ebp - 0x90], 1
jmp 0x10023c75
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0x69393dda
jge 0x10023c8d
mov dword [ebp - 0x11c], 1
jmp 0x10023c94
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x98], eax
jne 0x10023cab
mov dword [ebp - 0xa0], 1
jmp 0x10023cb2
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xa0]
jle 0x10023cc9
mov dword [ebp - 0xa8], 1
jmp 0x10023cd0
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0xa968
jne 0x10023ce8
mov dword [ebp - 0xb0], 1
jmp 0x10023cef
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xb0], eax
jl 0x10023d06
mov dword [ebp - 0xb8], 1
jmp 0x10023d0d
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 0x8de637c5
jbe 0x10023d22
mov dword [ebp - 0x78], 1
jmp 0x10023d26
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0x510a
jge 0x10023e22
mov dword [ebp - 0xd8], 1
mov dword [ebp - 0xf0], 1
mov eax, dword [ebp - 4]
mov dword [ebp - 0xd8], eax
xor eax, eax
jne 0x10023d82
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc8], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xc8]
mov dword [ebp + eax - 0x14c], ecx
cmp dword [ebp - 0xc8], 0
jne 0x10023d82
and dword [ebp - 0xd0], 0
jmp 0x10023d8c
mov dword [ebp - 0xd0], 1
cmp dword [ebp - 0xd0], 0xfd52a42b
ja 0x10023da4
mov dword [ebp - 0xf8], 1
jmp 0x10023dab
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xd8], eax
je 0x10023dc2
mov dword [ebp - 0xe0], 1
jmp 0x10023dc9
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xe0], eax
je 0x10023de0
mov dword [ebp - 0xe8], 1
jmp 0x10023de7
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
add eax, dword [ebp - 0xf8]
cmp eax, dword [ebp - 4]
jl 0x10023e10
mov dword [ebp - 0x100], 1
jmp 0x10023e17
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x2c], eax
jmp 0x10023e48
mov dword [ebp - 0x2c], 0
jmp 0x10023e32
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x10023e48
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x14c], 0xfffffffa
jmp 0x10023e2b
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ebp + eax - 0x14c], ecx
jmp 0x10023bf2
mov byte [ebp - 0x23], 0
movzx eax, byte [ebp - 0x23]
test eax, eax
je 0x10023e87
push 0x16a8
push 0
push 0x318
push 0
push 0x17a
push 0x11fa
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x130]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ecx + 8], eax
mov esp, ebp
pop ebp
ret