Function at 0x6da904
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 0x6daf36
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax]
sub eax, 0x14
je 0x6da951
sub eax, 0x101
je 0x6da9d8
sub eax, 0xed
je 0x6da974
sub eax, 0x115
je 0x6dab3f
jmp 0x6dadf9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.00751b30
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x68]
mov byte [edx + 0x35], al
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 1
jmp 0x6daf20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
cmp byte [eax + 0x24], 0
je 0x6dadf9
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.006f78cc
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 4]
call fcn.006d2aec
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x34]
call fcn.00410878
test al, al
je 0x6dadf9
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.006d5f58
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
jmp 0x6daf20
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 0x6daa5e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xb4]
mov edx, 0x6daf50
call fcn.007302ac
test al, al
je 0x6daa5e
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 + 0xb4]
mov edx, 0x6daf50
call fcn.007302ac
test al, al
jne 0x6daa41
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 0x6daab2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xb4]
mov edx, 0x6daf50
call fcn.007302ac
test al, al
je 0x6daab2
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 0x6dadf9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xb4]
mov edx, 0x6daf50
call fcn.007302ac
test al, al
je 0x6dadf9
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xb4]
mov eax, dword [eax]
call fcn.004069d8
mov eax, dword [ebp - 0x38]
mov edx, 0x6daf74
call fcn.00409d0c
je 0x6dadf9
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 [0x6cf668]
call fcn.00406d30
xor al, 1
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, 4
mov edx, 0x115
call fcn.006d5a2c
jmp 0x6dadf9
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.006d0ca8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
test eax, eax
je 0x6dab8e
cmp byte [eax + 0x24], 0
je 0x6dab8e
xor ecx, ecx
mov edx, 1
call fcn.006d2714
mov ebx, eax
jmp 0x6dab90
xor ebx, ebx
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x68]
cmp byte [esi + 0xad], 0
jne 0x6dabab
mov eax, dword [esi + 0x5c]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x6dabcf
mov eax, dword [ebp - 4]
cmp byte [eax + 9], 0
jne 0x6dabbc
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.006d1a98
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 0x6dabe5
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.0070ce18
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.004efc64
call fcn.004e9e78
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
call fcn.004efc64
call fcn.004e8e8c
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x6dad0f
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.00511f00
mov eax, dword [ebp - 4]
cmp dword [eax + 0x80], 0
jne 0x6dac61
mov eax, dword [ebp - 4]
cmp dword [eax + 0x7c], 0
je 0x6dacd0
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x7c]
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.006d2714
movzx edx, byte [esi + 0x24]
imul edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x5c]
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 + 0x5c]
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.006e3220
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 0x6dad16
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.006d74e4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
sub eax, 0xf
je 0x6daf16
sub eax, 0x38
je 0x6daef3
sub eax, 0xa0b9
jne 0x6daf20
mov eax, dword [ebp - 8]
movzx eax, word [eax + 6]
sub ax, 2
je 0x6dae3e
sub ax, 0x42
je 0x6dae9e
jmp 0x6daf20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.00751b1c
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 8]
jne 0x6daf20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xb4]
mov edx, dword [0x6462d8]
call fcn.00406d30
test al, al
je 0x6daf20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov esi, dword [eax + 0xb4]
movzx ebx, byte [esi + 0x2f4]
xor edx, edx
mov eax, esi
call fcn.0064e544
mov edx, ebx
mov eax, esi
call fcn.0064e544
jmp 0x6daf20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xb4]
mov edx, 0x6daf94
call fcn.007302ac
test al, al
je 0x6daf20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xb4]
mov edx, 0x6daf94
call fcn.007302c8
mov ebx, eax
test ebx, ebx
je 0x6daf20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xb4]
mov eax, dword [eax + 0x74]
call fcn.004e8364
mov edx, eax
mov eax, ebx
call fcn.004e836c
jmp 0x6daf20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x6daf20
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, dword [ebp - 4]
call fcn.006e28b4
jmp 0x6daf20
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.006d19c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6daf3d
lea eax, [ebp - 0x38]
call fcn.00408844
ret