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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a7eab
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 8]
call fcn.004d2c1c
test al, al
je 0x4a7e95
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x278]
mov edx, dword [ebp - 0x10]
call fcn.004a6e48
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4a7c3d
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov si, 0xffb3
call fcn.004051e8
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 8]
call fcn.004a7ab8
xor eax, eax
push ebp
push 0x4a7c22
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x78]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7c29
mov eax, dword [ebp - 8]
call fcn.004a7ac0
ret
mov byte [ebp - 0x19], 0
mov eax, dword [ebp - 8]
test byte [eax + 0x1c], 0x10
jne 0x4a7c5a
mov eax, dword [ebp - 0x18]
call fcn.004a6b20
test al, al
je 0x4a7e95
lea eax, [ebp - 0x84]
xor ecx, ecx
mov edx, 0x64
call fcn.004048c8
call fcn.004a7010
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x2c], 0
je 0x4a7c96
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x6c]
call fcn.0045345c
mov dword [ebp - 0x74], eax
jmp 0x4a7ca4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
call fcn.0045345c
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0xd]
mov eax, dword [eax*4 + 0x59fd24]
mov edx, dword [ebp - 0x18]
movzx edx, byte [edx + 0xe]
or eax, dword [edx*4 + 0x59fd34]
mov edx, dword [ebp - 0x18]
movzx edx, byte [edx + 0xc]
or eax, dword [edx*4 + 0x59fd1c]
mov edx, dword [ebp - 0x18]
movzx edx, byte [edx + 0x18]
or eax, dword [edx*4 + 0x59fd2c]
mov dword [ebp - 0x7c], eax
call fcn.0048d7c0
cmp eax, 0x40047
jl 0x4a7d19
mov eax, dword [ebp - 8]
cmp byte [eax + 0x291], 0
je 0x4a7cfd
cmp dword [ebp - 0x10], 0
je 0x4a7d0a
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0xe], 0
jne 0x4a7d0a
xor eax, eax
jmp 0x4a7d0c
mov al, 1
and eax, 0x7f
mov eax, dword [eax*4 + 0x59fd3c]
or dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], 0x1cb
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x2d], 0
je 0x4a7d3c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28c]
mov edx, dword [eax]
call dword [edx + 0x70]
mov dword [ebp - 0x54], eax
jmp 0x4a7d4a
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax]
call dword [edx + 0x70]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x28], 0
je 0x4a7d7f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
cmp byte [eax + 0x59], 0
jne 0x4a7d71
mov eax, dword [ebp - 8]
test byte [eax + 0x1c], 0x10
je 0x4a7d7f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
call fcn.004d2870
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0xe], 0
je 0x4a7dcb
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x20], 0
jg 0x4a7dcb
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x28], 0
je 0x4a7dcb
mov eax, dword [ebp - 8]
cmp byte [eax + 0x29d], 0
je 0x4a7dbd
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x60], eax
jmp 0x4a7dd4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x60], eax
jmp 0x4a7dd4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x60], eax
call fcn.0048d7c0
cmp eax, 0x40048
jge 0x4a7de4
add dword [ebp - 0x60], 4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x80]
or eax, 0x10
or eax, 0x20
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 8]
test byte [eax + 0x1c], 0x10
je 0x4a7e14
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x28], 0
jne 0x4a7e14
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x34], 0
je 0x4a7e18
xor eax, eax
jmp 0x4a7e1a
mov al, 1
mov edx, dword [ebp - 8]
movzx edx, byte [edx + 0x29c]
or dl, al
je 0x4a7e56
test al, al
je 0x4a7e39
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0xc]
jmp 0x4a7e47
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x34]
call fcn.00406ddc
mov eax, dword [ebp - 4]
call fcn.00406e14
mov dword [ebp - 0x70], eax
or dword [ebp - 0x80], 4
lea eax, [ebp - 0x84]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004caddc
test eax, eax
setne byte [ebp - 0x11]
cmp byte [ebp - 0x19], 0
je 0x4a7e95
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax + 0x28]
mov eax, ebx
call fcn.004d2870
test eax, eax
je 0x4a7e95
mov eax, ebx
call fcn.004d2870
push eax
call sub.user32.dll_SetFocus
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7eb2
lea eax, [ebp - 4]
call fcn.00406d78
ret