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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x681978
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x2aa4], esi
jne 0x4ddc9b
mov ebx, dword [esp + 0x8c]
lea eax, [esp + 0x20]
push 1
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
push ebx
mov ecx, edi
call fcn.004dd4c0
test eax, eax
je 0x4ddc9b
mov ecx, edi
call fcn.004f6280
mov ebp, eax
mov eax, dword [esp + 0x90]
cmp eax, esi
jne 0x4dda85
cmp ebp, esi
je 0x4dda89
push 0x49
mov ecx, edi
call fcn.004e8af0
mov ecx, ebx
mov edx, dword [ecx]
mov dword [esp + 0x44], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x48], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x4c], edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x50], ecx
mov ecx, dword [edi + 0x2aa8]
cmp ecx, esi
je 0x4dd9e1
jle 0x4dda85
cmp ecx, 2
jg 0x4dda85
cmp eax, esi
je 0x4dd9bb
mov edx, dword [esp + 0x38]
mov eax, dword [ebx + 4]
mov ecx, dword [0x756518]
sub edx, eax
xor eax, eax
cmp edx, ecx
setge al
cmp eax, esi
jne 0x4dda85
add dword [esp + 0x48], ecx
jmp 0x4dda2a
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x40]
sub eax, ecx
mov ecx, dword [0x756518]
xor edx, edx
cmp eax, ecx
setge dl
mov eax, edx
cmp eax, esi
jne 0x4dda85
sub dword [esp + 0x50], ecx
jmp 0x4dda2a
cmp eax, esi
je 0x4dda0a
mov eax, dword [esp + 0x34]
mov ecx, dword [ebx]
sub eax, ecx
mov ecx, dword [0x756518]
xor edx, edx
cmp eax, ecx
setge dl
mov eax, edx
cmp eax, esi
jne 0x4dda85
add dword [esp + 0x44], ecx
jmp 0x4dda2a
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
mov ecx, dword [0x756518]
xor edx, edx
cmp eax, ecx
setge dl
mov eax, edx
cmp eax, esi
jne 0x4dda85
sub dword [esp + 0x4c], ecx
lea eax, [esp + 0x20]
push esi
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x50]
push edx
push eax
mov ecx, edi
call fcn.004dd4c0
test eax, eax
je 0x4ddc9b
mov ecx, dword [edi + 0x2aa8]
mov eax, dword [edi + 0x28e4]
sub ecx, esi
je 0x4dda75
dec ecx
je 0x4dda6a
dec ecx
jne 0x4dda79
mov eax, dword [esp + 0x3c]
jmp 0x4dda79
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x34]
sub eax, ecx
jmp 0x4dda79
mov eax, dword [esp + 0x38]
cmp eax, esi
jle 0x4ddac9
mov dword [edi + 0x28e4], eax
jmp 0x4ddac9
cmp ebp, esi
jne 0x4ddac9
mov eax, dword [edi + 0x2aa8]
sub eax, esi
je 0x4ddaba
dec eax
je 0x4ddaa9
dec eax
jne 0x4ddac9
mov ecx, dword [0x759790]
mov edx, dword [esp + 0x3c]
add ecx, edx
mov dword [ebx], ecx
jmp 0x4ddac9
mov eax, dword [esp + 0x34]
mov ecx, dword [0x759790]
sub eax, ecx
mov dword [ebx + 8], eax
jmp 0x4ddac9
mov eax, dword [esp + 0x38]
mov ecx, dword [0x759790]
sub eax, ecx
mov dword [ebx + 0xc], eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x64], vtable.CTDCControlArray.0
lea eax, [esp + 0x64]
mov ecx, edi
push eax
mov dword [esp + 0x84], esi
call fcn.004ddcb0
push esi
push edi
lea ecx, [esp + 0x34]
call fcn.0042f890
mov ecx, edi
mov byte [esp + 0x80], 1
call fcn.004dd370
push 9
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], eax
call fcn.0042f980
push 4
lea ecx, [esp + 0x30]
mov ebx, eax
call fcn.0042f980
push 0x4b
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], eax
call fcn.0042f960
push 6
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], eax
call fcn.0042f960
mov ecx, dword [esp + 0x6c]
xor ebp, ebp
test ecx, ecx
mov dword [esp + 0x8c], ebp
jle 0x4ddc66
mov ecx, dword [esp + 0x14]
add eax, ecx
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x90], eax
jmp 0x4ddb79
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x68]
test eax, eax
lea ecx, [eax + edx]
mov dword [esp + 0x1c], ecx
je 0x4ddba8
mov eax, dword [esp + 0x8c]
cdq
idiv dword [esp + 0x10]
test edx, edx
jne 0x4ddba8
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
add edx, ebx
xor esi, esi
add edx, ecx
add ebp, edx
mov eax, dword [esp + 0x14]
lea edx, [ebx + ebp]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x54]
lea ecx, [esi + eax]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x34]
push eax
push ecx
push edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], ebp
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x54]
push 1
push eax
mov edx, dword [ecx + 4]
mov ecx, edi
push edx
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov ecx, dword [esp + 0x90]
push eax
call fcn.004422e0
push ebx
lea eax, [esp + 0x58]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
add ecx, edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x54]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
mov ecx, edi
call fcn.004ddec0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x6c]
add esi, edx
mov edx, dword [esp + 0x90]
inc eax
add edx, 0xc
cmp eax, ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edx
jl 0x4ddb72
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 0
call fcn.0042f8e0
mov dword [esp + 0x64], vtable.CArray_struct_CTRLITEM__struct_CTRLITEM__.0
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], 2
test eax, eax
je 0x4ddc9b
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 0xc