Function at 0x313ac2e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x24]
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 edi, ecx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov eax, ebx
call fcn.31415c20
mov dword [ebp - 8], eax
mov byte [ebp - 0x2c], 0
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x313ac33e
cmp dword [eax + 0x34], 0
je 0x313ac33e
mov byte [ebp - 0x2b], 0
mov edx, dword [eax + 0x34]
lea eax, [ebp - 0x4c]
xor ecx, ecx
call fcn.313ace18
mov eax, dword [ebx + 0x30]
mov edx, dword [eax + 0x40]
add dword [ebp - 0x44], edx
mov eax, dword [eax + 0x44]
add dword [ebp - 0x40], eax
cmp dword [ebx + 0x18], 0xffffffff
jle 0x313ac687
mov eax, ebx
call fcn.31416e50
mov esi, eax
mov eax, ebx
call fcn.31416114
mov eax, ebx
call fcn.31416e50
mov eax, dword [eax + 0x94]
imul edx, dword [ebx + 0x18], 0xd
cmp word [eax + edx*4 + 0x1e], 1
jne 0x313ac430
cmp byte [ebp - 0x2c], 2
jne 0x313ac3d8
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.3141428c
push eax
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.314142a0
push eax
mov eax, dword [ebp - 0x4c]
call fcn.3128d578
call fcn.31287ce0
push eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x40]
add eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x20]
push eax
push 0xcc0020
mov eax, dword [ebx + 0x38]
call fcn.3128d578
call fcn.31287ce0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
call fcn.313b03d8
jmp 0x313ac430
imul eax, dword [ebx + 0x18], 0xd
mov edx, dword [esi + 0x94]
movsx eax, word [edx + eax*4 + 0x2e]
push eax
imul eax, dword [ebx + 0x18], 0xd
mov edx, dword [esi + 0x94]
movsx eax, word [edx + eax*4 + 0x30]
push eax
imul eax, dword [ebx + 0x18], 0xd
mov edx, dword [esi + 0x94]
movsx eax, word [edx + eax*4 + 0x32]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebx + 0x38]
call fcn.3128d578
call fcn.31287ce0
imul edx, dword [ebx + 0x18], 0xd
mov ecx, dword [esi + 0x94]
movsx ecx, word [ecx + edx*4 + 0x2c]
lea edx, [ebp - 0x24]
call fcn.313b029c
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x4c]
call fcn.313acdd8
lea eax, [ebp - 0x60]
push eax
mov eax, ebx
call fcn.31416e50
mov eax, dword [eax + 0x94]
imul edx, dword [ebx + 0x18], 0xd
lea eax, [eax + edx*4]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, dword [ebx + 0x38]
call fcn.31419a24
imul eax, dword [ebx + 0x18], 0xd
mov edx, dword [esi + 0x94]
movsx eax, word [edx + eax*4 + 0x32]
mov edx, dword [ebp - 0x18]
sub edx, eax
push edx
mov eax, dword [ebp + 8]
push eax
imul eax, dword [ebx + 0x18], 0xd
mov edx, dword [esi + 0x94]
movsx eax, word [edx + eax*4 + 0x30]
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
imul eax, dword [ebx + 0x18], 0xd
mov edx, dword [esi + 0x94]
movsx eax, word [edx + eax*4 + 0x2e]
add eax, dword [ebp - 0x20]
push eax
imul eax, dword [ebx + 0x18], 0xd
mov edx, dword [esi + 0x94]
movsx eax, word [edx + eax*4 + 0x2c]
add eax, dword [ebp - 0x24]
pop edx
call fcn.31263970
test edi, edi
je 0x313ac634
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.3141428c
mov edx, eax
imul eax, dword [ebx + 0x18], 0xd
mov ecx, dword [esi + 0x94]
movsx eax, word [ecx + eax*4 + 0x30]
sub edx, eax
mov eax, edi
call fcn.3123e15c
imul edx, dword [ebx + 0x18], 0xd
mov ecx, dword [esi + 0x94]
movsx edx, word [ecx + edx*4 + 0x2c]
sub eax, edx
xor edx, edx
call fcn.3123e224
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.314142a0
mov edx, eax
imul eax, dword [ebx + 0x18], 0xd
mov ecx, dword [esi + 0x94]
movsx eax, word [ecx + eax*4 + 0x32]
sub edx, eax
mov eax, edi
call fcn.3123e15c
imul edx, dword [ebx + 0x18], 0xd
mov ecx, dword [esi + 0x94]
movsx edx, word [ecx + edx*4 + 0x2e]
sub eax, edx
xor edx, edx
call fcn.3123e224
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.3141428c
mov edx, eax
imul eax, dword [ebx + 0x18], 0xd
mov ecx, dword [esi + 0x94]
movsx eax, word [ecx + eax*4 + 0x2c]
sub edx, eax
mov eax, edi
call fcn.3123e15c
imul edx, dword [ebx + 0x18], 0xd
mov ecx, dword [esi + 0x94]
movsx edx, word [ecx + edx*4 + 0x30]
sub eax, edx
xor edx, edx
call fcn.3123e224
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.314142a0
mov edx, eax
imul eax, dword [ebx + 0x18], 0xd
mov ecx, dword [esi + 0x94]
movsx eax, word [ecx + eax*4 + 0x2e]
sub edx, eax
mov eax, edi
call fcn.3123e15c
imul edx, dword [ebx + 0x18], 0xd
mov ecx, dword [esi + 0x94]
movsx edx, word [ecx + edx*4 + 0x32]
sub eax, edx
xor edx, edx
call fcn.3123e224
mov esi, eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
push esi
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebx + 0x38]
call fcn.3128d578
call fcn.31287ce0
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
call fcn.313b029c
mov eax, dword [ebp - 0x18]
sub eax, edi
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
sub ecx, edi
mov edx, dword [ebp - 0x20]
add edx, edi
mov eax, dword [ebp - 0x24]
add eax, edi
call fcn.31263970
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ebp + 8]
cmp eax, dword [edx + 8]
jle 0x313ac61d
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp + 8]
cmp eax, dword [edx + 0xc]
jle 0x313ac634
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], eax
mov eax, dword [ebx + 0x38]
call fcn.3128d578
call fcn.31287ce0
cmp eax, dword [ebp - 4]
je 0x313ac6aa
test edi, edi
je 0x313ac6aa
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.3141428c
push eax
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.314142a0
push eax
mov eax, dword [ebx + 0x38]
call fcn.3128d578
call fcn.31287ce0
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push eax
push edi
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.313b03d8
jmp 0x313ac6aa
test edi, edi
je 0x313ac6aa
push edi
push edi
push edi
mov eax, dword [ebp - 8]
push eax
lea edx, [ebp - 0x24]
mov ecx, edi
mov eax, dword [ebp - 4]
call fcn.313b029c
push edi
push edi
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_EnumWindows
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc