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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b4c9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx]
mov eax, esi
cmp eax, 0x82
jg 0x4b4777
je 0x4b4810
sub eax, 2
je 0x4b4810
sub eax, 3
je 0x4b479d
sub eax, 7
je 0x4b4911
sub eax, 0x6f
je 0x4b47ac
jmp 0x4b4968
sub eax, 0x128
je 0x4b4c88
sub eax, 0xd8
je 0x4b48bc
sub eax, 0x117
je 0x4b494a
jmp 0x4b4968
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x35], 1
jmp 0x4b4968
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x54]
test esi, esi
je 0x4b4968
cmp dword [esi + 0x38], 0
je 0x4b4968
mov eax, dword [esi + 0x38]
cmp dword [eax + 0x7c], 0
je 0x4b4968
mov eax, esi
call fcn.00518764
test eax, eax
je 0x4b4968
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x54]
mov eax, esi
call fcn.00518764
mov al, byte [eax + 0x3c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00518764
mov eax, dword [eax + 0x44]
mov edx, dword [esi + 0x38]
mov edx, dword [edx + 0x7c]
pop ecx
call fcn.004ecdfc
jmp 0x4b4968
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
test eax, eax
je 0x4b4828
cmp dword [eax + 0x14], 0xffffffff
jle 0x4b4828
mov eax, dword [eax + 0x14]
call fcn.004c95f8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
jne 0x4b483b
mov eax, dword [ebp - 4]
cmp word [eax + 0x42], 0
je 0x4b489d
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.004b4cac
mov esi, eax
mov dword [ebx + 0xc], esi
test esi, esi
jne 0x4b4c88
xor eax, eax
push ebp
push 0x4b488e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
xor ecx, ecx
xor edx, edx
call fcn.004a9238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b4c88
mov eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_SendMessageA
mov dword [ebx + 0xc], eax
jmp 0x4b4c88
mov eax, dword [0x576204]
cmp dword [eax], 0
je 0x4b4968
mov eax, dword [0x576204]
mov eax, dword [eax]
test byte [eax + 0x1c], 0x10
jne 0x4b4968
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
je 0x4b4968
mov eax, dword [0x576204]
mov eax, dword [eax]
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
je 0x4b4968
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [0x576204]
mov eax, dword [eax]
call fcn.00515708
jmp 0x4b4968
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.004b4cac
mov dword [ebx + 0xc], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
call fcn.004c3740
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00404c78
jmp 0x4b4968
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 0x4b4c88
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x54]
test esi, esi
je 0x4b498e
mov eax, esi
call fcn.00518764
test eax, eax
je 0x4b498e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00518764
cmp byte [eax + 0x3c], 0
jne 0x4b49ae
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.004b4cac
mov dword [ebx + 0xc], eax
jmp 0x4b4c88
mov eax, dword [ebx]
mov edx, dword [0x575ea0]
cmp eax, dword [edx]
jne case.0x4b49d1.0
movzx eax, word [ebx + 6]
cmp eax, 0x3c
ja case.0x4b49d1.0
mov al, byte [eax + 0x4b49d8]
jmp dword [eax*4 + 0x4b4a15]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
test eax, eax
je case.0x4b49d1.0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
push edx
mov edx, dword [ebx + 8]
xor ecx, ecx
call fcn.005170f4
jmp 0x4b4c88
cmp dword [ebx + 8], 0
jne 0x4b4a85
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
and word [eax + 0x4e], 0xfdff
jmp 0x4b4a91
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.0x4b49d1.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00518764
cmp eax, dword [ebx + 8]
jne case.0x4b49d1.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00519498
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.004a7d64
jmp case.0x4b49d1.0
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x54]
cmp byte [esi + 0x18], 0
je case.0x4b49d1.0
mov byte [esi + 0x18], 0
mov eax, esi
call fcn.00518778
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x18], bl
test bl, bl
jne 0x4b4c88
push 0x581
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_RedrawWindow
jmp 0x4b4c88
mov dword [ebx + 0xc], 1
jmp 0x4b4c88
mov eax, dword [0x576340]
mov eax, dword [eax]
mov dword [ebx + 0xc], eax
jmp 0x4b4c88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00518764
cmp eax, dword [ebx + 8]
jne case.0x4b49d1.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00519498
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x35], 1
xor edx, edx
call fcn.00518d0c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b4c88
push 0
push 0
push 0xf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_SendMessageA
jmp 0x4b4c88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
test eax, eax
je case.0x4b49d1.0
movzx eax, byte [eax + 0x18]
mov dword [ebx + 0xc], eax
jmp 0x4b4c88
cmp dword [ebx + 8], 0
je case.0x4b49d1.0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x54], 0
je case.0x4b49d1.0
mov eax, dword [ebx + 8]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00518b84
jmp case.0x4b49d1.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00518764
cmp eax, dword [ebx + 8]
jne case.0x4b49d1.0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 8]
jmp case.0x4b49d1.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
test eax, eax
je case.0x4b49d1.0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
xor ecx, ecx
call fcn.004a8c04
jmp case.0x4b49d1.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
cmp dword [eax + 0x38], 0
je case.0x4b49d1.0
mov edx, eax
mov eax, ebx
call fcn.00518d6c
jmp 0x4b4c88
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.004b4cac
mov esi, eax
mov dword [ebx + 0xc], esi
test esi, esi
jne 0x4b4c88
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.00517578
mov dword [ebx + 0xc], eax
jmp 0x4b4c88
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.004b4cac
mov dword [ebx + 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4ca5
lea eax, [ebp - 8]
call fcn.004050fc
ret