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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x11c
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0
je 0x50d8a7
cmp dword [ebp - 0x1c], 1
je 0x50da76
jmp 0x50da71
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0x28]
fld qword [eax]
mov eax, dword [ebp + 0x28]
fld qword [eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
lea ebx, [eax - 0x101]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 0x28]
fld qword [eax]
mov eax, dword [ebp + 0x54]
mov edi, dword [eax]
mov dword [ebp - 0x38], edi
mov eax, dword [ebp + 0x50]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x24]
fld qword [eax]
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp + 0x20]
mov ebx, dword [eax]
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 0x5c]
mov esi, dword [eax]
mov dword [ebp - 0x48], esi
mov eax, dword [ebp + 0x38]
fld qword [eax]
mov eax, dword [ebp + 0x30]
mov edi, dword [eax]
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp + 0x44]
fld qword [eax]
mov eax, dword [ebp + 0x28]
fld qword [eax]
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp + 0x4c]
mov ebx, dword [eax]
mov dword [ebp - 0x58], ebx
mov eax, dword [ebp + 0x58]
mov esi, dword [eax]
mov dword [ebp - 0x5c], esi
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
mov dword [ebp - 0x60], edi
mov eax, dword [ebp + 0x40]
fld qword [eax]
fstp qword [ebp - 0x68]
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x28]
fld qword [eax]
fxch st(7)
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
mov eax, dword [ebp + 0x20]
mov esi, dword [eax]
mov eax, dword [ebp + 0x48]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0xa4], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0xa0], edx
fstp qword [esp + 0x98]
fxch st(5)
fstp qword [esp + 0x90]
fxch st(3)
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x8c], edx
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x88], edx
fstp qword [esp + 0x80]
fxch st(1)
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x7c], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x78], edx
fstp qword [esp + 0x70]
mov edx, dword [ebp - 0x40]
mov dword [esp + 0x6c], edx
mov edx, dword [ebp - 0x44]
mov dword [esp + 0x68], edx
mov edx, dword [ebp - 0x48]
mov dword [esp + 0x64], edx
fstp qword [esp + 0x5c]
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0x58], edx
fstp qword [esp + 0x50]
fstp qword [esp + 0x48]
mov edx, dword [ebp - 0x50]
mov dword [esp + 0x44], edx
mov edx, dword [ebp - 0x54]
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], 5
mov edx, dword [ebp - 0x58]
mov dword [esp + 0x38], edx
mov edx, dword [ebp - 0x5c]
mov dword [esp + 0x34], edx
mov edx, dword [ebp - 0x60]
mov dword [esp + 0x30], edx
fld qword [ebp - 0x68]
fstp qword [esp + 0x28]
mov edx, dword [ebp - 0x6c]
mov dword [esp + 0x24], edx
fstp qword [esp + 0x1c]
mov edx, dword [ebp - 0x70]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov ebx, dword [ebp - 0x74]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._send_bits
mov edx, dword [ebp + 0x58]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
nop
jmp 0x50d892
nop
add esp, 0x11c
pop ebx
pop esi
pop edi
pop ebp
ret