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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f953a
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x54d000]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push esi
push edi
mov eax, dword [0x54d000]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov edx, dword [ebx]
lea eax, [ebx + 0x6c]
push eax
call dword [edx + 0x54]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e9
push dword [ebx + 0x2c]
call esi
mov edx, dword [ebx + 0x7c]
lea ecx, [ebx + 0x7c]
push eax
call dword [edx + 0x10]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 1
push eax
push 0
push 0x1307
push dword [ebx + 0xa8]
mov dword [esp + 0x3c], 0x534060
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 1
push eax
push 1
push 0x1307
push dword [ebx + 0xa8]
mov dword [esp + 0x3c], 0x53407c
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x57c8f0
push 0x98
call fcn.004da558
add esp, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x118], 0
test eax, eax
je 0x4cedf8
push ebx
mov ecx, eax
call fcn.004ccc30
jmp 0x4cedfa
xor eax, eax
mov dword [esp + 0x118], 0xffffffff
push 0x3e9
push dword [ebx + 0x2c]
mov dword [ebx + 0xf8], eax
call esi
mov esi, dword [ebx + 0xf8]
push esi
push 0x4ccbd0
push eax
movzx eax, word [esi + 0x68]
push eax
push dword [0x58dba4]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
lea ecx, [esp + 0x1c]
mov dword [esi + 0x2c], eax
mov eax, dword [ebx + 0xf8]
push ecx
lea ecx, [ebx + 0xe4]
mov dword [esp + 0x20], eax
call fcn.00429550
push 0x57c8f0
push 0xa8
call fcn.004da558
add esp, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x118], 1
test eax, eax
je 0x4cee7e
mov ecx, eax
call fcn.004cf6b0
jmp 0x4cee80
xor eax, eax
mov dword [esp + 0x118], 0xffffffff
push 0x3e9
push dword [ebx + 0x2c]
mov dword [ebx + 0xfc], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [ebx + 0xfc]
push esi
push 0x4ccbd0
push eax
movzx eax, word [esi + 0x68]
push eax
push dword [0x58dba4]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [esi + 0x2c], eax
lea ecx, [ebx + 0xe4]
mov eax, dword [ebx + 0xfc]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
call fcn.00429550
mov ecx, dword [ebx + 0xf8]
lea edx, [esp + 0x6c]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x6c], xmm0
push edx
movdqu xmmword [esp + 0x80], xmm0
mov eax, dword [ecx]
call dword [eax + 0x54]
mov eax, dword [ebx + 0x7c]
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [ebx + 0x7c]
call dword [eax + 0x54]
lea eax, [esp + 0x7c]
push eax
push 0
push 0x1328
push dword [ebx + 0xa8]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x6c]
sub eax, dword [esp + 0x84]
xorps xmm0, xmm0
sub eax, dword [esp + 0x6c]
add eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
sub edi, dword [esp + 0x88]
sub edi, dword [esp + 0x70]
add edi, dword [esp + 0x78]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
mov dword [esp + 0x18], edi
movdqu xmmword [esp + 0x90], xmm0
call dword [eax + 0x58]
push 0x68
lea eax, [esp + 0xa0]
push 0
push eax
call fcn.004dc9b0
mov eax, dword [ebx]
add esp, 0xc
mov ecx, ebx
call dword [eax + 0x68]
mov esi, eax
mov dword [esp + 0x118], 2
push 0
push 0
mov dword [esp + 0xa4], vtable.CWindow.0
mov dword [esp + 0xa8], vtable.CWinHookList.0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
call fcn.00496010
mov dword [esp + 0xa4], eax
lea eax, [esp + 0xb0]
push eax
mov dword [esp + 0xb0], vtable.CCriticalSection.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esp + 0xc8], esi
xor eax, eax
mov word [esp + 0x100], ax
lea eax, [esp + 0x8c]
mov dword [esp + 0x118], 3
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x70]
add eax, edi
mov ebx, dword [ebx]
push 1
push eax
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x74]
add eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0xa4]
sub eax, dword [esp + 0x84]
sub eax, dword [esp + 0x9c]
sub eax, edi
mov esi, dword [esp + 0x24]
add eax, dword [esp + 0x7c]
mov ecx, esi
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0xa4]
sub eax, dword [esp + 0x84]
sub eax, dword [esp + 0x9c]
sub eax, dword [esp + 0x2c]
add eax, dword [esp + 0x7c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x9c]
push eax
call dword [ebx + 0x2c]
mov ecx, dword [esi + 0xf0]
cmp ecx, 0xffffffff
je 0x4cf0a5
mov eax, dword [esi + 0xe4]
push 0
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [esi + 0xe4]
push 5
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, esi
mov dword [esi + 0xf0], 0
call fcn.004cf170
push 0x2c
lea eax, [esp + 0x44]
mov dword [esp + 0x40], 0x30
push 0
push eax
call fcn.004dc9b0
add esp, 0xc
mov dword [esp + 0x40], 0x10
push 0x3f3
push dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x4c]
push eax
push dword [esi + 0x2c]
mov dword [esp + 0x68], 0x534098
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x3c]
push eax
push 0
push 0x404
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x9c], vtable.CWindow.0
call fcn.004cbc90
mov eax, 1
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.004d9d6a
mov esp, ebp
pop ebp
ret