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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bf6a8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6521c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x34], ebx
push 8
push str.adv_back
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004b7cd0
mov esi, dword [ebx + 0x10]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
lea ecx, [esi + 0x12c]
call fcn.0050e5b0
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [esi + 0x144]
je 0x50c87e
call fcn.0050d550
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x50c8b9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50c8af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50cae8
push edx
push ecx
call fcn.005682d5
add esp, 8
push 9
push str.adv_event
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004b7cd0
mov esi, dword [ebx + 0x10]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
push eax
lea ecx, [esi + 0x12c]
call fcn.0050e5b0
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [esi + 0x144]
je 0x50c907
call fcn.0050d550
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x50c942
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50c938
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50caed
push edx
push ecx
call fcn.005682d5
add esp, 8
mov eax, dword [ebx + 0x10]
add eax, 0x14c
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x50c959
mov eax, dword [eax]
mov byte [eax], 0
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x144]
mov ecx, dword [eax + 0x140]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
cmp ecx, edx
je 0x50ca58
lea edi, [ecx + 0x3c]
nop dword [eax]
cmp dword [edi - 0x38], 2
jne 0x50ca3e
mov dword [edi - 0x34], 0
lea eax, [edi - 0x14]
mov dword [edi - 0x30], 0
cmp dword [edi], 0x10
mov dword [edi - 4], 0
jb 0x50c9a9
mov eax, dword [eax]
mov byte [eax], 0
xorps xmm0, xmm0
mov dword [edi + 4], 0
mov dword [edi + 0x20], 0
movsd qword [edi + 0x24], xmm0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0xff
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 1
mov ebx, dword [edi + 0x78]
mov esi, dword [edi + 0x74]
cmp esi, ebx
je 0x50ca3b
nop dword [eax]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0xc0
cmp esi, ebx
jne 0x50ca20
mov esi, dword [edi + 0x74]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov dword [edi + 0x78], esi
add ecx, 0xc0
add edi, 0xc0
mov dword [ebp - 0x2c], ecx
cmp ecx, edx
jne 0x50c980
mov ebx, dword [ebp - 0x34]
push 8
push str.adv_back
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004b7cd0
mov ecx, dword [ebx + 0x10]
lea eax, [ebp - 0x28]
push eax
push 0
add ecx, 0x12c
mov dword [ebp - 4], 2
call fcn.0050f220
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x40], ecx
cmp edx, 0x10
jb 0x50caca
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50cac0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50caf2
push edx
push ecx
call fcn.005682d5
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056857d
mov esp, ebp
pop ebp
ret 4
call fcn.0058546b
call fcn.0058546b
call fcn.0058546b
int3