Function at 0x497ca0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4da2a8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push str.____________________Entrance____________________
lea eax, [esp + 0x28]
lea ebx, [esi + 4]
push eax
push ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], str.ExecRTMP_SetPageUrl
call fcn.00471a00
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x38], 0
mov eax, dword [ecx]
sub eax, 0x10
call fcn.00408230
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x3d
lea edx, [esp + 0x18]
push edx
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 1
call fcn.0048e470
push 0x3b
lea eax, [esp + 0x20]
push eax
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 2
call fcn.0048e470
lea edi, [esp + 0x14]
mov byte [esp + 0x38], 3
call fcn.004082a0
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x497d6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
cmp dword [edi - 0xc], 0
jne 0x497e0c
push str.Wrong_RTMP_PAGEURL_statement.
lea ecx, [esp + 0x28]
push ecx
push ebx
call fcn.00471980
mov byte [esp + 0x44], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x497db1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x497dd6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.______________________Exit______________________
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
mov edx, dword [esp + 0x2c]
push ecx
push edx
call fcn.00471a00
add esp, 0xc
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0xc]
call fcn.0042b600
mov eax, dword [eax]
sub eax, 0x10
call fcn.00408230
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
mov edi, dword [ebp + 8]
add edi, 0x184
lea eax, [esp + 0x20]
mov byte [esp + 0x38], 4
call fcn.004082a0
push esi
push str.RTMP_PAGEURL_s
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.004719c0
lea eax, [esi - 0x10]
add esp, 0x10
mov byte [esp + 0x38], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x497e71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x497e96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x497ebb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.______________________Exit______________________
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
mov edx, dword [esp + 0x2c]
push ecx
push edx
call fcn.00471a00
add esp, 0xc
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc