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

Disassembly:
mov eax, dword [0x11b50540]
sub esp, 0x68
push esi
xor esi, esi
cmp eax, esi
je 0x11ad6e18
push str.CTFollowWnd::DCToRegion_
push 0x11b361d0
push 0xffffffffffffffff
push 0x11b4fcac
call fcn.11afff30
add esp, 0x10
push ebp
mov ebp, dword [esp + 0x74]
cmp ebp, esi
mov dword [esp + 8], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], esi
je 0x11ad751b
push ebx
push edi
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x11ad72fb
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x84]
xor eax, eax
lea ecx, [esp + 0x34]
push eax
push eax
push ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x40], eax
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x60]
mov ebx, 1
push edx
push eax
mov dword [esp + 0x68], 0x28
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], edi
mov word [esp + 0x74], bx
mov word [esp + 0x76], 0x20
call dword [sym.imp.GDI32.dll_CreateDIBSection]
test eax, eax
mov dword [esp + 0x20], eax
je 0x11ad7326
mov edx, dword [esp + 0x1c]
mov ecx, eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x20]
xor eax, eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], eax
push ecx
mov dword [esp + 0x44], eax
push 0x18
mov dword [esp + 0x4c], eax
push edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x11ad7351
mov eax, dword [esp + 0x44]
mov ecx, eax
and ecx, 0x80000003
jns 0x11ad6f18
dec ecx
or ecx, 0xfffffffc
inc ecx
je 0x11ad6f30
inc eax
mov edx, eax
and edx, 0x80000003
jns 0x11ad6f2a
dec edx
or edx, 0xfffffffc
inc edx
jne 0x11ad6f1a
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
push 0x40cc0020
push 0
push 0
push ebp
push edi
push esi
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x11ad737c
push 0x660
push 2
mov dword [esp + 0x1c], 0x64
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor esi, esi
mov dword [esp + 0x2c], eax
cmp eax, esi
je 0x11ad73a7
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
cmp ebp, esi
je 0x11ad73b6
push esi
push esi
push 0x7fffffff
lea ecx, [ebp + 0x10]
push 0x7fffffff
push ecx
mov dword [ebp], 0x20
mov dword [ebp + 4], ebx
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], esi
call dword [sym.imp.USER32.dll_SetRect]
test eax, eax
je 0x11ad73c5
mov eax, dword [esp + 0x88]
xor ecx, ecx
mov cl, ah
mov edx, dword [esp + 0x4c]
mov byte [esp + 0x7c], cl
mov ecx, dword [esp + 0x40]
shr eax, 0x10
mov byte [esp + 0x80], al
lea eax, [ecx - 1]
imul eax, dword [esp + 0x44]
add eax, edx
cmp ecx, esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], esi
jle 0x11ad7293
jmp 0x11ad6ffb
xor esi, esi
cmp dword [esp + 0x84], esi
jne 0x11ad7406
mov esi, dword [esp + 0x3c]
xor edi, edi
test esi, esi
jle 0x11ad7261
mov edx, dword [esp + 0x14]
lea eax, [edx + 2]
shl eax, 4
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
cmp edi, esi
mov ebx, edi
lea eax, [eax + edi*4]
jge 0x11ad71c2
mov cl, byte [eax]
mov dl, byte [esp + 0x88]
cmp cl, dl
jne 0x11ad705f
mov cl, byte [esp + 0x7c]
xor edx, edx
mov dl, byte [eax + 1]
cmp dl, cl
jne 0x11ad705f
mov ecx, dword [eax]
mov dl, byte [esp + 0x80]
sar ecx, 0x10
cmp cl, dl
je 0x11ad7067
add eax, 4
inc edi
cmp edi, esi
jl 0x11ad7035
cmp edi, ebx
jle 0x11ad71c2
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
cmp eax, edx
jb 0x11ad70da
mov esi, dword [esp + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
jne 0x11ad71f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x11ad71f4
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
add eax, 0x640
push 2
add edx, 0x64
push eax
push esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x11ad71d4
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
test ebp, ebp
je 0x11ad71e4
mov eax, dword [esp + 0x18]
lea esi, [eax + 1]
push esi
push edi
push eax
mov eax, dword [ebp + 8]
add eax, 2
push ebx
shl eax, 4
add eax, ebp
push eax
call dword [sym.imp.USER32.dll_SetRect]
test eax, eax
je 0x11ad7204
cmp ebx, dword [ebp + 0x10]
jge 0x11ad7107
mov dword [ebp + 0x10], ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x14]
cmp eax, ecx
jge 0x11ad7115
mov dword [ebp + 0x14], eax
cmp edi, dword [ebp + 0x18]
jle 0x11ad711d
mov dword [ebp + 0x18], edi
cmp esi, dword [ebp + 0x1c]
jle 0x11ad7125
mov dword [ebp + 0x1c], esi
mov ecx, dword [ebp + 8]
inc ecx
mov eax, ecx
mov dword [ebp + 8], ecx
cmp eax, 0x7d0
jne 0x11ad71c2
mov ecx, dword [esp + 0x24]
push ebp
push ecx
push 0
call dword [sym.imp.GDI32.dll_ExtCreateRegion]
mov esi, eax
test esi, esi
je 0x11ad7214
mov eax, dword [esp + 0x10]
test eax, eax
je 0x11ad719b
push 2
push esi
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
test eax, eax
je 0x11ad7224
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
jne 0x11ad719f
mov eax, dword [0x11b50540]
test eax, eax
je 0x11ad719f
push str.CTFollowWnd::DCToRegion_14__WARNING___DeleteObject_failed_
push 0x11b361d0
push 0xffffffffffffffff
push 0x11b4fcac
call fcn.11afff30
add esp, 0x10
jmp 0x11ad719f
mov dword [esp + 0x10], esi
push 0
push 0
push 0x7fffffff
lea eax, [ebp + 0x10]
push 0x7fffffff
push eax
mov dword [ebp + 8], 0
call dword [sym.imp.USER32.dll_SetRect]
test eax, eax
je 0x11ad7234
mov esi, dword [esp + 0x3c]
inc edi
cmp edi, esi
jl 0x11ad7024
jmp 0x11ad7261
mov eax, dword [0x11b50540]
test eax, eax
je 0x11ad7256
push str.CTFollowWnd::DCToRegion_9__ERROR___GlobalReAlloc_failed_
jmp 0x11ad7242
mov eax, dword [0x11b50540]
test eax, eax
je 0x11ad7256
push str.CTFollowWnd::DCToRegion_10__ERROR___GlobalLock_failed_
jmp 0x11ad7242
mov eax, dword [0x11b50540]
test eax, eax
je 0x11ad7256
push str.CTFollowWnd::DCToRegion_8__ERROR___GlobalUnlock_failed_
jmp 0x11ad7242
mov eax, dword [0x11b50540]
test eax, eax
je 0x11ad7256
push str.CTFollowWnd::DCToRegion_11__ERROR___SetRect_failed_
jmp 0x11ad7242
mov eax, dword [0x11b50540]
test eax, eax
je 0x11ad7256
push str.CTFollowWnd::DCToRegion_12__ERROR___ExtCreateRegion_failed_
jmp 0x11ad7242
mov eax, dword [0x11b50540]
test eax, eax
je 0x11ad7256
push str.CTFollowWnd::DCToRegion_13__ERROR___CombineRgn_failed_
jmp 0x11ad7242
mov eax, dword [0x11b50540]
test eax, eax
je 0x11ad7256
push str.CTFollowWnd::DCToRegion_15__ERROR___SetRect_failed_
push 0x11b361d0
push 0xffffffffffffffff
push 0x11b4fcac
call fcn.11afff30
add esp, 0x10
mov dword [esp + 0x84], 1
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
sub esi, edx
inc eax
cmp eax, ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], eax
jl 0x11ad6ff9
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x11ad7406
mov eax, dword [esp + 0x14]
push ebp
add eax, 2
shl eax, 4
push eax
push 0
call dword [sym.imp.GDI32.dll_ExtCreateRegion]
mov esi, eax
test esi, esi
je 0x11ad73d4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x11ad72f2
push 2
push esi
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
test eax, eax
je 0x11ad73e4
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
jne 0x11ad7406
mov eax, dword [0x11b50540]
test eax, eax
je 0x11ad7406
push str.CTFollowWnd::DCToRegion_18__WARNING___DeleteObject_failed_
jmp 0x11ad73f2
mov dword [esp + 0x10], esi
jmp 0x11ad7406
mov eax, dword [0x11b50540]
test eax, eax
je 0x11ad7475
push str.CTFollowWnd::DCToRegion_1__ERROR___CreateCompatibleDC_failed_
push 0x11b361d0
push 0xffffffffffffffff
push 0x11b4fcac
call fcn.11afff30
add esp, 0x10
jmp 0x11ad7475
mov eax, dword [0x11b50540]
test eax, eax
je 0x11ad7475
push str.CTFollowWnd::DCToRegion_2__ERROR___CreateDIBSection_failed_
push 0x11b361d0
push 0xffffffffffffffff
push 0x11b4fcac
call fcn.11afff30
add esp, 0x10
jmp 0x11ad7475
mov eax, dword [0x11b50540]
test eax, eax
je 0x11ad7475
push str.CTFollowWnd::DCToRegion_3__ERROR___GetObject_Mem_failed_
push 0x11b361d0
push 0xffffffffffffffff
push 0x11b4fcac
call fcn.11afff30
add esp, 0x10
jmp 0x11ad7475
mov eax, dword [0x11b50540]
test eax, eax
je 0x11ad7475
push str.CTFollowWnd::DCToRegion_4__ERROR___BitBlt_failed_
push 0x11b361d0
push 0xffffffffffffffff
push 0x11b4fcac
call fcn.11afff30
add esp, 0x10
jmp 0x11ad7475
cmp dword [0x11b50540], esi
je 0x11ad7406
push str.CTFollowWnd::DCToRegion_5__ERROR___GlobalAlloc_failed_
jmp 0x11ad73f2
cmp dword [0x11b50540], esi
je 0x11ad7406
push str.CTFollowWnd::DCToRegion_6__ERROR___GlobalLock_failed_
jmp 0x11ad73f2
cmp dword [0x11b50540], esi
je 0x11ad7406
push str.CTFollowWnd::DCToRegion_7__ERROR___SetRect_failed_
jmp 0x11ad73f2
mov eax, dword [0x11b50540]
test eax, eax
je 0x11ad7406
push str.CTFollowWnd::DCToRegion_16__ERROR___ExtCreateRegion_failed_
jmp 0x11ad73f2
mov eax, dword [0x11b50540]
test eax, eax
je 0x11ad7406
push str.CTFollowWnd::DCToRegion_17__ERROR___CombineRgn_failed_
push 0x11b361d0
push 0xffffffffffffffff
push 0x11b4fcac
call fcn.11afff30
add esp, 0x10
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x11ad7475
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
jne 0x11ad7423
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x11ad7445
mov eax, dword [0x11b50540]
test eax, eax
je 0x11ad7445
push str.CTFollowWnd::DCToRegion_19__WARNING___GlobalUnlock_failed_
push 0x11b361d0
push 0xffffffffffffffff
push 0x11b4fcac
call fcn.11afff30
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
je 0x11ad7475
mov ecx, dword [0x11b50540]
test ecx, ecx
je 0x11ad7475
push eax
push esi
push str.CTFollowWnd::DCToRegion_20__WARNING___GlobalFree_failed____08x____08x_
push 0x11b361d0
push 0xffffffffffffffff
push 0x11b4fcac
call fcn.11afff30
add esp, 0x18
mov esi, dword [esp + 0x1c]
pop edi
test esi, esi
pop ebx
je 0x11ad751b
mov eax, dword [esp + 0x28]
test eax, eax
je 0x11ad74b9
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
jne 0x11ad74b9
mov eax, dword [0x11b50540]
test eax, eax
je 0x11ad74b9
push str.CTFollowWnd::DCToRegion_21__WARNING___SelectObject_failed_
push 0x11b361d0
push 0xffffffffffffffff
push 0x11b4fcac
call fcn.11afff30
add esp, 0x10
mov eax, dword [esp + 0x18]
test eax, eax
je 0x11ad74ee
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
jne 0x11ad74ee
mov eax, dword [0x11b50540]
test eax, eax
je 0x11ad74ee
push str.CTFollowWnd::DCToRegion_22__WARNING___DeleteObject_failed_
push 0x11b361d0
push 0xffffffffffffffff
push 0x11b4fcac
call fcn.11afff30
add esp, 0x10
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
jne 0x11ad751b
mov eax, dword [0x11b50540]
test eax, eax
je 0x11ad751b
push str.CTFollowWnd::DCToRegion_23__WARNING___DeleteDC_failed_
push 0x11b361d0
push 0xffffffffffffffff
push 0x11b4fcac
call fcn.11afff30
add esp, 0x10
mov eax, dword [0x11b50540]
pop ebp
test eax, eax
je 0x11ad754c
mov esi, dword [esp + 4]
push esi
push str.CTFollowWnd::DCToRegion____08x_
push 0x11b361d0
push 0xffffffffffffffff
push 0x11b4fcac
call fcn.11afff30
add esp, 0x14
mov eax, esi
pop esi
add esp, 0x68
ret 0x10
mov eax, dword [esp + 4]
pop esi
add esp, 0x68
ret 0x10