Function at 0x313b0804
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x38]
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 ebx, edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0x10]
push esi
lea esi, [ebp - 0x38]
lea edi, [ebp - 0x48]
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, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [esi + 4]
push eax
push eax
lea eax, [ebp - 0x48]
push eax
call sub.user32.dll_EnumWindows
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x313b087e
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edi, eax
lea eax, [ebp - 0x48]
xor edx, edx
call fcn.3141428c
cmp edi, eax
jne 0x313b087e
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edi, eax
lea eax, [ebp - 0x48]
xor edx, edx
call fcn.314142a0
cmp edi, eax
je 0x313b0b02
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x313b0897
mov dl, 1
mov eax, dword [0x31283630]
call fcn.3128cc58
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dl, 3
call fcn.3128e8d4
lea eax, [ebp - 0x48]
mov dl, 1
call fcn.3141428c
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea eax, [ebp - 0x48]
mov dl, 1
call fcn.314142a0
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.3128d578
mov eax, dword [eax + 0x48]
mov edx, 0xffffff
call fcn.31286ad8
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.31263970
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.3128d578
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 4]
call fcn.3128d578
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.3128d578
mov eax, dword [eax + 0x40]
pop edx
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.3128d578
mov eax, dword [eax + 0x40]
xor edx, edx
call fcn.31285f84
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.3128d578
mov eax, dword [eax + 0x48]
mov dl, 1
call fcn.31286c58
lea eax, [ebp - 0x38]
xor edx, edx
call fcn.314142a0
lea edx, [esi + 4]
add eax, edx
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x38]
xor edx, edx
call fcn.3141428c
mov ecx, eax
lea eax, [esi + 4]
add ecx, eax
lea edx, [esi + 4]
lea eax, [esi + 4]
call fcn.31263970
mov eax, dword [ebp + 0x14]
and eax, 1
cmp eax, 1
jne 0x313b09de
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x50]
dec ecx
mov eax, dword [ebp - 0x58]
dec eax
mov edx, dword [ebp - 0x54]
call fcn.31263970
mov eax, dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, ebx
call fcn.31236c30
push eax
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.3128d578
call fcn.31287ce0
push eax
call fcn.3123c2b8
mov eax, dword [ebp + 0x14]
and eax, 2
cmp eax, 2
jne 0x313b0a27
mov eax, dword [ebp - 0x4c]
dec eax
push eax
lea eax, [ebp - 0x68]
push eax
mov edx, dword [ebp - 0x54]
dec edx
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
call fcn.31263970
mov eax, dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, ebx
call fcn.31236c30
push eax
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.3128d578
call fcn.31287ce0
push eax
call fcn.3123c2b8
mov eax, dword [ebp + 0x14]
and eax, 4
cmp eax, 4
jne 0x313b0a70
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x50]
inc ecx
mov eax, dword [ebp - 0x58]
inc eax
mov edx, dword [ebp - 0x54]
call fcn.31263970
mov eax, dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, ebx
call fcn.31236c30
push eax
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.3128d578
call fcn.31287ce0
push eax
call fcn.3123c2b8
mov eax, dword [ebp + 0x14]
and eax, 8
cmp eax, 8
jne 0x313b0ab9
mov eax, dword [ebp - 0x4c]
inc eax
push eax
lea eax, [ebp - 0x68]
push eax
mov edx, dword [ebp - 0x54]
inc edx
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
call fcn.31263970
mov eax, dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, ebx
call fcn.31236c30
push eax
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.3128d578
call fcn.31287ce0
push eax
call fcn.3123c2b8
push esi
lea esi, [ebp - 0x58]
lea edi, [ebp - 0x68]
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, dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, ebx
call fcn.31236c30
push eax
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.3128d578
call fcn.31287ce0
push eax
call fcn.3123c2b8
mov dword [ebp - 0x7c], esi
fild dword [ebp - 0x7c]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.313b1094
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x313b0e14
mov eax, dword [ebp - 4]
call fcn.3128d678
cmp al, 6
jne 0x313b0c89
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
test eax, eax
jl 0x313b0e14
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0
mov ebx, dword [ebp - 0x34]
add ebx, dword [ebp - 0x18]
sub ebx, esi
sub ebx, 4
test ebx, ebx
jl 0x313b0c78
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
cmp ebx, eax
jge 0x313b0c78
mov edx, dword [ebp - 0x34]
add edx, dword [ebp - 0x18]
sub edx, esi
sub edx, 4
mov eax, dword [ebp - 4]
call fcn.3128d6fc
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
call fcn.3128d6fc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edi, eax
dec edi
test edi, edi
jl 0x313b0c78
inc edi
xor ebx, ebx
mov eax, dword [ebp - 0x10]
cmp byte [eax + ebx], 0xff
je 0x313b0c70
mov eax, dword [ebp - 0x38]
add eax, ebx
sub eax, esi
sub eax, 4
test eax, eax
jl 0x313b0c70
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp - 0x38]
add edx, ebx
sub edx, esi
sub edx, 4
cmp eax, edx
jle 0x313b0c70
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + ebx]
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x38]
add eax, ebx
sub eax, esi
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
mov cx, word [edx + eax - 0xc]
mov word [ebp - 0x1c], cx
mov cl, byte [edx + eax - 0xa]
mov byte [ebp - 0x1a], cl
movzx eax, byte [ebp - 0x1c]
movzx edx, byte [ebp - 0x1e]
sub eax, edx
movzx ecx, byte [ebp - 0x11]
imul ecx
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
add al, byte [ebp - 0x1e]
mov byte [ebp - 0x1c], al
movzx eax, byte [ebp - 0x1b]
movzx edx, byte [ebp - 0x1f]
sub eax, edx
imul ecx
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
add al, byte [ebp - 0x1f]
mov byte [ebp - 0x1b], al
movzx eax, byte [ebp - 0x1a]
movzx edx, byte [ebp - 0x20]
sub eax, edx
imul ecx
mov ecx, 0xff
cdq
idiv ecx
add al, byte [ebp - 0x20]
mov byte [ebp - 0x1a], al
mov eax, dword [ebp - 0x38]
add eax, ebx
sub eax, esi
lea eax, [eax + eax*2]
mov edx, dword [ebp - 8]
mov cx, word [ebp - 0x1c]
mov word [edx + eax - 0xc], cx
mov cl, byte [ebp - 0x1a]
mov byte [edx + eax - 0xa], cl
inc ebx
dec edi
jne 0x313b0b9d
inc dword [ebp - 0x18]
dec dword [ebp - 0x28]
jne 0x313b0b3c
jmp 0x313b0e14
mov eax, dword [ebp - 4]
call fcn.3128d678
cmp al, 7
jne 0x313b0e14
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
test eax, eax
jl 0x313b0e14
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0
mov ebx, dword [ebp - 0x34]
add ebx, dword [ebp - 0x18]
sub ebx, esi
sub ebx, 4
test ebx, ebx
jl 0x313b0e08
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
cmp ebx, eax
jge 0x313b0e08
mov edx, dword [ebp - 0x34]
add edx, dword [ebp - 0x18]
sub edx, esi
sub edx, 4
mov eax, dword [ebp - 4]
call fcn.3128d6fc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
call fcn.3128d6fc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edi, eax
dec edi
test edi, edi
jl 0x313b0e08
inc edi
xor ebx, ebx
mov eax, dword [ebp - 0x10]
cmp byte [eax + ebx], 0xff
je 0x313b0e00
mov eax, dword [ebp - 0x38]
add eax, ebx
sub eax, esi
sub eax, 4
test eax, eax
jl 0x313b0e00
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp - 0x38]
add edx, ebx
sub edx, esi
sub edx, 4
cmp eax, edx
jle 0x313b0e00
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + ebx]
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x38]
add eax, ebx
sub eax, esi
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + eax*4 - 0x10]
mov dword [ebp - 0x24], eax
movzx eax, byte [ebp - 0x22]
movzx ecx, byte [ebp - 0x20]
movzx edx, cl
sub eax, edx
movzx edx, byte [ebp - 0x11]
imul edx
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
add al, cl
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x23]
movzx ecx, byte [ebp - 0x1f]
movzx edx, cl
sub eax, edx
movzx edx, byte [ebp - 0x11]
imul edx
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
add al, cl
mov byte [ebp - 0x23], al
movzx eax, byte [ebp - 0x24]
movzx ecx, byte [ebp - 0x1e]
movzx edx, cl
sub eax, edx
movzx edx, byte [ebp - 0x11]
imul edx
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
add al, cl
mov byte [ebp - 0x24], al
movzx eax, byte [ebp - 0x11]
mov edx, 0xff
sub edx, eax
push edx
movzx edx, byte [ebp - 0x21]
pop eax
sub edx, eax
xor eax, eax
call fcn.3123e224
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x38]
add eax, ebx
sub eax, esi
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
mov dword [edx + eax*4 - 0x10], ecx
inc ebx
dec edi
jne 0x313b0d18
inc dword [ebp - 0x18]
dec dword [ebp - 0x28]
jne 0x313b0cb7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14