Function at 0x5249a0
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 0x524ccb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 8]
call fcn.004f0400
test al, al
je 0x524cb5
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x278]
mov edx, dword [ebp - 0x10]
call fcn.00523c68
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x524a5d
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov si, 0xffb3
call fcn.00457354
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 8]
call fcn.005248d8
xor eax, eax
push ebp
push 0x524a42
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 0x524a49
mov eax, dword [ebp - 8]
call fcn.005248e0
ret
mov byte [ebp - 0x19], 0
mov eax, dword [ebp - 8]
test byte [eax + 0x1c], 0x10
jne 0x524a7a
mov eax, dword [ebp - 0x18]
call fcn.00523940
test al, al
je 0x524cb5
lea eax, [ebp - 0x84]
xor ecx, ecx
mov edx, 0x64
call fcn.004568fc
call fcn.00523e30
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 0x524ab6
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x6c]
call fcn.004a41ac
mov dword [ebp - 0x74], eax
jmp 0x524ac4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
call fcn.004a41ac
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 0xd]
mov eax, dword [eax*4 + 0x6a5058]
mov edx, dword [ebp - 0x18]
movzx edx, byte [edx + 0xe]
or eax, dword [edx*4 + 0x6a5068]
mov edx, dword [ebp - 0x18]
movzx edx, byte [edx + 0xc]
or eax, dword [edx*4 + 0x6a5050]
mov edx, dword [ebp - 0x18]
movzx edx, byte [edx + 0x18]
or eax, dword [edx*4 + 0x6a5060]
mov dword [ebp - 0x7c], eax
call fcn.0050a640
cmp eax, 0x40047
jl 0x524b39
mov eax, dword [ebp - 8]
cmp byte [eax + 0x291], 0
je 0x524b1d
cmp dword [ebp - 0x10], 0
je 0x524b2a
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0xe], 0
jne 0x524b2a
xor eax, eax
jmp 0x524b2c
mov al, 1
and eax, 0x7f
mov eax, dword [eax*4 + 0x6a5070]
or dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], 0x1cb
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x2d], 0
je 0x524b5c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28c]
mov edx, dword [eax]
call dword [edx + 0x70]
mov dword [ebp - 0x54], eax
jmp 0x524b6a
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 0x524b9f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
cmp byte [eax + 0x59], 0
jne 0x524b91
mov eax, dword [ebp - 8]
test byte [eax + 0x1c], 0x10
je 0x524b9f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
call fcn.004f0054
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 0x524beb
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x20], 0
jg 0x524beb
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x28], 0
je 0x524beb
mov eax, dword [ebp - 8]
cmp byte [eax + 0x29d], 0
je 0x524bdd
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x60], eax
jmp 0x524bf4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x60], eax
jmp 0x524bf4
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x60], eax
call fcn.0050a640
cmp eax, 0x40048
jge 0x524c04
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 0x524c34
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x28], 0
jne 0x524c34
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x34], 0
je 0x524c38
xor eax, eax
jmp 0x524c3a
mov al, 1
mov edx, dword [ebp - 8]
movzx edx, byte [edx + 0x29c]
or dl, al
je 0x524c76
test al, al
je 0x524c59
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0xc]
jmp 0x524c67
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x34]
call fcn.00458e8c
mov eax, dword [ebp - 4]
call fcn.00458ec4
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.004e85fc
test eax, eax
setne byte [ebp - 0x11]
cmp byte [ebp - 0x19], 0
je 0x524cb5
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax + 0x28]
mov eax, ebx
call fcn.004f0054
test eax, eax
je 0x524cb5
mov eax, ebx
call fcn.004f0054
push eax
call sub.USER32.DLL_SetFocus
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x524cd2
lea eax, [ebp - 4]
call fcn.00458e28
ret