Function at 0x4a1e60
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 0x4a218b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 8]
call fcn.004ce36c
test al, al
je 0x4a2175
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x278]
mov edx, dword [ebp - 0x10]
call fcn.004a1128
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4a1f1d
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov si, 0xffb3
call fcn.0040520c
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 8]
call fcn.004a1d98
xor eax, eax
push ebp
push 0x4a1f02
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 0x4a1f09
mov eax, dword [ebp - 8]
call fcn.004a1da0
ret
mov byte [ebp - 0x19], 0
mov eax, dword [ebp - 8]
test byte [eax + 0x1c], 0x10
jne 0x4a1f3a
mov eax, dword [ebp - 0x18]
call fcn.004a0e00
test al, al
je 0x4a2175
lea eax, [ebp - 0x84]
xor ecx, ecx
mov edx, 0x64
call fcn.004047b4
call fcn.004a12f0
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 0x4a1f76
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x6c]
call fcn.004546e4
mov dword [ebp - 0x74], eax
jmp 0x4a1f84
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
call fcn.004546e4
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0xd]
mov eax, dword [eax*4 + 0x5524b4]
mov edx, dword [ebp - 0x18]
movzx edx, byte [edx + 0xe]
or eax, dword [edx*4 + 0x5524c4]
mov edx, dword [ebp - 0x18]
movzx edx, byte [edx + 0xc]
or eax, dword [edx*4 + 0x5524ac]
mov edx, dword [ebp - 0x18]
movzx edx, byte [edx + 0x18]
or eax, dword [edx*4 + 0x5524bc]
mov dword [ebp - 0x7c], eax
call fcn.0048f074
cmp eax, 0x40047
jl 0x4a1ff9
mov eax, dword [ebp - 8]
cmp byte [eax + 0x291], 0
je 0x4a1fdd
cmp dword [ebp - 0x10], 0
je 0x4a1fea
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0xe], 0
jne 0x4a1fea
xor eax, eax
jmp 0x4a1fec
mov al, 1
and eax, 0x7f
mov eax, dword [eax*4 + 0x5524cc]
or dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], 0x1cb
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x2d], 0
je 0x4a201c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28c]
mov edx, dword [eax]
call dword [edx + 0x70]
mov dword [ebp - 0x54], eax
jmp 0x4a202a
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 0x4a205f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
cmp byte [eax + 0x59], 0
jne 0x4a2051
mov eax, dword [ebp - 8]
test byte [eax + 0x1c], 0x10
je 0x4a205f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
call fcn.004cdfc0
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 0x4a20ab
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x20], 0
jg 0x4a20ab
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x28], 0
je 0x4a20ab
mov eax, dword [ebp - 8]
cmp byte [eax + 0x29d], 0
je 0x4a209d
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x60], eax
jmp 0x4a20b4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x60], eax
jmp 0x4a20b4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x60], eax
call fcn.0048f074
cmp eax, 0x40048
jge 0x4a20c4
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 0x4a20f4
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x28], 0
jne 0x4a20f4
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x34], 0
je 0x4a20f8
xor eax, eax
jmp 0x4a20fa
mov al, 1
mov edx, dword [ebp - 8]
movzx edx, byte [edx + 0x29c]
or dl, al
je 0x4a2136
test al, al
je 0x4a2119
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0xc]
jmp 0x4a2127
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x34]
call fcn.00406c0c
mov eax, dword [ebp - 4]
call fcn.00406c44
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.004c6564
test eax, eax
setne byte [ebp - 0x11]
cmp byte [ebp - 0x19], 0
je 0x4a2175
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax + 0x28]
mov eax, ebx
call fcn.004cdfc0
test eax, eax
je 0x4a2175
mov eax, ebx
call fcn.004cdfc0
push eax
call sub.user32.dll_SetFocus
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2192
lea eax, [ebp - 4]
call fcn.00406ba8
ret