Function at 0x51a29d
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 0x51a2c5
cmp dword [ebp - 0x1c], 1
je 0x51a4ae
jmp 0x51a4a9
mov eax, dword [ebp + 0x3c]
fld qword [eax]
mov eax, dword [ebp + 0x24]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x60]
mov edi, dword [eax]
mov eax, dword [ebp + 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x44]
fld qword [eax]
mov eax, dword [ebp + 0x14]
fld qword [eax]
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 0x34]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 0x50]
mov edx, dword [eax]
mov eax, dword [ebp + 0x58]
mov eax, dword [eax]
movzx eax, byte [eax + 0xbcf53c]
movzx eax, al
add eax, 0x3b8
movzx eax, word [edx + eax*4 + 0xa]
movzx esi, ax
mov dword [ebp - 0x40], esi
mov eax, dword [ebp + 0x4c]
mov edx, dword [eax]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 0x54]
mov esi, dword [eax]
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp + 0x48]
fld qword [eax]
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp + 0x44]
fld qword [eax]
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov dword [ebp - 0x58], esi
mov eax, dword [ebp + 0x50]
mov edx, dword [eax]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov dword [ebp - 0x64], esi
mov eax, dword [ebp + 0x2c]
mov edx, dword [eax]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp + 0x38]
mov esi, dword [eax]
mov dword [ebp - 0x70], esi
mov eax, dword [ebp + 0x28]
mov esi, dword [eax]
mov eax, dword [ebp + 8]
fld qword [eax]
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
fld qword [eax]
mov eax, dword [ebp + 0x24]
mov edx, dword [eax]
mov eax, dword [ebp + 0x48]
fld qword [eax]
fstp qword [ebp - 0x78]
mov eax, dword [ebp + 0x44]
fld qword [eax]
fxch st(7)
fstp qword [esp + 0xa0]
fxch st(5)
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], 3
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x90], eax
fstp qword [esp + 0x88]
fxch st(3)
fstp qword [esp + 0x80]
fxch st(1)
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x78], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x74], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x70], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 0x68], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0x64], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 0x60], eax
fstp qword [esp + 0x58]
mov eax, dword [ebp - 0x50]
mov dword [esp + 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x50], eax
fstp qword [esp + 0x48]
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
mov eax, dword [ebp - 0x68]
mov dword [esp + 0x34], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0x30], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], esi
fstp qword [esp + 0x20]
mov dword [esp + 0x1c], ecx
fstp qword [esp + 0x14]
mov dword [esp + 0x10], edx
fld qword [ebp - 0x78]
fstp qword [esp + 8]
fstp qword [esp]
call sym._send_bits
mov edx, dword [ebp + 0x5c]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
nop
jmp 0x51a2b0
nop
add esp, 0x11c
pop ebx
pop esi
pop edi
pop ebp
ret