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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff3c
mov ebp, edx
mov ebx, eax
mov eax, ebx
call fcn.004dcf6c
mov esi, dword [ebx + 0x334]
mov edi, dword [ebx + 0x330]
lea eax, [ebx + 0x320]
call fcn.00526700
sub eax, dword [ebx + 0x338]
mov dword [esp], eax
lea eax, [ebx + 0x320]
call fcn.0052671c
sub eax, dword [ebx + 0x33c]
mov dword [esp + 4], eax
lea edx, [esp + 0x74]
mov eax, ebx
call fcn.004421c0
mov eax, dword [esp + 0x80]
add eax, dword [esp + 4]
push eax
lea eax, [esp + 0x88]
push eax
mov ecx, dword [esp + 0x84]
add ecx, dword [esp + 8]
mov edx, dword [esp + 0x80]
sub edx, esi
mov eax, dword [esp + 0x7c]
sub eax, edi
call fcn.00419a48
lea eax, [esp + 0x84]
call fcn.00526700
mov esi, eax
lea eax, [ebx + 0x320]
call fcn.00526700
sub esi, eax
lea eax, [esp + 0x84]
call fcn.0052671c
mov edi, eax
lea eax, [ebx + 0x320]
call fcn.0052671c
sub edi, eax
mov eax, dword [ebx + 0x390]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x394]
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x30]
mov eax, dword [ebx + 0x398]
add eax, esi
mov edx, dword [ebx + 0x39c]
call fcn.00419a20
lea ecx, [esp + 0x38]
mov edx, dword [ebx + 0x3a4]
add edx, edi
mov eax, dword [ebx + 0x3a0]
call fcn.00419a20
lea ecx, [esp + 0x40]
mov edx, dword [ebx + 0x3ac]
add edx, edi
mov eax, dword [ebx + 0x3a8]
add eax, esi
call fcn.00419a20
add edi, dword [ebx + 0x33c]
push edi
lea eax, [esp + 0x68]
push eax
mov ecx, dword [ebx + 0x338]
add ecx, esi
mov edx, dword [ebx + 0x334]
mov eax, dword [ebx + 0x330]
call fcn.00419a48
mov esi, dword [ebx + 0x3d8]
cmp esi, 0xffffffff
je 0x4dd972
mov eax, dword [ebx + 0x2c8]
mov eax, dword [eax + 0xb0]
mov edx, esi
call fcn.0041b2e8
mov dword [esp + 0x48], eax
cmp byte [ebx + 0x3e8], 0
je 0x4dd8d6
cmp dword [ebx + 0x48], 0
jle 0x4dd8d6
cmp dword [ebx + 0x4c], 0
jle 0x4dd8d6
mov al, byte [ebx + 0x3ed]
sub al, 1
jb 0x4dd73e
je 0x4dd81f
dec al
je 0x4dd76d
jmp 0x4ddec7
mov eax, dword [ebx + 0x4c]
push eax
lea eax, [esp + 0xa8]
push eax
mov ecx, dword [ebx + 0x48]
xor edx, edx
xor eax, eax
call fcn.00419a48
lea edx, [esp + 0xa4]
mov ecx, dword [esp + 0x48]
mov eax, ebp
call fcn.00429354
jmp 0x4ddec7
mov dl, 1
mov eax, dword [0x4272e8]
call fcn.0042de00
mov esi, eax
mov edx, dword [ebx + 0x48]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [esp + 0x48]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [esp + 0xa8]
push eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00419a48
lea eax, [esp + 0xa4]
push eax
mov eax, esi
call fcn.0042e3c8
mov ecx, dword [esp + 0x4c]
pop edx
call fcn.00429354
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x4c]
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x4dd813
inc eax
mov dword [esp + 0x60], eax
xor edi, edi
push esi
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
mov ecx, eax
imul ecx, edi
xor edx, edx
mov eax, ebp
call fcn.00429018
inc edi
dec dword [esp + 0x60]
jne 0x4dd7f6
mov eax, esi
call fcn.00403b2c
jmp 0x4ddec7
mov dl, 1
mov eax, dword [0x4272e8]
call fcn.0042de00
mov esi, eax
mov eax, dword [esp + 0x48]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebx + 0x4c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [esp + 0xa8]
push eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00419a48
lea eax, [esp + 0xa4]
push eax
mov eax, esi
call fcn.0042e3c8
mov ecx, dword [esp + 0x4c]
pop edx
call fcn.00429354
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [ebx + 0x48]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
test edi, edi
jl 0x4dd8ca
inc edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x10], 0
push esi
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
imul edx, dword [esp + 0x14]
xor ecx, ecx
mov eax, ebp
call fcn.00429018
inc dword [esp + 0x10]
dec dword [esp + 0x60]
jne 0x4dd8a8
mov eax, esi
call fcn.00403b2c
jmp 0x4ddec7
cmp dword [ebx + 0x48], 0
jle 0x4ddec7
cmp dword [ebx + 0x4c], 0
jle 0x4ddec7
mov eax, dword [esp + 0x48]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [ebx + 0x48]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [esp + 0x48]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x4c]
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x4ddec7
inc edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x14]
test esi, esi
jl 0x4dd963
inc esi
xor edi, edi
mov eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x20]
imul edi
push eax
mov eax, dword [esp + 0x50]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
imul edx, dword [esp + 0x18]
mov eax, ebp
pop ecx
call fcn.00429018
inc edi
dec esi
jne 0x4dd936
inc dword [esp + 0x10]
dec dword [esp + 0x60]
jne 0x4dd92b
jmp 0x4ddec7
lea eax, [ebx + 0x330]
call fcn.00526700
mov dword [esp + 0x18], eax
lea eax, [ebx + 0x330]
call fcn.0052671c
mov dword [esp + 0x1c], eax
mov ecx, dword [ebx + 0x48]
mov esi, dword [ebx + 0x4c]
mov eax, ecx
cdq
idiv dword [esp + 0x18]
mov edi, eax
mov eax, esi
cdq
idiv dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dl, 1
mov eax, dword [0x4272e8]
call fcn.0042de00
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx + 0x324]
add eax, dword [ebx + 0x33c]
push eax
lea eax, [esp + 0xa8]
push eax
mov esi, dword [ebx + 0x320]
mov ecx, esi
add ecx, dword [ebx + 0x338]
mov edx, dword [ebx + 0x324]
add edx, dword [ebx + 0x334]
mov eax, esi
add eax, dword [ebx + 0x330]
call fcn.00419a48
lea eax, [esp + 0xa4]
push eax
mov eax, dword [esp + 0x20]
push eax
lea eax, [esp + 0xbc]
push eax
mov ecx, dword [esp + 0x24]
xor edx, edx
xor eax, eax
call fcn.00419a48
lea eax, [esp + 0xb8]
push eax
mov eax, dword [ebx + 0x31c]
call fcn.0042e3c8
push eax
mov eax, dword [esp + 0x60]
call fcn.0042e3c8
pop ecx
pop edx
call fcn.00428f90
mov eax, ebp
call fcn.004296f0
push eax
call sub.GDI32.dll_SaveDC
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x80]
push eax
mov eax, ebp
call fcn.004296f0
push eax
call sub.GDI32.dll_IntersectClipRect
cmp byte [ebx + 0x3e8], 0
je 0x4ddc63
cmp dword [ebx + 0x48], 0
jle 0x4ddc63
cmp dword [ebx + 0x4c], 0
jle 0x4ddc63
mov al, byte [ebx + 0x3ed]
sub al, 1
jb 0x4ddace
je 0x4ddbaf
dec al
je 0x4ddafd
jmp 0x4ddca9
mov eax, dword [ebx + 0x4c]
push eax
lea eax, [esp + 0xa8]
push eax
mov ecx, dword [ebx + 0x48]
xor edx, edx
xor eax, eax
call fcn.00419a48
lea edx, [esp + 0xa4]
mov ecx, dword [esp + 0x54]
mov eax, ebp
call fcn.00429354
jmp 0x4ddca9
mov dl, 1
mov eax, dword [0x4272e8]
call fcn.0042de00
mov esi, eax
mov edx, dword [ebx + 0x48]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [esp + 0x54]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [esp + 0xa8]
push eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00419a48
lea eax, [esp + 0xa4]
push eax
mov eax, esi
call fcn.0042e3c8
mov ecx, dword [esp + 0x58]
pop edx
call fcn.00429354
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x4c]
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x4ddba3
inc eax
mov dword [esp + 0x60], eax
xor edi, edi
push esi
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
mov ecx, eax
imul ecx, edi
xor edx, edx
mov eax, ebp
call fcn.00429018
inc edi
dec dword [esp + 0x60]
jne 0x4ddb86
mov eax, esi
call fcn.00403b2c
jmp 0x4ddca9
mov dl, 1
mov eax, dword [0x4272e8]
call fcn.0042de00
mov esi, eax
mov eax, dword [esp + 0x54]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebx + 0x4c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [esp + 0xa8]
push eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00419a48
lea eax, [esp + 0xa4]
push eax
mov eax, esi
call fcn.0042e3c8
mov ecx, dword [esp + 0x58]
pop edx
call fcn.00429354
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [ebx + 0x48]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
test edi, edi
jl 0x4ddc5a
inc edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x10], 0
push esi
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
imul edx, dword [esp + 0x14]
xor ecx, ecx
mov eax, ebp
call fcn.00429018
inc dword [esp + 0x10]
dec dword [esp + 0x60]
jne 0x4ddc38
mov eax, esi
call fcn.00403b2c
jmp 0x4ddca9
test edi, edi
jl 0x4ddca9
inc edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x14]
test esi, esi
jl 0x4ddc9f
inc esi
xor edi, edi
mov eax, dword [esp + 0x54]
push eax
mov ecx, edi
imul ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
imul edx, dword [esp + 0x1c]
mov eax, ebp
call fcn.00429018
inc edi
dec esi
jne 0x4ddc7f
inc dword [esp + 0x10]
dec dword [esp + 0x60]
jne 0x4ddc74
mov eax, dword [esp + 0x5c]
push eax
mov eax, ebp
call fcn.004296f0
push eax
call sub.GDI32.dll_RestoreDC
mov eax, dword [esp + 0x54]
call fcn.00403b2c
mov dl, 1
mov eax, dword [0x4272e8]
call fcn.0042de00
mov dword [esp + 0x4c], eax
mov dl, 1
mov eax, dword [0x4272e8]
call fcn.0042de00
mov esi, eax
mov dl, 1
mov eax, dword [0x4272e8]
call fcn.0042de00
mov edi, eax
mov dl, 1
mov eax, dword [0x4272e8]
call fcn.0042de00
mov dword [esp + 0x50], eax
lea eax, [ebx + 0x3a8]
push eax
lea eax, [ebx + 0x330]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x7c]
push eax
mov eax, dword [esp + 0x68]
push eax
push esi
push edi
mov eax, dword [esp + 0x78]
push eax
mov eax, dword [ebx + 0x31c]
push eax
lea eax, [ebx + 0x320]
push eax
lea eax, [esp + 0xb8]
call fcn.00526700
push eax
lea eax, [esp + 0xbc]
call fcn.0052671c
push eax
mov al, byte [ebx + 0x3e9]
push eax
mov al, byte [ebx + 0x3ea]
push eax
mov al, byte [ebx + 0x3eb]
push eax
mov al, byte [ebx + 0x3ec]
push eax
lea ecx, [ebx + 0x3a0]
lea edx, [ebx + 0x398]
lea eax, [ebx + 0x390]
call fcn.0052bda0
mov dword [esp + 0x5c], 0xffffffff
lea edx, [esp + 0x94]
mov eax, ebx
call fcn.004db5cc
lea eax, [esp + 0x94]
call fcn.00526590
test al, al
jne 0x4dddf2
mov eax, ebp
call fcn.004296f0
push eax
call sub.GDI32.dll_SaveDC
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xa0]
push eax
mov eax, ebp
call fcn.004296f0
push eax
call sub.GDI32.dll_ExcludeClipRect
push esi
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
mov edx, ebx
mov eax, ebp
call fcn.00429018
mov eax, dword [esp + 0x4c]
push eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
mov ecx, eax
add ecx, dword [esp + 0x8c]
mov edx, ebx
mov eax, ebp
call fcn.00429018
push edi
lea eax, [esp + 0x88]
call fcn.00526700
add eax, dword [esp + 0x88]
push eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x2c]
pop edx
sub edx, eax
push edx
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
mov ecx, eax
add ecx, dword [esp + 0x90]
mov eax, ebp
pop edx
call fcn.00429018
mov eax, dword [esp + 0x50]
push eax
lea eax, [esp + 0x88]
call fcn.0052671c
add eax, dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x58]
mov edx, dword [eax]
call dword [edx + 0x20]
pop ecx
sub ecx, eax
mov edx, ebx
mov eax, ebp
call fcn.00429018
cmp dword [esp + 0x5c], 0xffffffff
je 0x4ddea7
mov eax, dword [esp + 0x5c]
push eax
mov eax, ebp
call fcn.004296f0
push eax
call sub.GDI32.dll_RestoreDC
mov eax, dword [esp + 0x4c]
call fcn.00403b2c
mov eax, esi
call fcn.00403b2c
mov eax, edi
call fcn.00403b2c
mov eax, dword [esp + 0x50]
call fcn.00403b2c
add esp, 0xc4
pop ebp
pop edi
pop esi
pop ebx
ret