Function at 0x6d7554
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6d7b84
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax]
sub eax, 0x14
je 0x6d75a1
sub eax, 0x101
je 0x6d7626
sub eax, 0xed
je 0x6d75c4
sub eax, 0x115
je 0x6d778d
jmp 0x6d7a47
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.0070e434
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov byte [edx + 0x29], al
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 1
jmp 0x6d7b6e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
cmp byte [eax + 0x24], 0
je 0x6d7a47
lea eax, [ebp - 0x24]
call fcn.006fc7b0
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 4]
call fcn.006cfc3c
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x34]
call fcn.0041349c
test al, al
je 0x6d7a47
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
or ecx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.006d3010
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
jmp 0x6d7b6e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
lea ebx, [eax + 0x28]
mov eax, dword [ebp - 8]
cmp word [eax + 4], 4
jne 0x6d76ac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xa0]
mov edx, 0x6d7ba0
call fcn.00741c90
test al, al
je 0x6d76ac
mov dword [ebx], 0x1c
mov dword [ebx + 4], 0x17
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xa0]
mov edx, 0x6d7ba0
call fcn.00741c90
test al, al
jne 0x6d768f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
inc dword [eax + 0x3c]
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
add eax, 0x28
push eax
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_SetScrollInfo
mov eax, dword [ebp - 8]
cmp word [eax + 4], 5
jne 0x6d7700
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xa0]
mov edx, 0x6d7ba0
call fcn.00741c90
test al, al
je 0x6d7700
mov dword [ebx], 0x1c
mov dword [ebx + 4], 0x17
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x14], eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
add eax, 0x28
push eax
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_SetScrollInfo
mov eax, dword [ebp - 8]
cmp word [eax + 4], 8
jne 0x6d7a47
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xa0]
mov edx, 0x6d7ba0
call fcn.00741c90
test al, al
je 0x6d7a47
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xa0]
mov eax, dword [eax]
call fcn.004086ec
mov eax, dword [ebp - 0x38]
mov edx, 0x6d7bc4
call fcn.0040b8b4
je 0x6d7a47
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x80]
mov eax, dword [ebx + 0x40]
push eax
mov eax, dword [ebx + 0x20]
mov edx, dword [0x6cc7e8]
call fcn.00408c18
xor al, 1
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 4
mov edx, 0x115
call fcn.006d2ae4
jmp 0x6d7a47
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
mov eax, dword [ebp - 4]
add eax, 0x3c
push eax
mov eax, dword [ebp - 4]
add eax, 0x44
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0xc]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.006cde10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
test eax, eax
je 0x6d77dc
cmp byte [eax + 0x24], 0
je 0x6d77dc
xor ecx, ecx
mov edx, 1
call fcn.006cf8e8
mov ebx, eax
jmp 0x6d77de
xor ebx, ebx
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x68]
cmp byte [esi + 0x98], 0
jne 0x6d77f9
mov eax, dword [esi + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x6d781d
mov eax, dword [ebp - 4]
cmp byte [eax + 9], 0
jne 0x6d780a
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
xor ecx, ecx
call fcn.006cebec
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x78], 0
je 0x6d7833
add dword [ebp - 0x18], ebx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
add eax, ebx
call fcn.00771cf0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.00535ff0
call fcn.0052fb1c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
call fcn.00535ff0
call fcn.0052eb08
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x6d795d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x8c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x84]
mov eax, dword [ebp - 0xc]
call fcn.0055aaf4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x80], 0
jne 0x6d78af
mov eax, dword [ebp - 4]
cmp dword [eax + 0x7c], 0
je 0x6d791e
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x7c]
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.006cf8e8
movzx edx, byte [esi + 0x24]
imul edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x8c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x90]
pop edx
sub eax, edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x84]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x88]
sub eax, ebx
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_IntersectClipRect
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
add eax, 8
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
mov ecx, 0xf
mov eax, dword [ebp - 4]
call fcn.006dfbe8
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d7964
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_RestoreDC
ret
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.006d43b8
mov eax, dword [ebp - 8]
mov eax, dword [eax]
sub eax, 0xf
je 0x6d7b64
sub eax, 0x38
je 0x6d7b41
sub eax, 0xa0b9
jne 0x6d7b6e
mov eax, dword [ebp - 8]
movzx eax, word [eax + 6]
sub ax, 2
je 0x6d7a8c
sub ax, 0x42
je 0x6d7aec
jmp 0x6d7b6e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.0070e420
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 8]
jne 0x6d7b6e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xa0]
mov edx, dword [0x67dc24]
call fcn.00408c18
test al, al
je 0x6d7b6e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov esi, dword [eax + 0xa0]
movzx ebx, byte [esi + 0x2f4]
xor edx, edx
mov eax, esi
call fcn.00688220
mov edx, ebx
mov eax, esi
call fcn.00688220
jmp 0x6d7b6e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xa0]
mov edx, 0x6d7be4
call fcn.00741c90
test al, al
je 0x6d7b6e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xa0]
mov edx, 0x6d7be4
call fcn.00741cac
mov ebx, eax
test ebx, ebx
je 0x6d7b6e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xa0]
mov eax, dword [eax + 0x74]
call fcn.0052dfc8
mov edx, eax
mov eax, ebx
call fcn.0052dfd0
jmp 0x6d7b6e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x6d7b6e
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, dword [ebp - 4]
call fcn.006df368
jmp 0x6d7b6e
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.006ceb18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d7b8b
lea eax, [ebp - 0x38]
call fcn.0040a7a4
ret