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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x23c], 0
jne 0x4ddd3b
mov eax, dword [ebx + 0x254]
test byte [eax + 0x1c], 1
jne 0x4ddd3b
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsZoomed
test eax, eax
jne 0x4dd9c8
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 2
cmp eax, 2
je 0x4dd9c8
mov edi, dword [esi + 8]
cmp dword [edi + 8], 0
jne 0x4dd766
cmp dword [edi + 0xc], 0
je 0x4dd9c8
mov edi, dword [esi + 8]
mov eax, dword [0x72497c]
cmp byte [eax], 0
je 0x4dd7b4
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22b], 0
jne 0x4dd7b4
cmp dword [ebx + 0x270], 0
jne 0x4dd7b4
mov eax, ebx
call fcn.004cce10
test al, al
je 0x4dd7b4
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4dd7b4
mov dl, 1
mov eax, ebx
call fcn.004dad48
cmp byte [ebx + 0x56], 0
je 0x4dd930
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x1a6], 0
je 0x4dd930
mov edx, esp
mov eax, dword [ebx + 0x254]
call fcn.004ccdb0
mov ebp, dword [ebx + 0x270]
test ebp, ebp
je 0x4dd8dc
mov eax, ebp
call fcn.004c9068
mov edx, dword [ebx + 0x254]
add eax, dword [edx + 0x48]
push eax
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x34]
call fcn.00519300
mov eax, dword [eax + 0xd0]
movsx eax, word [eax + 0x38]
pop edx
add edx, eax
push edx
lea eax, [edi + 8]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0xc]
call fcn.004cccf4
mov eax, dword [ebx + 0x270]
call fcn.004c9068
mov ebp, eax
mov eax, dword [ebx + 0x254]
add ebp, dword [eax + 0x4c]
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x34]
call fcn.00519300
mov eax, dword [eax + 0xd0]
movsx eax, word [eax + 0x3c]
add ebp, eax
push ebp
lea eax, [edi + 0xc]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x10]
call fcn.004cccf4
mov eax, dword [ebx + 0x270]
call fcn.004c9068
mov ebp, eax
neg ebp
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x34]
call fcn.00519300
mov eax, dword [eax + 0xd0]
movsx eax, word [eax + 0x36]
add ebp, eax
push ebp
lea eax, [edi + 8]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 4]
call fcn.004cccf4
mov eax, dword [ebx + 0x270]
call fcn.004c902c
mov ebp, eax
neg ebp
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x34]
call fcn.00519300
mov eax, dword [eax + 0xd0]
movsx eax, word [eax + 0x3a]
sub ebp, eax
push ebp
lea eax, [edi + 0xc]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 8]
call fcn.004cccf4
jmp 0x4dd930
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x48]
push eax
lea eax, [edi + 8]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0xc]
call fcn.004cccf4
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x4c]
push eax
lea eax, [edi + 0xc]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x10]
call fcn.004cccf4
push 0
lea eax, [edi + 8]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 4]
call fcn.004cccf4
push 0
lea eax, [edi + 0xc]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 8]
call fcn.004cccf4
mov eax, dword [ebx + 0x238]
test ah, 0x60
je 0x4dd9c8
push esi
lea esi, [ebx + 0xdc]
lea edi, [esp + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
and eax, 0x2000
cmp eax, 0x2000
jne 0x4dd9a2
mov edx, dword [ebx + 0x254]
mov edx, dword [edx + 0x44]
mov eax, dword [esi + 8]
cmp edx, dword [eax + 0xc]
jne 0x4dd989
mov edx, dword [ebx + 0xe0]
mov dword [eax + 0xc], edx
mov edx, dword [ebx + 0x254]
mov ecx, dword [ebx + 0xe0]
sub ecx, dword [edx + 0x44]
sub dword [eax + 0x14], ecx
jmp 0x4dd998
mov edx, dword [ebx + 0xe0]
add edx, dword [ebx + 0xe8]
mov dword [eax + 0x14], edx
and dword [ebx + 0x238], 0xffffdfff
mov eax, dword [ebx + 0x238]
and eax, 0x4000
cmp eax, 0x4000
jne 0x4dd9be
and dword [ebx + 0x238], 0xffffbfff
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4ddd49
mov eax, dword [ebx + 0x50]
call fcn.00519300
test eax, eax
je 0x4ddd3b
call fcn.004e69d4
test al, al
je 0x4ddd3b
cmp byte [ebx + 0x78], 0
je 0x4ddd3b
cmp byte [ebx + 0x22e], 0
jne 0x4ddd3b
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x18]
and edx, 0x80
cmp edx, 0x80
je 0x4dda1d
cmp dword [eax + 8], 0xffff8300
jne 0x4ddbc2
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x40], 0
je 0x4ddbc2
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4ddb78
mov eax, dword [ebx + 0x50]
call fcn.00519300
cmp byte [eax + 0xcc], 2
je 0x4ddd3b
cmp byte [ebx + 0x95], 0
je 0x4ddd3b
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4ddd3b
mov eax, dword [ebx + 0x238]
and eax, 0x200
cmp eax, 0x200
je 0x4ddd3b
mov eax, dword [ebx + 0x254]
cmp dword [eax + 0x30], 0
jne 0x4ddd3b
or dword [ebx + 0x238], 0x200
mov dl, 1
mov eax, ebx
call fcn.004c8c8c
mov edx, dword [ebx + 0x50]
mov dword [edx + 0x40], eax
mov ebp, dword [ebx + 0x270]
test ebp, ebp
je 0x4ddb5d
mov byte [ebp + 0x28], 1
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x2e0], 0
je 0x4ddae6
movzx edi, byte [eax + 0x2e1]
jmp 0x4ddaeb
mov edi, 0xff
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x270]
call fcn.004e3ddc
push eax
mov eax, dword [ebp + 0x18]
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowRgn
push 0
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.0047cd04
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x40]
mov ecx, edi
call fcn.004c7e80
push 0x65b
push 0
push 0
mov eax, dword [ebx + 0x270]
mov edi, dword [eax + 0x18]
mov eax, dword [edi + 0x44]
push eax
mov eax, dword [edi + 0x40]
push eax
push 0
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4ddd3b
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
call fcn.004c7fa4
mov dword [ebx + 0xd4], eax
jmp 0x4ddd3b
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22b], 1
je 0x4ddd3b
mov eax, dword [esi + 8]
cmp dword [eax + 8], 0xffff8300
jne 0x4ddd3b
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov dl, 1
mov eax, dword [ebx + 0x254]
call fcn.00469794
mov eax, ebx
call fcn.004c81a4
jmp 0x4ddd49
mov eax, dword [ebx + 0x270]
test eax, eax
je 0x4ddd3b
cmp dword [eax + 0x18], 0
je 0x4ddd3b
mov eax, dword [esi + 8]
cmp dword [eax + 0x10], 0
je 0x4ddd3b
mov eax, dword [esi + 8]
cmp dword [eax + 0x14], 0
je 0x4ddd3b
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x10
cmp eax, 0x10
jne 0x4ddd3b
mov eax, dword [ebx + 0x238]
and eax, 0x100
cmp eax, 0x100
je 0x4ddd3b
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 2
cmp eax, 2
je 0x4ddd3b
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 1
cmp eax, 1
je 0x4ddd3b
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x10]
cmp eax, dword [ebx + 0x20c]
jl 0x4ddc5d
mov eax, dword [edi + 0x14]
cmp eax, dword [ebx + 0x210]
jge 0x4ddd3b
cmp dword [ebx + 0x230], 0
je 0x4ddc86
mov ebp, dword [ebx + 0x230]
mov eax, dword [ebp + 0x7c]
cmp byte [eax + 0x24], 0
jne 0x4ddd3b
mov eax, dword [ebp + 0x78]
cmp byte [eax + 0x24], 0
jne 0x4ddd3b
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.0047d008
test al, al
je 0x4ddd3b
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4ddd25
or dword [ebx + 0x238], 1
push 0
mov edi, dword [esi + 8]
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
mov eax, dword [ebx + 0x270]
call fcn.004e3ddc
push eax
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebx + 0x270]
cmp dword [eax + 0x18], 0
je 0x4ddd1c
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.0047cd04
push eax
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowPos
and dword [ebx + 0x238], 0xfffffffe
jmp 0x4ddd3b
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x270]
call fcn.004e2d54
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret