Function at 0x313e7094
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe40
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, edx
lea edi, [ebp - 0x3c]
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 esi, ecx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x313e7601
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x313e75d2
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x3c]
xor edx, edx
call fcn.314142a0
push eax
lea eax, [ebp - 0x3c]
xor edx, edx
call fcn.3141428c
pop edx
call fcn.313b6b80
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.3123aa38
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xb4]
test eax, eax
jl 0x313e712f
cmp esi, eax
sete al
xor ecx, ecx
mov edx, 2
call fcn.31414228
mov ebx, eax
jmp 0x313e7143
mov eax, dword [ebp - 8]
cmp esi, dword [eax + 0xb8]
jne 0x313e7141
mov ebx, 1
jmp 0x313e7143
xor ebx, ebx
mov byte [ebp - 0x194], 0
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x54]
mov eax, dword [edi + 0x30]
test eax, eax
je 0x313e7162
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x198], eax
jmp 0x313e716c
mov dword [ebp - 0x198], 0xff000005
push ebx
mov eax, edi
call fcn.31416e50
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x198]
push eax
push 0
mov ecx, 0x313e7620
mov edx, 0x313e763c
mov eax, dword [ebp - 0x10]
call fcn.313aef00
mov dword [ebp - 0x14], eax
push 0
push 0
push 0x31
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_GetSysColorBrush
mov edi, eax
push edi
mov eax, dword [ebp - 0x10]
call fcn.3128d578
call fcn.31287ce0
push eax
call sub.gdi32.dll_SelectObject
push esi
lea esi, [ebp - 0x4c]
lea edi, [ebp - 0x5c]
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 0xffffffffffffffff
push 0xfffffffffffffffc
lea eax, [ebp - 0x5c]
push eax
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 0x10]
call fcn.3128d578
mov eax, dword [eax + 0x48]
mov dl, 1
call fcn.31286c58
lea eax, [ebp - 0x8c]
xor ecx, ecx
mov edx, 0x30
call fcn.31234a28
lea eax, [ebp - 0x18e]
xor ecx, ecx
mov edx, 0x102
call fcn.31234a28
lea eax, [ebp - 0x18e]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x7c], 0x102
mov dword [ebp - 0x8c], 0x36
test esi, esi
jl 0x313e7534
lea eax, [ebp - 0x8c]
push eax
push esi
push 0x120b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa8]
push eax
call sub.user32.dll_GetSysColorBrush
test eax, eax
je 0x313e7534
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x84]
call fcn.31236fac
mov dword [ebp - 0x18], 0x8064
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x54]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x313e7288
cmp dword [eax + 0x288], 0
je 0x313e7288
test byte [ebp - 0x77], 0x88
jne 0x313e7296
mov dword [ebp - 0x70], 0xffffffff
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x313e72a5
mov eax, dword [eax + 0x288]
mov eax, dword [eax + 0x38]
add eax, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x78]
mov edx, eax
and edx, 0x200
cmp edx, 0x200
jne 0x313e72e6
push 0x313e765c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x54]
call fcn.31416e50
movsx eax, word [eax + 0xb6]
push eax
mov eax, esi
call fcn.31416e50
mov ecx, 0x313e767c
pop edx
call fcn.313d2b00
mov esi, eax
jmp 0x313e7323
and eax, 0x400
cmp eax, 0x400
jne 0x313e7320
push 0x313e765c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x54]
call fcn.31416e50
movsx eax, word [eax + 0xb4]
push eax
mov eax, esi
call fcn.31416e50
mov ecx, 0x313e76a8
pop edx
call fcn.313d2b00
mov esi, eax
jmp 0x313e7323
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x313e736b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x54]
call fcn.31416e50
mov eax, dword [eax + 0x94]
imul edx, esi, 0xd
lea eax, [eax + edx*4]
call fcn.3139cef4
add eax, 6
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x54]
call fcn.31416e50
mov eax, dword [eax + 0x94]
imul edx, esi, 0xd
lea eax, [eax + edx*4]
call fcn.3139cf18
mov dword [ebp - 0x24], eax
jmp 0x313e7375
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
call fcn.31236564
call fcn.31237170
push eax
mov eax, dword [ebp - 4]
call fcn.31236e7c
push eax
mov eax, dword [ebp - 0x10]
call fcn.3128d578
call fcn.31287ce0
push eax
call sub.gdi32.dll_GetTextExtentPoint32W
add dword [ebp - 0x20], 5
mov eax, dword [ebp - 0x78]
and eax, 0xff
dec eax
je 0x313e73e3
dec eax
jne 0x313e73f4
lea eax, [ebp - 0x5c]
xor edx, edx
call fcn.3141428c
sub eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x2c]
sar eax, 1
jns 0x313e73cf
adc eax, 0
add eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x54], eax
jmp 0x313e7403
mov eax, dword [ebp - 0x28]
sub dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
jmp 0x313e7403
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x54], eax
cmp esi, 0xffffffff
je 0x313e7473
push 1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x54]
call fcn.31416e50
mov eax, dword [eax + 0x94]
imul edx, esi, 0xd
lea eax, [eax + edx*4]
push eax
lea eax, [ebp - 0x1b8]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.3141480c
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x5c]
xor edx, edx
call fcn.314142a0
mov edx, eax
sub edx, dword [ebp - 0x24]
sar edx, 1
jns 0x313e7452
adc edx, 0
lea ecx, [ebp - 0x1c0]
mov eax, dword [ebp - 0x54]
add eax, 6
call fcn.3123aa68
lea edx, [ebp - 0x1c0]
mov ecx, ebx
mov eax, dword [ebp - 0x10]
call fcn.3141b580
cmp ebx, 2
jne 0x313e748a
lea eax, [ebp - 0x5c]
mov ecx, 1
mov edx, 1
call fcn.3123ab24
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
test ebx, ebx
setne al
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x54]
call fcn.31416e50
push eax
mov eax, dword [ebp - 0x10]
call fcn.3128d578
push eax
mov eax, dword [ebp - 4]
call fcn.31236e7c
mov edx, eax
mov cl, 1
pop eax
call fcn.313b124c
cmp dword [ebp - 0x70], 0xffffffff
je 0x313e7534
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x54]
cmp dword [eax + 0x30], 0
je 0x313e7534
lea eax, [ebp - 0x5c]
xor edx, edx
call fcn.314142a0
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x54]
mov esi, dword [edx + 0x30]
mov edx, dword [esi + 0x288]
sub eax, dword [edx + 0x34]
sar eax, 1
jns 0x313e74f8
adc eax, 0
cmp ebx, 2
sete dl
and edx, 0x7f
add eax, edx
push eax
mov eax, dword [ebp - 0x70]
push eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x5c]
push eax
mov eax, dword [ebp - 0x10]
call fcn.3128d578
mov edx, eax
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x288]
call fcn.312f1c80
cmp dword [ebp + 8], 0
jne 0x313e754e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa8]
push eax
call sub.user32.dll_CallWindowProcW
mov dword [ebp - 0xc], eax
jmp 0x313e7554
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x313e75b9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.3128d578
call fcn.31287ce0
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x313e75c0
cmp dword [ebp + 8], 0
jne 0x313e75b8
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa8]
push eax
call sub.user32.dll_GetScrollInfo
ret