Function at 0x313a71dc
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
add ebx, 0xffffffdc
mov eax, dword [ebx]
mov dl, 1
call fcn.313a6b64
test eax, eax
je 0x313a7332
mov eax, dword [ebp + 8]
cmp byte [eax - 0x25], 0
jne 0x313a732b
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
call fcn.31416e50
mov edx, 0x313a7834
call fcn.313d2a98
mov edx, dword [ebp + 8]
mov dword [edx - 0x2c], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
call fcn.31416e50
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x2c]
call fcn.313cc320
test al, al
je 0x313a732b
mov eax, dword [ebp + 8]
cmp byte [eax - 0x2d], 0
je 0x313a72bb
push 1
mov eax, dword [ebx]
call fcn.313a6ef8
and eax, 0x7f
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x4c]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x54]
call fcn.31263970
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x34]
xor edx, edx
xor eax, eax
call fcn.31263940
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx]
mov esi, dword [eax + 0x54]
mov eax, dword [esi + 0x38]
push eax
mov eax, esi
call fcn.31416e50
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x2c]
push eax
mov edx, 0x313a7834
pop eax
call fcn.313aeb48
jmp 0x313a732b
push 1
mov eax, dword [ebx]
call fcn.313a6ef8
and eax, 0x7f
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x58]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x4c]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x54]
call fcn.31263970
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x34]
xor edx, edx
xor eax, eax
call fcn.31263940
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx]
mov esi, dword [eax + 0x54]
mov eax, dword [esi + 0x38]
push eax
mov eax, esi
call fcn.31416e50
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x2c]
push eax
mov edx, 0x313a7834
pop eax
call fcn.313aeb48
mov eax, dword [ebx]
call fcn.313a5700
mov eax, dword [ebx]
mov dl, 1
call fcn.313a6b64
test eax, eax
je 0x313a7820
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
call fcn.3128d578
mov eax, dword [eax + 0x40]
push eax
call fcn.31413e94
mov edx, eax
pop eax
call fcn.312861f0
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
call fcn.3128d578
mov eax, dword [eax + 0x40]
push eax
call fcn.31413e60
mov edx, eax
pop eax
call fcn.31286220
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x58]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xac]
mov eax, dword [ebx]
mov eax, dword [eax + 0x4c]
mov cl, 1
call fcn.313fd4c8
mov esi, eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebx]
call fcn.313aa7c8
lea eax, [ebp - 0x2c]
xor edx, edx
call fcn.3141428c
mov edx, dword [ebx]
cmp dword [edx + 0x154], 0
setne dl
and edx, 0x7f
imul edx
add esi, eax
add esi, 4
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
call fcn.31416e50
mov eax, dword [eax + 0x90]
movsx eax, word [eax + 0x46]
add esi, eax
mov eax, dword [ebp + 8]
add esi, dword [eax - 0x68]
push esi
mov eax, dword [ebx]
call fcn.313a8cd8
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x4c]
sub ecx, eax
sub ecx, 6
mov eax, dword [ebp + 8]
sub ecx, dword [eax - 0x60]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x64]
add edx, 2
pop eax
call fcn.31263970
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x2c]
lea edi, [eax - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
cmp byte [eax - 0x25], 0
je 0x313a7447
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
call fcn.31416e50
mov eax, dword [eax + 0x90]
movsx eax, word [eax + 0x32]
push eax
push 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call sub.user32.dll_GetMenu
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call sub.user32.dll_GetClassLongW
test eax, eax
jne 0x313a7820
mov eax, dword [ebp + 8]
add eax, 0xffffffec
mov edx, dword [ebx]
mov edx, dword [edx + 8]
call fcn.31236e44
mov eax, dword [ebp + 8]
add eax, 0xffffffe4
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffec
call fcn.31236564
call fcn.31237170
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.31236e7c
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
call fcn.3128d578
call fcn.31287ce0
push eax
call sub.gdi32.dll_GetTextExtentPoint32W
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
xor edx, edx
call fcn.314142a0
mov edx, dword [ebp + 8]
mov esi, dword [edx - 0x18]
sub eax, esi
sar eax, 1
jns 0x313a74c3
adc eax, 0
mov edx, dword [ebp + 8]
add dword [edx - 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp + 8]
add eax, esi
mov edx, dword [ebp + 8]
mov dword [edx - 4], eax
mov esi, 0x8824
mov eax, dword [ebx]
cmp dword [eax + 0xa4], 0xffffffff
jle 0x313a76dc
mov eax, dword [ebp + 8]
push esi
lea esi, [eax - 0x10]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, esi
or eax, 0x400
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
call fcn.3128d578
call fcn.31287ce0
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
call fcn.313b0728
push 2
push 4
lea eax, [ebp - 0x1c]
push eax
call sub.user32.dll_EnumWindows
mov eax, dword [ebp + 8]
cmp dword [eax - 0x20], 0
je 0x313a75b3
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
call fcn.3141480c
mov eax, dword [ebp + 8]
push esi
lea esi, [ebp - 0x48]
lea edi, [eax - 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push 1
mov eax, dword [ebx]
call fcn.313a6ef8
and eax, 0x7f
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
xor edx, edx
xor eax, eax
call fcn.31263940
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx]
mov edi, dword [eax + 0x54]
mov eax, dword [edi + 0x38]
push eax
mov eax, edi
call fcn.31416e50
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x44]
mov eax, dword [ebx]
mov eax, dword [eax + 0xa4]
mov edx, 0x313a7854
call fcn.313aeb48
jmp 0x313a7690
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x58]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x6c]
call fcn.313b6bc0
mov edx, dword [ebp + 8]
mov dword [edx - 0x20], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
call fcn.3128d578
call fcn.31287ce0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x58]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x6c]
push eax
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
call fcn.3128d578
call fcn.31287ce0
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
call fcn.3141480c
mov eax, dword [ebp + 8]
push esi
lea esi, [ebp - 0x48]
lea edi, [eax - 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
push 1
mov eax, dword [ebx]
call fcn.313a6ef8
and eax, 0x7f
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
xor edx, edx
xor eax, eax
call fcn.31263940
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx]
mov edi, dword [eax + 0x54]
mov eax, dword [edi + 0x38]
push eax
mov eax, edi
call fcn.31416e50
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
add eax, 0xffffffbc
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xa4]
push eax
mov edx, 0x313a7854
pop eax
pop ecx
call fcn.313aeb48
mov eax, dword [ebp + 8]
add eax, 0xffffffe0
call fcn.3124bdd0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
push esi
mov eax, dword [ebx]
mov eax, dword [eax + 0xa4]
push eax
mov eax, dword [ebx]
call fcn.313a6ef8
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
call fcn.31416e50
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
call fcn.3128d578
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.31236e7c
mov edx, eax
mov cl, 1
pop eax
call fcn.313b124c
jmp 0x313a7820
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
call fcn.31416e50
mov edx, 0x313a7834
call fcn.313d2a98
mov edi, eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
call fcn.31416e50
mov edx, edi
call fcn.313cc320
test al, al
je 0x313a7820
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
call fcn.31416e50
mov eax, dword [eax + 0x9c]
imul edx, edi, 0x13
movzx eax, byte [eax + edx*8 + 0x81]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
call fcn.31416e50
mov eax, dword [eax + 0x9c]
imul edx, edi, 0x13
movzx eax, byte [eax + edx*8 + 0x80]
push eax
mov eax, dword [ebx]
call fcn.313a6ef8
pop edx
pop ecx
call fcn.31414228
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x313a77e1
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
call fcn.31416e50
mov eax, dword [eax + 0x9c]
imul edx, edi, 0x13
mov eax, dword [eax + edx*8 + 0x7c]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
call fcn.31416e50
mov eax, dword [eax + 0x9c]
imul edx, edi, 0x13
mov eax, dword [eax + edx*8 + 0x78]
push eax
mov eax, dword [ebx]
call fcn.313a6ef8
pop edx
pop ecx
call fcn.31414228
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
push esi
push 0xf
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.31236e7c
mov edx, eax
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x10]
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
call fcn.313b0804
cmp dword [ebp - 0xc], 0
je 0x313a77e1
lea eax, [ebp - 0xc]
call fcn.3124bdd0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
push esi
push edi
mov eax, dword [ebx]
call fcn.313a6ef8
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
call fcn.31416e50
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x38]
call fcn.3128d578
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.31236e7c
mov edx, eax
mov cl, 1
pop eax
call fcn.313b124c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret