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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49465d
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx]
mov eax, esi
cmp eax, 0x82
jg 0x494215
je 0x49424a
sub eax, 2
je 0x49424a
sub eax, 3
je 0x49423b
sub eax, 7
je 0x494301
jmp 0x494358
sub eax, 0x128
je 0x494647
sub eax, 0xd8
je 0x4942ac
sub eax, 0x117
je 0x49433a
jmp 0x494358
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x35], 1
jmp 0x494358
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
test eax, eax
je 0x494262
cmp dword [eax + 0x14], 0xffffffff
jle 0x494262
mov eax, dword [eax + 0x14]
call fcn.004a8904
mov eax, dword [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
mov ecx, dword [ebx]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
call fcn.0049466c
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
jne 0x494294
mov eax, dword [ebp - 4]
cmp word [eax + 0x42], 0
je 0x494647
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
xor ecx, ecx
xor edx, edx
call fcn.00488d34
jmp 0x494647
mov eax, dword [0x53166c]
cmp dword [eax], 0
je 0x494358
mov eax, dword [0x53166c]
mov eax, dword [eax]
test byte [eax + 0x1c], 0x10
jne 0x494358
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
je 0x494358
mov eax, dword [0x53166c]
mov eax, dword [eax]
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
je 0x494358
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [0x53166c]
mov eax, dword [eax]
call fcn.004f4508
jmp 0x494358
mov eax, dword [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
mov ecx, esi
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
call fcn.0049466c
mov dword [ebx + 0xc], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
call fcn.004a3250
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00404a08
jmp 0x494358
mov eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 4]
push eax
push 0xf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_SendMessageA
mov dword [ebx + 0xc], eax
jmp 0x494647
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x54]
test esi, esi
je 0x49437e
mov eax, esi
call fcn.004c6774
test eax, eax
je 0x49437e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004c6774
cmp byte [eax + 0x3c], 0
jne 0x49439e
mov eax, dword [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
mov ecx, dword [ebx]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
call fcn.0049466c
mov dword [ebx + 0xc], eax
jmp 0x494647
mov eax, dword [ebx]
mov edx, dword [0x531330]
cmp eax, dword [edx]
jne case.0x4943c1.0
movzx eax, word [ebx + 6]
cmp eax, 0x3c
ja case.0x4943c1.0
mov al, byte [eax + 0x4943c8]
jmp dword [eax*4 + 0x494405]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
test eax, eax
je case.0x4943c1.0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
push edx
mov edx, dword [ebx + 8]
xor ecx, ecx
call fcn.004c5100
jmp 0x494647
cmp dword [ebx + 8], 0
jne 0x494471
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
and word [eax + 0x4e], 0xfdff
jmp 0x49447d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
or word [eax + 0x4e], 0x200
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
mov dword [edx + 0x54], eax
jmp case.0x4943c1.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004c6774
cmp eax, dword [ebx + 8]
jne case.0x4943c1.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004c745c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x35], 1
mov ecx, ebx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
mov eax, dword [eax + 0x38]
call fcn.004877fc
jmp case.0x4943c1.0
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x54]
cmp byte [esi + 0x18], 0
je case.0x4943c1.0
mov byte [esi + 0x18], 0
mov eax, esi
call fcn.004c6788
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x18], bl
test bl, bl
jne 0x494647
push 0x581
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_RedrawWindow
jmp 0x494647
mov dword [ebx + 0xc], 1
jmp 0x494647
mov eax, dword [0x531784]
mov eax, dword [eax]
mov dword [ebx + 0xc], eax
jmp 0x494647
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004c6774
cmp eax, dword [ebx + 8]
jne case.0x4943c1.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004c745c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x35], 1
xor edx, edx
call fcn.004c6cb0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x494647
push 0
push 0
push 0xf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_SendMessageA
jmp 0x494647
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
test eax, eax
je case.0x4943c1.0
movzx eax, byte [eax + 0x18]
mov dword [ebx + 0xc], eax
jmp 0x494647
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004c6774
cmp eax, dword [ebx + 8]
jne case.0x4943c1.0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 8]
jmp case.0x4943c1.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
test eax, eax
je case.0x4943c1.0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
xor ecx, ecx
call fcn.00488730
jmp case.0x4943c1.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
cmp dword [eax + 0x38], 0
je case.0x4943c1.0
mov edx, eax
mov eax, ebx
call fcn.004c6d10
jmp 0x494647
xor eax, eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
mov ecx, dword [ebx]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
call fcn.0049466c
mov esi, eax
mov dword [ebx + 0xc], esi
test esi, esi
jne 0x494647
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
xor edx, edx
call fcn.004c559c
mov dword [ebx + 0xc], eax
jmp 0x494647
mov eax, dword [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
mov ecx, dword [ebx]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
call fcn.0049466c
mov dword [ebx + 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494664
lea eax, [ebp - 8]
call fcn.00404e8c
ret