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

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